Re: [WiX-users] Run the CA only on the first install (no upgrades)

2010-04-24 Thread dB .
ttle|New York -Original Message- From: Viv Coco [mailto:vcotirl...@hotmail.com] Sent: Friday, April 09, 2010 4:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Run the CA only on the first install (no upgrades) > UPGRADINGPRODUCTCODE is set when you'r

Re: [WiX-users] Run the CA only on the first install (no upgrades)

2010-04-09 Thread Viv Coco
> UPGRADINGPRODUCTCODE is set when you're being uninstalled during an upgrade, so it sounds like the wrong condition. Now I get it!!! the UPGRADINGPRODUCTCODE is NOT set when the product is installed during an upgrade, only when uninstalled during an upgrade. THX! > I think you probably want

Re: [WiX-users] Run the CA only on the first install (no upgrades)

2010-04-08 Thread Sascha Beaumont
UPGRADINGPRODUCTCODE is set when you're being uninstalled during an upgrade, so it sounds like the wrong condition. For example to force a CA to run on a full uninstall only, but not when it's being uninstalled because an upgrade is happening I use REMOVE ~= "ALL" AND NOT UPGRADINGPRODUCTCODE] I

[WiX-users] Run the CA only on the first install (no upgrades)

2010-04-08 Thread Viv Coco
Hi all, I would like to run a CA only on the first install. The CA shouldn't be run on an upgrade. The condition i used is: (NOT Installed) AND (NOT UPGRADINGPRODUCTCODE) but it's not working, as the CA is still run on upgrade also. I found the nice and detailed answer from Blair here: http://ww