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
- :
- Custom action to launch an EXE
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
‎Mar 19, 2008
10:25 PM
Custom action to launch an EXE
Hi all, I'm new to installshield and could really use some help.
What I want to do is check if an application exists on a users machine, if it doesn't then launch that applications exe and install it. If possible I want this applications exe to run in the background of my install. Is this even possible?
I've been searching the forums and have found a lot of information, but nothing that will walk me through doing this. If I could please get step by step instructions, I'd really appreciate it.
Thank you for the help.
What I want to do is check if an application exists on a users machine, if it doesn't then launch that applications exe and install it. If possible I want this applications exe to run in the background of my install. Is this even possible?
I've been searching the forums and have found a lot of information, but nothing that will walk me through doing this. If I could please get step by step instructions, I'd really appreciate it.
Thank you for the help.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2008
10:34 PM
I am not certain what type of setup project you are developing but if you are using a pure InstallScript then look up LaunchAppAndWait in the help documentation.
If you are using a Basic MSI then you will want to read about Windows Installer custom actions in help.
Yes, you can launch the EXE and have it run in the background. The single caveat is that you CANNOT have two MSI packages running simultaneously. For instance if your setup is a Basic MSI or InstallScript MSI and you then call a custom action to start another setup.exe that contains an embedded MSI project then the second setup will fail. The only solution then is to create a wrapper that chains several of the setups together. Also in this case it will not be possible to run the setups Synchronously.
If you are using a Basic MSI then you will want to read about Windows Installer custom actions in help.
Yes, you can launch the EXE and have it run in the background. The single caveat is that you CANNOT have two MSI packages running simultaneously. For instance if your setup is a Basic MSI or InstallScript MSI and you then call a custom action to start another setup.exe that contains an embedded MSI project then the second setup will fail. The only solution then is to create a wrapper that chains several of the setups together. Also in this case it will not be possible to run the setups Synchronously.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2008
06:13 PM
Quite right, a lot depends on the project type; MSI supports the System Search view to locate existing software, and InstallScript has the FindAllFiles function (and an OnAppSearch event function).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2008
12:23 PM
I'm trying to create a Basic MSI project.
Are there instructions on how to create a wrapper installation to house the other installations?
Are there instructions on how to create a wrapper installation to house the other installations?
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)