Skip to content
⌘ NSIS Forum Archive

IF command

2 posts

x04001#

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.
kichik#
There's an if command. Your code should up looking something like this:
!include LogicLib.nsh
# ...
${If} $LANGUAGE == ${LANG_SLOVAK}
# something
${EndIf}