i wrote this code but my installer file recognize that there exists another version installed and give me error that I have to uninstall first while i need installer to do that automatically remove or upgrade
<!-- upgrade table --> <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" /> <Upgrade Id="5eb98548-2b78-429c-99c3-0b48150ced37"> <UpgradeVersion IgnoreRemoveFailure ="no" Property="OLDERVERSIONBEINGUPGRADED" Minimum="1.0.0.0" IncludeMinimum="yes" Maximum="$(var.version)" IncludeMaximum="no" OnlyDetect="no" /> <UpgradeVersion Minimum="$(var.version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWERVERSIONDETECTED" /> <!--<UpgradeVersion Property="PREVIOUSFOUND" Minimum="1.0.1.0" IncludeMinimum="yes" Maximum="$(var.version)" IncludeMaximum="no" OnlyDetect="no" />--> </Upgrade> <!--to remove previous versions before install--> <InstallExecuteSequence> <RemoveExistingProducts Before="InstallValidate" /> </InstallExecuteSequence> any help. -- Thanks, Mena S. Beshay Software Developer , Smart Valley ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users