|
|
#1 |
|
Junior Member
Join Date: Jul 2006
Posts: 2
|
!if does not work
Hello,
I can not figure out, why the compile time command !if does not work in any of my scripts. I am using the MakeNSIS v2.06 on linux and can not compile even the script consisting only from the documented (http://nsis.sourceforge.net/Docs/Chapter5.html#5.4.5) example: !if 1 < 2 !echo "1 is smaller than 2!!" !else if ! 3.1 > 1.99 !error "this line should never appear" !else !error "neither should this" !endif It returns the following: Invalid command: !if Error in script "test.nsi" on line 1 -- aborting creation process Was the command removed recently from NSIS or am I doing something wrong? Thanks Andrius |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You'd find that !if came in NSIS 2.15 if you checked the NSIS changelog
![]() -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2006
Posts: 2
|
[QUOTE]Originally posted by Afrow UK
[B]You'd find that !if came in NSIS 2.15 if you checked the NSIS changelog ![]() Thanks, did not think that it changes so fast. Andrius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|