Skip to content
⌘ NSIS Forum Archive

Remove registry keys for all users used my app

4 posts

yshurik#

Remove registry keys for all users used my app

Hi

My application used by few people on one computer,
so it creates registry keys for settings under HKCU (for each user). During uninstallation process I would like to clean up those registry keys for all users that used the application.
How can I implement it with NSIS? There are operations for manipulating with HKCU, but it is related only to current user.
bholliger#
Hi!

This is what you are looking for:



Have a nice day!

Bruno
yshurik#
Thanks

But I can not get it to work from Uninstall section.
It claims about "Call must be used with function names starting with "un." in the uninstall section." Adding prefix
"un." and function renaming does not help.
kichik#
It requires a few modifications for uninstaller usage. Add "un." prefix to every function's name.