Skip to content
⌘ NSIS Forum Archive

Newbie & windows registry

4 posts

littleblackcat#

Newbie & windows registry

Hi all,
first of all: NSIS is great!!

I have a (really newbie) question: after having written something in the windows registry with NSIS (for example using

 WriteRegStr HKCU "Software\MyProgram" "InstallDir" $INSTDIR
what should I use from the program itself to read it (C++)?
I have tried various combinations of RegOpenKeyEx.... with no luck 😢


Thank you!
lbc
littleblackcat#
Hi deguix,
In the post I wrote:

what should I use from the program itself to read it (C++)?
I meant: from the program, NOT from NSIS!

Any idea?

Thank you
Luigi
Joost Verburg#