Old 11th January 2007, 06:36   #1
jch
Junior Member
 
Join Date: Jan 2007
Posts: 1
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.
jch is offline   Reply With Quote
Old 11th January 2007, 07:26   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
${ProjectKeyName} --> "${ProjectKeyName}"

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump