Uninstall Per User installs - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Zck
Posts: 1
Joined: Sat May 28, 2011 2:34 am

Uninstall Per User installs

I have searched the forums for tips on this but haven't come up with a solid workable solution.

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 :)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Uninstall Per User installs

Hello and welcome to the Advanced Installer Forums,

Here is a similar thread which debates the same issue.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”