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:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
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:
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