Haudidrau
Posts: 3
Joined: Mon Nov 04, 2019 4:48 pm

Uninstall-Probs when changing Installation type to Per-user only

Hello,

our Installer in the past have all an "Per-machine only (fails if user is not admin)"-Installation-Type.
Now I changed to an "Per-user only"-Installation-Type - which i did successfully.....but...

How can I uninstall the old C:...\programms... Program-Folder, eg the previous Installation?

thx in advance!
Haudidrau
Posts: 3
Joined: Mon Nov 04, 2019 4:48 pm

Re: Uninstall-Probs when changing Installation type to Per-user only

... Ok
my Solution is a Custom Action - "UninstallPrevoiusVersion" with the UpgradeCode from the former Installer.
Works like a charm ;)

Thx and "Glück Auf"!

Haudidrau
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Uninstall-Probs when changing Installation type to Per-user only

Hi and welcome to our forums,

I am glad you found out the solution. :)

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Haudidrau
Posts: 3
Joined: Mon Nov 04, 2019 4:48 pm

Re: Uninstall-Probs when changing Installation type to Per-user only

Thanx a lot...

nearly solved - only thing that bothers is that the "old"-, eg. previous-Version-Shortcuts are still there and weren´t uninstalled.

So what can i do to remove or overwrite them?

Thx in Advance,

Haudi
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Uninstall-Probs when changing Installation type to Per-user only

Hi Haudi,

To do so you can try to use a File Removal Operation configured to remove your old .lnk (shortcut) files.

Hope this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”