You might think that would be what you'd want, but the upgrade is "NOT
Installed" until you install it. That condition would apply to the
upgrade and not to the original version you installed. If you're other
logic was working you could probably add OR
OLDER_VERSION_BEING_UPGRADED.

You might want to look at var.UpgradeCode. Within a given family of
products that GUID should not be a variable. I'd try hard-coding it and
var.ProductVersion temporarily to see if the ICE warning goes away and
if the Property can be used to set a condition reliably. Once you get
that working then put back in your variable parameters and see if it
falls apart at all.


-----Original Message-----
From: glenneroo [mailto:gl...@glenneroo.org] 
Sent: Tuesday, May 11, 2010 5:59 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CA only on initial install

I promise I Googled this a TON and none of the solutions people posted 
have worked for me.

My problem is, the CA is running during upgrades when it should only run

on the very first installation:

<InstallExecuteSequence>
   <Custom Action="WriteConfigFiles" After="InstallFinalize">
     NOT Installed
   </Custom>
   ...
</InstallExecuteSequence>

Setup ALWAYS says: NOT Installed :(


Could it have anything to do with this? I'm getting an ICE61 warning 
here as well:

<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion
   Minimum="1.0.0" Maximum="$(var.ProductVersion)"
   IncludeMinimum="yes" IncludeMaximum="yes"
   Property="OLDER_VERSION_BEING_UPGRADED" />
</Upgrade>

Incrementing the define 'ProductVersion' between builds doesn't seem to 
help either.

------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to