Something thats really annoying me with NSIS is why there are 2 different ways of doing things?
Can you suggest a link that documents all the global variables? Such as $INSTDIR and others?
You clearly haven't understood all of how NSIS works.
${If}
and all of those things are from LogicLib, which was added to the NSIS standard library after it had been in existence for a long time. Formerly, you had to use StrCmp
, IntCmp
, or one of those jump operators. ${If} a == b
is just syntax sugar around StrCmp
with the labels all taken care of. It produces much more maintainable code.
Var foo
is the variable declaration. $foo
is accessing the variable. They are thus quite different things. You can't use $foo
without having already specified Var foo
.
I haven't a clue what you mean by this.
Does it matter?
Look in the manual. It's all there in plain sight. Try the Variables section.