With the code below, if the product code changes but version does not change at all (including the 4th element), I endup with multiple installations of the same product since product code is different in each new MSI.
If however, I change AllowSameVersionUpgrades to "yes" I am faced with compilation error below: <Product Id="*" ... UpgradeCode="$(var.upgradeCode)" Version="$(var.buildVersion)"> ... <MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="Newe version already present." AllowSameVersionUpgrades="no" IgnoreRemoveFailure="no" Schedule="afterInstallInitialize" /> ... </Product> Compilation error: Product.wxs : error LGHT1076: ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product. (1.0.110.0 1.0.110.0) I really would like to: - use the $(var.buildVersion) to pick up the version from our build environment instead of hardcoding a value (which btw gave me the same error - have the product code AutoGene'd. and still be able to have only one MSI version installed when first 3 elements of the version don't change but the product code changes. Am I doing something incorrect? Thanks, Sameer ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users