Archive: Remove registry keys for all users used my app


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.


Hi!

This is what you are looking for:

http://nsis.sourceforge.net/EnumUsersReg

Have a nice day!

Bruno


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.


It requires a few modifications for uninstaller usage. Add "un." prefix to every function's name.