Hello,
Thank you for the explanation. I believe everything is clear now.
So basically, since the two applications can not be installed side-by-side, I'm assuming you want the second "variant" of the setup to upgrade the previous.
A way of achieving this would be to create a new package for the second variant of your application and have both your packages have the same
UpgradeCode.
The
UpgradeCode is a GUID representing a related set of products. A set of different versions of your application will have the same UpgradeCode. This enables newer versions of your application to search and upgrade previous versions installed on the same computer.
You can change the
"UpgradeCode" in the
"Product Details" page -->
"Product IDs" tab -->
"Upgrade Code".
In addition to this, you need to make sure the version of your second setup (second variant) is higher than the version of the older setup (first variant).
This way, when you launch the second variant setup, it will perform a search by the UpgradeCode, it will find the first variant version, will uninstall it and then will install the second variant.
Another approach would be to use the
"Upgrades" page, but from what I understand here:
We have tried to simply copy the configuration, change the Product detail name and files for the new variant, regenerate the product and upgrade code, and apply the old upgrade code as an find and remove upgrade action from version 0.0.1 to [ProductVersion].
But this does not seem to do anything (can install the new variant when the old variant is already installed).
this did not work out for you.
To be fully honest with you, I can not say for sure why this happens. In order for me to further investigate this, could you please forward me a test-case which I can follow in order to reproduce the same behavior?
Best regards,
Catalin