Hi Sanjay, Do you have RemoveExistingProducts scheduled?
Alex -----Original Message----- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Monday, April 05, 2010 12:06 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] version upgrade problem Hi All, I am using following code for installer creation. This installer does not detect the existence of previous version of itself. Please help me if somebody has to share something. <Product Name='!(loc.ApplicationName) $(var.EditionName) $(var.version)' Id='*' UpgradeCode='$(var.Upgradecode)' Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='!(loc.CompanyName)'> <Package Id='*' Keywords='!(loc.PackageDesc)' Description="!(loc.PackageDesc)" InstallPrivileges="elevated" InstallScope="perMachine" Comments='!(loc.PackageComments)' Manufacturer='!(loc.CompanyName)' InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> <Media Id = '1' Cabinet = 'baton.cab' EmbedCab = 'yes'/> <Upgrade Id="$(var.Upgradecode)"> <!-- Detect any newer version of this product --> <UpgradeVersion Minimum="$(var.Version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" /> <!-- Detect and remove any older version of this product --> <UpgradeVersion Maximum="$(var.Version)" IncludeMaximum="yes" OnlyDetect="no" Language="1033" Property="OLDPRODUCTFOUND" /> </Upgrade> </Product> Regards, Sanjay Rao ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users