cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
heiner_violet
Level 7

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.
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

Perhaps consult the MSI documentation to see if UPGRADINGPRODUCTCODE will help?
0 Kudos
heiner_violet
Level 7

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.
0 Kudos
fast5000
Level 3

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.
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos