- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom action is getting executed at the time of uninstall
- 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
I’ve created a simple installer and added few custom action within it, however while uninstalling, the custom actions are getting called and un-installation is getting failed.
I’ve even added condition Not Installed OR Installed
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The condition that you are using will evaluate to True if its Installed or not installed so its expected that it would run during an uninstall.
Try just using "Not Installed"
This should allow the custom action to run during first time installs but prevent it running running uninstalls.
Take a look at the following Conditions sheet if you need to add anymore conditions.
https://resources.flexera.com/web/pdf/archive/IS-CHS-Common-MSI-Conditions.pdf
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The condition that you are using will evaluate to True if its Installed or not installed so its expected that it would run during an uninstall.
Try just using "Not Installed"
This should allow the custom action to run during first time installs but prevent it running running uninstalls.
Take a look at the following Conditions sheet if you need to add anymore conditions.
https://resources.flexera.com/web/pdf/archive/IS-CHS-Common-MSI-Conditions.pdf