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 think you probably want to use some variation on the following
(depending on what your upgrade table looks like) to run something on
the first install only.

NOT (Installed Or OLDERVERSIONBEINGUPGRADED)



Sascha



On Thu, Apr 8, 2010 at 7:29 PM, Viv Coco <vcotirl...@hotmail.com> wrote:
> 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://www.mail-archive.com/wix-users@lists.sourceforge.net/msg31160.html
> which explains how this condition should look like, but what I didn't
> understand is why can't we use the UPGRADINGPRODUCTCODE property in
> order to detect when it's an upgrade. Can someone pls explain that or
> point to a link that contains the explanation? I mean why the condition
> I set is not correct?
>
> Thx,
> Viv
>
> ------------------------------------------------------------------------------
> Download IntelĀ® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to