We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

gopal1210
Posts: 2
Joined: Tue Dec 23, 2014 7:11 am

Creating an MSI with the choice of EXE to be installed

Hi,

We have four EXE's which needs to be converted to a single MSI. I have found the solution to convert these exe's to a single MSI. I want help for achieving the below

1. Show all the EXE's list so that the user can choose them. Since we have four EXE we will show the user the list as A,B,C,D. Suppose he chooses A,B and D then we will install only A,B and D. Is it possible to it?


2. Clean uninstall if installation fails.if any one of the installation fails then we need to roll back the installed exe's

Thank you,
Gopal



Thank you,
Gopal
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Creating an MSI with the choice of EXE to be installed

Hi Gopal,
1. Show all the EXE's list so that the user can choose them. Since we have four EXE we will show the user the list as A,B,C,D. Suppose he chooses A,B and D then we will install only A,B and D. Is it possible to it?
Yes, this can be done through the Convert EXE(s) to MSI approach.
At the 4th step (Configure .EXE packages), when you are asked to select the .EXE package, please add all your four .EXE files.

Please note that once an .exe has been added, a new feature has been created in the Organization page.
Then, you can go in the Dialogs view and add from our predefined list of dialogs the OptionalFeatsDlg to control with the function to check or uncheck all features in the list. This way, the features will be installed accordingly.
2. Clean uninstall if installation fails.if any one of the installation fails then we need to roll back the installed exe's
Because the .EXE packages are added as Post-Install prerequisites, you cannot roll back the installed .EXEs. You can try to add them as Feature-based prerequisites and see if this works.
Also note that when installer is run in quiet mode, Feature based prerequisites are installed after main installation. When in GUI mode, Feature based prerequisites are installed before main installation.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”