I am migrating some things from Visual Studio 2008 to 2012. One of my projects contains a Setup Project which is no longer supported in 2012. I decided to rebuild it in WiX 3.6. I have created a WiX setup project to setup my files and another WiX bundle project to bundle my prerequisites with the setup project.
Now, I would like to have this setup project work seamlessly with previous installations if possible. For example, I have machines which installed version 1.0 on their systems using the setup.exe created by VS setup project in VS2008. Now I have compiled version 2.0 using the setup.msi created by WiX bundle project in VS2012. When the version 2.0 msi is run, I would like it to recognize that an older version of the same setup is installed and preform an update on that (or reinstall).
So my issue is that each of the bundle and the setup project contains their own UpgradeCode and Version. Which one should receive the UpgradeCode of my version 1.0 setup? When I version now and in the future, do I version one or both of these?