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
- :
- Re: Custom action running in uninstall but shoudl not
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
‎Jun 13, 2011
11:03 AM
Custom action running in uninstall but shoudl not
Hi,
I have a custom action that reads the registry and populates a control on a dialog window. Everything works great on insall, but the custom action fires during uninstall. As far as I can tell I have everything set to not have it fire during uninstall.
Sugestions?
Nate
I have a custom action that reads the registry and populates a control on a dialog window. Everything works great on insall, but the custom action fires during uninstall. As far as I can tell I have everything set to not have it fire during uninstall.
Sugestions?
Nate
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 13, 2011
02:56 PM
Start with a verbose log during uninstallation.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2011
01:46 AM
Have you conditioned the custom action not to run on uninstall.
NOT REMOVE="ALL"
NOT REMOVE="ALL"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2011
02:22 AM
Under common properties of your custom action, you should set "Run During Patch Uninstall" properties to NO. Hope this works.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2011
05:58 PM
For the custom action, defining "Not Installed" for the Condition explicitly states that the CA is to execute only during a first-time install. That should resolve your issue...
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)