Reputation: 25938
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?
Upvotes: 1
Views: 5401
Reputation: 9132
The list of reserved variables is available in the documentation. Writable variables are in section 4.2.2, and constants are in 4.2.3.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.2
Upvotes: 0
Reputation: 90842
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.
Upvotes: 3