Using Env Var as source directory
Hi,
I'm trying to work out how to use an environment variable
as the source directory in an NSIS script
ExpandEnvStrings $0 "HIL_DEVELOP"
SetOutputPath "$INSTDIR\test"
File "$0\test\test.exe"
This just doesn't seem to work. NSIS doesn't seem to expand
$0 (assuming that ExpandEnvStrings works).
BTW is there any documentation describing the syntax used
in the NSIS Manual? I'm having real problems trying
to understand the syntax of some NSIS Instructions
eg.
4.9.2.7 ExpandEnvStrings
user_var(output) string
Expands environment variables in "string" into user variable $x.
Usage: ExpandEnvStrings $(user_var: output) string
Firstly, we have two apparently different syntaxes!
Secondly where is $x mentioned in syntax (I presume that
the description should say user_var rather than $x)?
What the %$@#&* is output?