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> -- View this message in context: http://n2.nabble.com/Wix-Installer-Upgrade-problem-tp2627135p2631714.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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