Skip to content
⌘ NSIS Forum Archive

Reading path from registry

6 posts

devdas_kamath#

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:😞
devdas_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😢
Red Wine#
InstallDirRegKey is here to make your life easy 🙂

ryanMDA#
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?