Archive: IF command


IF command
Hi,

I'm new to NSIS and i wonder how to do a simple IF command.
for example i have a MUI installation and based on $LANGUAGE value, i would like to copy a particular file.

Moreover, is there a way to tell something like :

define slovak 1051

like that i will compare $LANGUAGE to slovak and not to 1051.
thanks a lot,

x04001.


There's an if command. Your code should up looking something like this:

!include LogicLib.nsh
# ...
${If} $LANGUAGE == ${LANG_SLOVAK}
# something
${EndIf}