Reputation: 593
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?
Upvotes: 2
Views: 615
Reputation: 10080
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.
Upvotes: 1