If you are running the same MSI that is already installed, the second run is just a repair/maintenance mode of the installed MSI. Look for the "Installed" property. On Wed, Dec 29, 2010 at 3:36 PM, Alex Ivanoff <alex.ivan...@shavlik.com>wrote:
> Wix 3.5.2403. I have the following Upgrade element: > > <?define UpgradeCode="SOME_GUID"?> > <?define RtmProductVersion="1.0.0.0"?> > <?define ProductVersion="2.0.0.0"?> > > <Upgrade Id="$(var.UpgradeCode)"> > <UpgradeVersion Minimum="$(var.ProductVersion)" > OnlyDetect="yes" > Property="NEWERVERSIONDETECTED" /> > > <UpgradeVersion Minimum="$(var.RtmProductVersion)" > IncludeMinimum="yes" > Maximum="$(var.ProductVersion)" > IncludeMaximum="no" > Property="OLDERVERSIONBEINGUPGRADED" /> > </Upgrade> > > <Condition Message="A later version of [ProductName] is already > installed"> > NOT NEWERVERSIONDETECTED > </Condition> > > When I run msi first time the product 2.0.0.0 gets installed. When I run > msi the second time no error box is present and installation succeeds. I > can see from the log file that NEWERVERSIONDETECTED is never set. What am > I doing wrong > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users