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: How to know if the uninstallation is invoked RemoveExistingProduct?
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
Mar 24, 2010
02:58 AM
How to know if the uninstallation is invoked RemoveExistingProduct?
As the title.
If I use major upgrade, the installer willl remove the old product during an upgrade. In these case I want the user data to be kept.
When user uninstall the product manually, I want the user data to be deleted.
How can the uninstaller differentiate wher it is invoked by RemoveExistingProduct action, or by the end user?
I tried to pass a public property to the installer, but it does not pass it to the uninstaller of old version when execute RemoveExistingProduct action.
Thanks in advance.
If I use major upgrade, the installer willl remove the old product during an upgrade. In these case I want the user data to be kept.
When user uninstall the product manually, I want the user data to be deleted.
How can the uninstaller differentiate wher it is invoked by RemoveExistingProduct action, or by the end user?
I tried to pass a public property to the installer, but it does not pass it to the uninstaller of old version when execute RemoveExistingProduct action.
Thanks in advance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 24, 2010
11:42 PM
This issue is solved. The property UPGRADINGPRODUCTCODE can tell the difference between uninstallation and major upgrade.