How to do major upgrades when using burn / WiX 3.6
wix, wix3.6
Solution
Increment the bundle version number and Burn will upgrade the previous version and remove it.
Problem
I have one MSI setup like this: ``` <Product Id="*" ... UpgradeCode="4207FF3B-5E0D-4311-9DFC-B41AA8DE2965" /> <MajorUpgrade DowngradeErrorMessage="Can't downgrade" /> ``` It works as expected: - Install product - Recompile (effectively generating a new Id) - Starting the new msi file brings up the change view and I can repair or uninstall the product. Good. But then comes burn. I have created the most simplistic Bundle one can thing of. I use the standard bootrapper and just add one single MsiPackage: ``` <MsiPackage SourceFile="$(var.Setup.TargetPath)" /> ``` The problem is that after each recompile I can install the product once again beside the already installed product, without changing anything! This results in duplicate ARP entries! If I don't recompile and run the bundle exe-file twice, I get the modify setup screen as expected. What can I do to have the same behaviour with burn as I had with just an MSI?