You may want to actually change the version number too. I suspect this is where most of your issues are coming from.
*New Version (1.0.1.1) source snippet:* <Product Name='Simple' Id='E8592266-241F-4025-88B2-837DCB7D45EB' Language='1033' Version='1.0.0.0' Manufacturer='XYZ Corporation' UpgradeCode='3ADF5D1C-1AC4-4a29-BB9C-A73CA81925D5'> And you don't need to use CustomActions to prevent downgrading. That's what the <Upgrade> tag is for. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Michael [mailto:mich...@gnhsoft.com] Sent: 14 April 2009 13:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Installer Upgrade problem Thanks Alex, That fixed my problem. Alex Cater wrote: > If new version(1.0.1.1) > installed, then I try to install old version (1.0.0.0). Thats too > installing. I'm getting two instances of my product in 'Add/Remove > Programs'. What will be the cause? > > > You need to make use of the NEWPRODUCTFOUND property set by the UpgradeVersion element to prevent a downgrade. It is possible to prevent a downgrade by sequencing a CA after FindRelatedProducts in BOTH the UI and Execute sequences, thus: > > <CustomAction Id="PreventDowngrading" Error="A newer version is > already installed." /> > > <InstallUISequence> > <Custom Action="PreventDowngrading" > After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> > </InstallUISequence> > > <InstallExecuteSequence> > <Custom Action="PreventDowngrading" > After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> > </InstallExecuteSequence> > > > ---------------------------------------------------------------------- > -- > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.11.54/2056 - Release Date: > 04/13/09 05:51:00 > > ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users