http://wix.tramontana.co.hu/tutorial/upgrades-and-modularization/checking-for-oldies
Look for "SELFFOUND". I believe that page discusses how to prevent re-installing the same version. Alain -----Original Message----- From: chennam [mailto:chatrapathi.chen...@gmail.com] Sent: March 8, 2013 17:15 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Force not to Install Same version of the product. Hi, As of now I can install same version of Installer of a product twice (I mean Installer Product Version is same for both MSI packages but content of the both packages are not same). 1) Can I force the Installer not to install same version if same version is already installed on the machine and make to Prompt conditional error message asking them to uninstall already existing Instance . or 2) Is their any settings to remove already existing files completely(like upgrade) and install the new Installer of same version. Below are existing settings of the product <?define ProductVersion="5.0.0.0" ?> <Upgrade Id="3f643a18-5ef7-41e3-8bc2-5a9b2928dc94"> <UpgradeVersion Property="OLD_VERSION_FOUND" Minimum="0.0.0.0" Maximum="$(var.ProductVersion)" IncludeMinimum="yes" IncludeMaximum="no" OnlyDetect="no" IgnoreRemoveFailure="yes" MigrateFeatures="yes" Language="1033" /> <UpgradeVersion Property="NEWER_VERSION_FOUND" Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" /> </Upgrade> <Condition Message="A newer version greater than [ProductVersion] of [ProductName] is already installed. Exiting installation."> </Condition> <InstallExecuteSequence> <RemoveExistingProducts Before="InstallInitialize" /> </InstallExecuteSequence> Thanks in Advance Chatra -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Force-not-to-Install-Same-version-of-the-product-tp7584216.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users