anarayana
Posts: 1
Joined: Thu Sep 04, 2025 8:19 am

Need to remove the registry keys on uninstall for multiple windows users

We are using Advanced Installer for packaging our Windows desktop application. One of our requirements is to loop through all user profiles on the machine and remove a specific registry key for each user.

Currently, using the Registry section in Advanced Installer, we are only able to remove the registry key for the current logged-in user. However, in our scenario, a single desktop will be used by multiple users, and each user may have different values for these settings.

Could you please advise on the best way to achieve this in Advanced Installer?
Registry setting.png
Catalin
Posts: 7794
Joined: Wed Jun 13, 2018 7:49 am

Re: Need to remove the registry keys on uninstall for multiple windows users

Hello and welcome to our forums,

We have the following article that explains how to install a file for all users:

Deliver a file to all users profile programmatically

That should be a good starting point for your scenario here, so could you please have a look over it and let me know if it helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”