Old 4th March 2006, 17:00   #1
zalez
Junior Member
 
Join Date: Mar 2006
Posts: 1
.Net 2.0 Detection Script error

I am trying to use the .net Script for checking for version 2.0 that I found on this site. But when I compile I get an error and from searching awhile this line shouldn't error on me.

Invalid command: ${If}


Does anyone have any ideas?

This is the full line:

${If} $0 == "not found"

Any help would be appreciated
zalez is offline   Reply With Quote
Old 4th March 2006, 17:02   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You need the LogicLib. Use the following on the top of your script:
code:
!include LogicLib.nsh

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik 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