WOW now that's a clean way of doing it! Beautiful. Huge thanks!

One little suggestion: consider adding how to include that as a .wxi ;)


On 5/11/2010 22:04, dB. wrote:
> If you're doing major upgrade, Installed is not sufficient.
>
> Check out this post: http://code.dblock.org/ShowPost.aspx?id=101. It tells 
> you how to define
>
> FirstInstall: when product is installed for the first time
> Upgrading: when we run upgrade for the installed product
> RemovingForUpgrade: when upgrade removes previous installation
> Uninstalling: when product is being completely unistalled
> Maintenance: configuration maintenance
>
> Hope this helps,
> dB.
>
> dB. @ dblock.org
> Moscow|Geneva|Seattle|New York
>
>
>
> -----Original Message-----
> From: glenneroo [mailto:gl...@glenneroo.org]
> Sent: Tuesday, May 11, 2010 8: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