Archive: Deleting multiple keys


Deleting multiple keys
I store several user options in HKCU\Software\Myprog.

When uninstalling, I'm planning to use EnumUsersReg to delete all of these options for ALL users.

Is it possible to simply delete HKCU\Software\Myprog and everything beneath it with a single command, or do I have to have a separate deletion command for every individual key/subkey?


from chapter 4.9.2.3 of the NSIS manual:

If /ifempty is specified, the registry key will only be deleted if it has no subkeys (otherwise, the whole registry tree will be removed).