Skip to content
⌘ NSIS Forum Archive

Uninstaller doesn't remove registry keys

1 posts

hipio#edited

Uninstaller doesn't remove registry keys

Hello all,

I'm writing a "simple" Installer & Uninstaller for my program and everything works fine, except that the uninstaller doesn't remove the registry keys that I placed in "HKEY_LOCAL_MACHINE\SOFTWARE".

The code I'm currently using (any suggestion or improvements are welcome) has been attached to this post.

Is there anyone that could help me out with this? I'm getting to a point that I want to pull my hairs out, because everything seems to be correct.

P.s. I have done quite a bit of Googling and checked out other users code as well, but to no avail.

EDIT: My issue has been resolved by @kichik on Slack. It has to do with the uninstaller accessing the wrong registry. SetRegView and stuff like that.