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
- :
- Installing an executable as custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 16, 2011
09:40 AM
Installing an executable as custom action
Hi,
I am making an installshield basic msi project. I made a custom action which will launch an executable installed with the product and the custom action will launch it during uninstall.
I placed it after InstallInitialize and before InstallFinalize actions but how do i ensure that this custom action will always run before the exe file is being removed by the installshield.
Properties of custom action:
Return Processing - Synchronous
Execution Scheduling - Always execute
condition - REMOVE
I am making an installshield basic msi project. I made a custom action which will launch an executable installed with the product and the custom action will launch it during uninstall.
I placed it after InstallInitialize and before InstallFinalize actions but how do i ensure that this custom action will always run before the exe file is being removed by the installshield.
Properties of custom action:
Return Processing - Synchronous
Execution Scheduling - Always execute
condition - REMOVE
(1) Reply
Aug 16, 2011
06:50 PM
You will want to scheduled it before RemoveFiles Action. You will want to change your condition to REMOVE = "ALL" for uninstallation of the product. Otherwise, your custom action will get triggered when an installed feature is deselected for installation during maintenance mode.