Hi,
So what we do is set up one installer project, duplicate it several times, and then for each copy just changes any settings that are different and enter that required Upgrade Code and Product Code.
I'm afraid that you are taking an incorrect approach for this. Note that the "File" -> "Duplicate" option (which is now used to create template projects) is used to create a completely different project from an existing one. The duplicate project will not be related with the original one from the Windows Installer point of view.
What you need can be done like this:
- create the first installation project and make sure that in the "Upgrades" page you use the "Allow side by side installs of different product versions" option
- build the project and install it (make sure you make a backup of the project)
- when you want to install a new and updated version of your application, you open the project of the first installation and modify it with the new files and settings
- you go to the "Product Details" page and increase the version of the package
- when you are prompted about changing the Product Code you can select Yes (for side by side installations or automatic upgrades) or No (for patches)
- you build the modified project
This way the new package will have the same Upgrade Code as the original one.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging