Is it possible to switch between "Automatically upgrading older product versions" and "Allow side by side installs of different product versions" based on the value of a public property passed when the install is launched?
In order to achieve this you can select the "Allow side by side installs of different product versions" option in the "Upgrades" page of your project.
To perform a side by side install you can set the "AI_UPGRADE" property with the "No" value. If you want to perform an upgrade you can set the "AI_UPGRADE" property with the "Yes" value. This property is set automatically on the "UpgradeDlg" dialog based on the option the user selects or it can be set from the command line.
Let us know if this helped, otherwise give us more details about your scenario.
FOLLOW US
Get the latest news in Application Packaging