2
votes

Say I have an application that has been installed using a Setup.exe created by a WiX Bootstrapper project. I now have a new version of the application I wish users to upgrade to, but for various reasons, I would like to distribute this upgrade as an MSI, not a .exe.

When I tested this, I found that I ended up with 2 instances of the application showing up in Add/Remove Programs, one the version installed by the .exe and one by the .msi.

I note that both the Product element in the Setup project and the Bundle in the Bootstrapper project both have UpgradeCode attributes which differ. I did attempt to create an MSI with the same UpgradeCode as the Bundle to test, but this displayed the same behaviour as before.

Is there a way to upgrade a Setup.exe installed product with an MSI?

1
The problem with this is that a bundle is not the same as an MSI. They are not registered with Windows Installer and they don't necessarily need to appear in ARP. Is there a concrete reason why you don't just have your bundle install this one MSI? - Christopher B. Adkins
Did you finally solve this? I am stuck with the exact same problem :/ - nozzleman

1 Answers

1
votes

Create the new MSI with the same upgrade code as the MSI which you installed using your Bootstrapper. If the MSI upgrade code is same, then it will know that they are related products and do (either uninstall prev version, upgrade etc) based on what you have mentioned in your MSI.