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: CA on unstall but not during major upgrade
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
‎Dec 11, 2007
08:28 AM
CA on unstall but not during major upgrade
I have a CA with condition REMOVE="ALL" that deletes some folders when the product is uninstalled.
Now, my product needs a major upgrade. Is there a way to prevent the execution of the CA during the uninstall process of a major upgrade. I tried condition
REMOVE="ALL" And Not IS_MAJOR_UPGRADE
but this doesn't work.
Best regards, H.
Now, my product needs a major upgrade. Is there a way to prevent the execution of the CA during the uninstall process of a major upgrade. I tried condition
REMOVE="ALL" And Not IS_MAJOR_UPGRADE
but this doesn't work.
Best regards, H.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2007
07:20 PM
Perhaps consult the MSI documentation to see if UPGRADINGPRODUCTCODE will help?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2007
06:13 AM
Thank you for this hint.
As documented, the property UPGRADINGPRODUCTCODE is set if a major upgrade is performed and could be used to distinguish between the two uninstall scenarios.
H.
As documented, the property UPGRADINGPRODUCTCODE is set if a major upgrade is performed and could be used to distinguish between the two uninstall scenarios.
H.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2007
10:39 AM
You should also be able to use the "Detect Property" (by default it's ISACTIONPROP1 in IS2008 at least) that is part of the major upgrade item itself.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2007
11:03 AM
Exactly right---the action property (ISACTIONPROP1 and the like) is for the newer version to detect a major upgrade is going on, UPGRADINGPRODUCTCODE is for the older version to detect it.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)