Yes, I can see in my log where UPGRADINGPRODUCTCODE and UPGRADEFOUND are being set to the appropriate GUIDs. What I don't understand is how I can prevent my CustomAction from being executed when the old outgoing product is being uninstalled. I only want my CustomAction to execute when an uninstall is run directly, not when it is run as part of an upgrade.
Is there a set of conditions that match that scenario? Wilson, Phil-2 wrote: > > I can't tell from that which product versions are being referred to, but > during an upgrade there are two things going on - the install of the new > incoming product and the uninstall of the previous outgoing product, and: > > UPGRADINGPRODUCTCODE is set in the outgoing product when it is being > uninstalled, so hopefully that hasn't been shipped yet so you can add that > condition if needed. > > UPGRADEFOUND is set in the incoming newer product when it detects that > that a previous product exists and will be upgraded. > > > Phil Wilson > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-on-Uninstall-but-not-upgrade-tp5232029p5232349.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users