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
- :
- Executing an external install app?
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
‎Jan 12, 2009
08:48 AM
Executing an external install app?
I've got a second install application that I have a need to execute from my installer. I can't seem to find too much information on how to go about doing it, and I've got almost no experience using IS scripts.
If you need any more info, just let me know! I wasn't sure what to add past this.
Thanks a lot!!
If you need any more info, just let me know! I wasn't sure what to add past this.
Thanks a lot!!
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
07:38 AM
What project type are you using? If you're using a Basic MSI project, for example, consider creating a setup prerequisite from within InstallShield, and then add that to your Basic MSI project. You can search the help for more information.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
11:22 AM
How might this be done without using a prerequisite? I also need to install some external apps but I'd like to be able to run them outside of the setup.msi but still be packaged together in a single installer file. Sort of a delayed install. Can this be done?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
11:36 AM
Really, my problem is thus:
I've got to install a database engine along with the app that I'm installing (i made that installer simply using an IS project), and the database engine can really only effectively be installed using it's .msi, so all I really want to figure out is how to execute the .msi from within InstallShield. My experience with installshield is awfully limited, by the way.
I've got to install a database engine along with the app that I'm installing (i made that installer simply using an IS project), and the database engine can really only effectively be installed using it's .msi, so all I really want to figure out is how to execute the .msi from within InstallShield. My experience with installshield is awfully limited, by the way.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
12:31 PM
If the project is using Install Shield (IS) scripts, you can use LaunchAppAndWait. As for prerequisites for that installation, you can use IS code to look in the registry. There are several examples on how to read the registry and how to use LaunchAppAndWait in the IS help. Not to mention this forum.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
08:46 AM
Windows Installer does not allow two packages to run the Execute sequence at the same time. Period. You can nest installations, but that is not recommended by Microsoft due to many issues that arise in upgrading, uninstalling, etc.
You can write a Custom Action during the UI sequence that will run your second MSI, but if a user runs your MSI silently, the UI sequence doesn't execute and therefore your second installation won't run.
The newest version of Windows Installer supports chaining MSIs, but that can't be done on older OS's.
Your best bet is to set up the additional installs as pre-requisites, or write an external installer that will run your multiple MSIs in order. The latter can be accomplished in an InstallScript project or with any other flavor of executable you choose.
I've done this with an InstallScript project that gathers all the UI information necessary for all the installs, and then passes the appropriate info as properties on the command line for each MSI. It runs the MSIs with the /qb switch, so all the user sees are my InstallScript project dialogs and then progress bars for the individual installs.
You can write a Custom Action during the UI sequence that will run your second MSI, but if a user runs your MSI silently, the UI sequence doesn't execute and therefore your second installation won't run.
The newest version of Windows Installer supports chaining MSIs, but that can't be done on older OS's.
Your best bet is to set up the additional installs as pre-requisites, or write an external installer that will run your multiple MSIs in order. The latter can be accomplished in an InstallScript project or with any other flavor of executable you choose.
I've done this with an InstallScript project that gathers all the UI information necessary for all the installs, and then passes the appropriate info as properties on the command line for each MSI. It runs the MSIs with the /qb switch, so all the user sees are my InstallScript project dialogs and then progress bars for the individual installs.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)