WIX. How to perform Major Upgrade with same version and different product code?

Viewed 4190

Basically I need to change this behavior:

Installing a product with the same version and upgrade code (but different product code) is allowed and treated by MSI as two products.

I need this to be threated as Major Upgrade. So installing v 1.0.1 over v 1.0.1 (old build, different ProductCode) will uninstall old one. This is because I'm not interested in changing versions unless we're going for public release.

I have:

<Product Id="*" UpgradeCode="2067109E-DCDA-4639-B4FC-B95E0A239E1A" Version="1.0.1"...
....
<MajorUpgrade AllowSameVersionUpgrades="yes" ...

What I have now is two entries under Add/Remove Programs, which is not what I want.

1 Answers
Related