Archive: Delete all keys in a branch


Delete all keys in a branch
I was wondering if it was possible do delete all the registry keys in one branch using wildcards. I don't want to try this unless I know it works


i think the registry plug-in does all this, but in any case i'd use this with a set of test keys, or better, a virtual machine.


Originally posted by sethradio
I was wondering if it was possible do delete all the registry keys in one branch using wildcards. I don't want to try this unless I know it works
EnumRegKey.. works great.

You can see an example here:
http://nsis.sourceforge.net/Check_for_a_Registry_Key

or here:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2