gugaliashashank
19th June 2007 11:58 UTC
how to read data and its value from registry
hi
I want to know how to read the data and the value fo a particular registry key in different variable
I know only the below command
ReadRegStr $2 HKCU "(Software\IPMSG)" ""
but it wont work for getting the data and value in seperate variable
Afrow UK
19th June 2007 13:07 UTC
Why have you got curved brackets around the registry path?
$2 will contain the value stored in key "" (or (default) in regedit).
Stu
demiller9
19th June 2007 14:27 UTC
I think you are asking how to read the values in a registry key? Use EnumRegValue in a loop to get the value names, and ReadRegStr or ReadRegDWORD to get the data for the values.
Don
Red Wine
19th June 2007 14:39 UTC
Also, there is a small tutorial which might help you :)
http://nsis.sourceforge.net/Reading_..._makes_it_easy