devdas_kamath
5th January 2008 03:49 UTC
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:
devdas_kamath
5th January 2008 04:01 UTC
Dear sir
i found on my self. thanks for taking time.
regards.
devdas m. kamath
devdas_kamath
5th January 2008 04:14 UTC
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:
Red Wine
5th January 2008 09:32 UTC
InstallDirRegKey is here to make your life easy :)
http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.22
ryanMDA
26th March 2008 22:49 UTC
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?
mauvecloud
27th March 2008 00:22 UTC
To check for the existence of a key in the registry, try using EnumRegKey.