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 actions not invoked in passive mode
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
‎Oct 19, 2010
12:08 AM
Custom actions not invoked in passive mode
I've already described this in this post, but I'm now trying to do something somewhat different.
For upgrades, my MSI installer is run in passive mode. I added a custom action to run the installed application. The problem is that the custom action is keyed to the After Setup Complete Success dialog event. This is not the same as the setup completing. The EXE launch works fine from the regular installer where the Setup Complete Success dialog actually displays, but running it through msiexec with passive mode results in the custom action not being invoked. The custom actions are apparently tightly keyed to the actual dialog displays and since dialogs aren't displayed in passive mode, no custom action is called.
Is there any way to have a custom action invoked at the end of a passive installation? If not, that's a HUGE weakness and it doesn't appear that it's limited to the LE version of the product. I really need a way to launch the app from the passive install mode.
For upgrades, my MSI installer is run in passive mode. I added a custom action to run the installed application. The problem is that the custom action is keyed to the After Setup Complete Success dialog event. This is not the same as the setup completing. The EXE launch works fine from the regular installer where the Setup Complete Success dialog actually displays, but running it through msiexec with passive mode results in the custom action not being invoked. The custom actions are apparently tightly keyed to the actual dialog displays and since dialogs aren't displayed in passive mode, no custom action is called.
Is there any way to have a custom action invoked at the end of a passive installation? If not, that's a HUGE weakness and it doesn't appear that it's limited to the LE version of the product. I really need a way to launch the app from the passive install mode.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 19, 2010
09:47 AM
Hi,
Any custom action sequenced after a particular dialog will not occur if the User Interface sequence doesn’t get run due to a passive install. If the custom action has to be launched it must be sequenced in the Execute sequence (after register product, before file transfer, etc) to launch during silent or passive installs.
Thanks.
Lenwin
Any custom action sequenced after a particular dialog will not occur if the User Interface sequence doesn’t get run due to a passive install. If the custom action has to be launched it must be sequenced in the Execute sequence (after register product, before file transfer, etc) to launch during silent or passive installs.
Thanks.
Lenwin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 19, 2010
04:55 PM
After Register Product is the key. I mistook that for the user filling out the registration form, thinking that would be another dialog in the UI. I put my app launch action there and it works just fine.
Thanks a lot for the help!
Thanks a lot for the help!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)