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