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 on Uninstall
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
‎Nov 13, 2008
02:00 PM
Custom Action on Uninstall
Hello. I am new to InstallShield, and have what seems like a very easy question but have been unable to find an answer.
We are creating an InstallShield package, and have many Custom Actions. One of these Custom Actions is used for the uninstallation. We have set the "Install UI Sequence" property to run after a previous event which works fine when we rerun the package and choose the uninstall option.
However, this does not work when the program is removed from the add/remove programs. What sequence or actions need to be set to have this custom action run when the program is uninstalled from the add/remove programs list?
Thank you in advance.
We are creating an InstallShield package, and have many Custom Actions. One of these Custom Actions is used for the uninstallation. We have set the "Install UI Sequence" property to run after a previous event which works fine when we rerun the package and choose the uninstall option.
However, this does not work when the program is removed from the add/remove programs. What sequence or actions need to be set to have this custom action run when the program is uninstalled from the add/remove programs list?
Thank you in advance.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2008
02:05 PM
Please see the topic "Detecting First-Time Installations"; you can use REMOVE="ALL" as an action's condition in the Execute sequence to detect uninstallation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2008
04:07 PM
Thanks, that did the trick.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)