We build some installers in visual studio using the VS installer which the users installed. Some installed the application per user while others did it per machine. Due to issues/limitations with the VS installer, we are looking at alternate options. One of the things we would like to accomplish is to get the new installer to remove any of the old installations regardless if its a per user or per workstation installation. My test case is as below:
1. Login as user A and install the application that was build with the VS installer as a per user install.
2. Confirm that the application shows in Add/Remove programs and then login as user B.
3. Install the application build using AdvancedInstaller. Iam expecting the previous per user install done by user A to be uninstalled but that doesnt appear to be the case.
I have tried the following in AI without much success:
1. Using a custom action to execute a msiexec /x {productid} .
2. Using upgrade option within the installer.
3. Loading the product id into OLDPRODUCTS.
I know per user installs cannot be upgraded to per machine install but iam hoping theres a trick or two which will help. My eval expires within few days so would be great to have a workable solution
FOLLOW US
Get the latest news in Application Packaging