WiX and MSI noob here.
The install I've made is meant to be a upgrade to a previous MSI that was
not done in WiX and dark doesn't work on it.here's what I'm using to do the
upgrade:
----------------------------------------------------------------------------
-------------------------------
<Upgrade Id="{6E57CB03-C296-47D5-9ABC-F9D865215351}">
<UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes"
Maximum="$(var.ccNetLabel)" IncludeMaximum="no" RemoveFeatures="ALL"
Language="1033" Property="PREVIOUSVERSIONSINSTALLED" />
<UpgradeVersion Minimum="$(var.ccNetLabel)" IncludeMinimum="yes"
OnlyDetect="yes" Language="1033" Property="NEWERPRODUCTFOUND" />
</Upgrade>
<CustomAction Id="PreventDowngrading" Error="Newer version already
installed." />
<CustomAction Id="UIandAdvertised" Error="Something about the UI."/>
<InstallExecuteSequence>
<Custom Action="PreventDowngrading"
After="FindRelatedProducts">NEWERPRODUCTFOUND AND NOT Installed</Custom>
<RemoveExistingProducts After="InstallInitialize" />
</InstallExecuteSequence>
<InstallUISequence>
<Custom Action="UIandAdvertised" Sequence="3">ProductState=1</Custom>
</InstallUISequence>
----------------------------------------------------------------------------
-------------------------------
The upgrade Id is the same as the upgradecode in the product tag. The
product id, package id and versions are different. Not sure what I'm
missing, but, it seems to never uninstall the previous version. ANY help is
greatly appreciated.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users