Archive: ReadRegStr - what could be wrong with this code?


ReadRegStr - what could be wrong with this code?
Hello everybody!
Can anyone tell me what could be wrong with this:

Var /Global sfk_exe_name
ReadRegStr $sfk_exe_name HKLM ${ProjectKeyName} "ApplicationName_exe"

StrCmp $sfk_exe_name "" 0 exe_found
MessageBox MB_OK|MB_ICONEXCLAMATION "not found"
Quit
exe_found:


One of custemers says,that although he has non empty key ApplicationName_exe installer shows message "not found".

Value of ApplicationName_exe had been checked just before installer was running.


${ProjectKeyName} --> "${ProjectKeyName}"