[wix-users] [EXTERNAL] - Custom action only on product uninstall

Nir Bar nir.bar at panel-sw.com
Fri Jul 7 07:37:02 PDT 2017


WIX_UPGRADE_DETECTED is only set for the newer product during upgrade.You need the condition to evaluate to false for the product being upgraded from.
Use UPGRADINGPRODUCTCODE instead:
<![CDATA[NOT UPGRADINGPRODUCTCODE AND REMOVE~="ALL"]]>




--Independent WiX Expert. Creator of-
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks







More information about the wix-users mailing list