[wix-users] Find if upgrade / Install inside Custom Action

Nir Bar nir.bar at panel-sw.com
Tue Mar 13 04:14:55 PDT 2018


Immediate custom actions can access all properties, including: 
Installed- if exists then you're already installed or in a minor upgrade
WIX_UPGRADE_DETECTED- if you've authored MajorUpgarde element then the property will be set during major upgrade

For deferred custom actions you'll need to pass CustomActionData to tell you if that's a fresh/upgrade.



--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework

JetBA++: WiX Native Bootstrapper User Interface Framework






More information about the wix-users mailing list