I learned a few years back not to change my upgrade code, unfortunately a little too late. The good news is that I only changed it once. My current WiX source is:
<Product Id="A390115B-BF30-4481-8F46-9615FEE3C5C5" Name="MyProduct" Language="1033" Version="$(var.Version)" Manufacturer="MyCompany" UpgradeCode="9B672C80-9A35-4EA5-9A9B-7D7E3626E912"> ... <Upgrade Id="9B672C80-9A35-4EA5-9A9B-7D7E3626E912"> <UpgradeVersion Minimum="3.0.0.1" IncludeMinimum="yes" Maximum="$(var.Version)" IncludeMaximum="no" Language="1033" Property="UPGRADE_OLD_VERSION" /> <UpgradeVersion Minimum="$(var.Version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" /> </Upgrade> <Upgrade Id="A2787551-7D36-4B1B-9FC7-58C4D483114C"> <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes" Maximum="3.0.0.0" IncludeMaximum="no" Language="1033" Property="UPGRADE_ANCIENT_VERSION" /> </Upgrade> And what I'm seeing is that version 3.0.0.1 and later is being upgraded properly, but prior versions (those having UpgradeCode 9B672C80-9A35-4EA5-9A9B-7D7E3626E912) are not being uninstalled and are left on the machine. Can anybody spot what I'm doing wrong here? Thanks, -Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users