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: OnUninstall event no longer working in 2010
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
‎Jan 25, 2010
02:40 AM
OnUninstall event no longer working in 2010
We have here an InstallScript MSI project from InstallShield 12 with a significant amount of scripting in the OnUninstalled event.
I have upgraded this project to InstallShield 2010 and made no other changes to the project. The OnUninstalled event is no longer triggered in the InstallShield 2010 version.
Now i've also noticed that this event used to be under the "Miscellaneous"-section together with the OnAbort but it has now moved to a new "Advanced"-section.
Does this mean there are additional steps required for the OnUninstall to function or has this become a deprecated event in the InstallShield version I "skipped'?
I have upgraded this project to InstallShield 2010 and made no other changes to the project. The OnUninstalled event is no longer triggered in the InstallShield 2010 version.
Now i've also noticed that this event used to be under the "Miscellaneous"-section together with the OnAbort but it has now moved to a new "Advanced"-section.
Does this mean there are additional steps required for the OnUninstall to function or has this become a deprecated event in the InstallShield version I "skipped'?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2010
10:31 AM
The OnUninstall event is only called when -uninst is passed on the command line to setup.exe. There was a small behavior change made in IS 2009 that allowed OnUninstall to be called (when passing -uninst) even if the setup being launched was not installed (previously, -uninst would only cause OnUninstall to run if the setup was installed).
One other thing to note is OnUninstall is not called for InstallScript MSI projects using the MSI 4.5 embedded UI support.
One other thing to note is OnUninstall is not called for InstallScript MSI projects using the MSI 4.5 embedded UI support.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 01, 2010
09:01 PM
I'm also using an InstallScript MSI project. The OnUninstall event is called when using the shortcuts I make but it just doesn't get called in the Add/Remove Programs method. What is the workaround for this?
Also how do check if you are using the MSI 4.5 embedded UI support?
Also how do check if you are using the MSI 4.5 embedded UI support?