Archive: Reading path from registry


Reading path from registry
dear sir,

i have used ReadRegStr to get path from registry and populate in browser dialog. it is taking empty even if path exists in the registry. pls let me know the solution with example and will be greatly appreciated.

HKEY_CURRENT_USER\Software\Winman's Saral Tax\InstPath

when used ReadRegStr for above key, even if value exists it returns blank.

thanking you

regards
Devdas M. Kamath::blah:


Dear sir

i found on my self. thanks for taking time.

regards.
devdas m. kamath


can't go further
Dear sir,

i have read registry value for directory path. Pls let me know how to assign it to InstDir. if done in section it says invalid inside the section. i am new to this nsis this will be till it get used to nsis. thanks in advance.

regards
Devdas M. Kamath:cry:


InstallDirRegKey is here to make your life easy :)

http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.22


how did you do it?
I need to do the same thing but i can't figure it out on my own. How to you just check if a path exists in the registry?

I need to check if Acrobat Reader is installer and rather then checking to see if 4, 5, 6.... ect are installed I just want to see if
\software\adobe\Acrobat Reader
is present, if Acrobat Reader is not a path then it is not installed?

Any ideas?


To check for the existence of a key in the registry, try using EnumRegKey.