!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