PDA

View Full Version : Delete all keys in a branch


sethradio
7th January 2012, 03:12
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

Yathosho
7th January 2012, 09:49
i think the registry plug-in (http://nsis.sourceforge.net/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.

PoRtAbLe_StEaLtH
8th January 2013, 05:05
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