Archive: Is registry search supported or do I have to rely on a plugin?


Is registry search supported or do I have to rely on a plugin?
Reading so far in the NSIS documentation I haven't been able to find functions that support finding a registry key by a value that it contains.

A search in this forum revealed that I am not the first one to face a need for something like that (i.e. search registry for a value). So, I found the following:

http://forums.winamp.com/showthread....earch+registry

forums.winamp.com/showthread.php?s=&threadid=223066&highlight=search+registry

I then found this link to download the latest & greatest version of this plugin:

http://nsis.sourceforge.net/Registry_plug-in
nsis.sourceforge.net/Registry_plug-in

However, I don't know whether this is the best solution for the problem - perhaps support is already built into NSIS and I am not aware of it?

Are there any other (better?) solutions?

Thanks,
Victor


If you want to search in a particular sub key then EnumRegValues is what you want, but otherwise for an entire search you'd need to use the Registry plug in.

Stu