Thanks everyone, I got it working now. It turns out it was a combination of two things:
As Chris suggested, I checked and didn't have an ALLUSERS setting. Since my previous installers defaulted to "Everyone" I added <Property Id="ALLUSERS" Value="1" /> And as Neil pointed out, I needed to match the UpgradeCode but the Product ID needed to be new. Thanks! Jeff > As an aside, check if your old install and new install have the same > ALLUSERS setting. A per-machine install cannot upgrade a per-user > install. Also if you are looking at a log file, FindRelatedProducts is > going to be more interesting to look at since it's the once that looks at > all the state data and sets the Action property(s) to the ProductCode(s) > that will later be acted upon by RemoveExistingProducts. > > > Christopher Painter, Author of Deployment Engineering Blog > Have a hot tip, know a secret or read a really good thread that deserves > attention? E-Mail Me > > > > ----- Original Message ---- > From: Neil Sleightholm <n...@x2systems.com> > To: General discussion for Windows Installer XML toolset. > <wix-users@lists.sourceforge.net> > Sent: Tue, May 25, 2010 3:23:58 AM > Subject: Re: [WiX-users] Problems with getting RemoveExistingProducts to > work > >>> I've double-checked and the Product ID and Upgrade Code both match > what was used in the previous versions > > Only the UpgradeCode should match, Product ID should be new. > > Neil > > -----Original Message----- > From: s...@pacaccess.com [mailto:s...@pacaccess.com] > Sent: 25 May 2010 07:56 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Problems with getting RemoveExistingProducts to > work > > Prior to my upcoming release I used a VisualStudio deployment project to > create the installer. For my upcoming release I've built an installer > using Wix. Everything seems to be working with the exception of > installing the new version on top a previously installed version. > > When I run my new installer created with Wix, the old version still > remains installed. Within the wix script I have (amongst other things): > > <Product > Name="MyProductName" > Manufacturer="MyCompanyName" > Version="1.1.5" > Language="1033" > Id="Guid_1" > UpgradeCode="Guid_2"> > > <Upgrade Id="Guid_2"> > <UpgradeVersion > Minimum="1.0.0" > Maximum="1.1.5" > IncludeMinimum="yes" > Property="OLDERVERSIONBEINGUPGRADED" > /> > </Upgrade> > > <InstallExecuteSequence> > <RemoveExistingProducts After="InstallInitialize" /> > </InstallExecuteSequence> > > > I've double-checked and the Product ID and Upgrade Code both match what > was used in the previous versions (1.1.0 - 1.1.4). From what I've read > it > looks like this is the correct syntax and manner to use > RemoveExistingProducts, yet when I run my new installer with the old > version installed, the old version remains. > > Thanks for any help, > > Jeff > > > > ------------------------------------------------------------------------ > ------ > > _______________________________________________ > 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 > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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