![]() |
#1 |
Junior Member
Join Date: Nov 2007
Posts: 23
|
StringCompare if not empty
I use the following script to check for installation of the .NET Framework:
code: I want to loop trough my Registry is the key 'v2.0.50727' exists. Every key I compare with "v2.0.50727". When true go to 'done', when false reloop. [Line 6] If $1 is not empty, reloop. What is the right syntax for this line? And will this code work? |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
StrCmp $1 "" 0 loop
Stu |
![]() |
![]() |
![]() |
#3 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
This would be much easier with the LogicLib:code: Or even better:code: http://nsis.sourceforge.net/Get_.NET_Version NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|