This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- LaunchAppAndWait in a single executable build
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 05, 2009
09:21 AM
LaunchAppAndWait in a single executable build
I have a basic MSI installation that calls another setup.exe file(name is not setup.exe) inside an InstallScript prior to installtion of the main program executable. When I build this project as a single MSI package everything works fine in the installation on the target machine, i.e. the other setup.exe file is called and that program is installed and then the main program is installed. When I build the project as a single executable the first program to be installed(same setup.exe as msi build) does not get executed, but rather this just gets skipped and the main program is installed. Why am I getting two different behaviors from the exact same project?
NOTE: In the InstallScript I check whether or not a few programs are installed using the registry and file paths, and if these are missing then I call for another program(call the setup.exe using LaunchAppAndWait) to be installed before the main program is installed.
NOTE: In the InstallScript I check whether or not a few programs are installed using the registry and file paths, and if these are missing then I call for another program(call the setup.exe using LaunchAppAndWait) to be installed before the main program is installed.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 05, 2009
01:15 PM
It looks like you are trying to recreate the prerequisite functionality of InstallShield.
You can add custom setup prerequisites to your InstallShield package as redistributable or add them to the installer. Here is a good article about how to do it. http://shieldmaster.wordpress.com/2009/04/26/tutorial-adding-setup-prerequisites-to-installshield-package/
You can add custom setup prerequisites to your InstallShield package as redistributable or add them to the installer. Here is a good article about how to do it. http://shieldmaster.wordpress.com/2009/04/26/tutorial-adding-setup-prerequisites-to-installshield-package/
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)