Posts: 6
Joined: Wed Oct 07, 2020 5:46 am

Registry key not being removed as directed

Sun Jan 10, 2021 5:54 am

I am trying to remove some registry keys upon install, such as this one:

Code: Select all

It is not being removed. I have the "Remove this key with all of its ..." option checked in Properties for this key. Is there something else I need to do?

Note that this is a standard key that comes with a fresh Windows installation.

When I select the portion of the registry tree I want to remove and click Export Reg, below is the code that is generated. It's not removing the keys themselves like it should.

Code: Select all

Windows Registry Editor Version 5.00




... etc

Posts: 4414
Joined: Wed Jun 13, 2018 7:49 am

Re: Registry key not being removed as directed

Wed Jan 13, 2021 6:28 pm


If that is a standard registry key, I am assuming that you did proceed as it follows:

- manually create the registry key in "Registry" page

- set the "Remove this key with all of its values and subkeys" option from the "Operations" tab

If that is the case, please make sure that:

- the specified component is uninstalled (assuming that you delete this on a component uninstall)

- the condition is evaluated as true

In addition to the above, we also need to pay attention to registry redirection here.

For instance, if your setup is a 32-bit setup and the install/uninstall takes place on 64-bit machine, the setup will try to remove the registry located at:


rather than the registry located at:


Hope this helps!

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

Return to “Common Problems”