[Mono-list] monobasepath.bat Environment Variable Problem
Fri, 4 Jul 2003 12:57:40 -0400
we have discussed this problem before:
As you noticed, it does break a lot of things, not only XML stuff.
Looking at the installer script in CVS:
I've noticed that:
1) the registry entries get written out correctly (i.e., w/o quotes).
2) at the point when monobasepath.bat is written to, I see a potential problem:
FileWrite $0 'set MONO_CFG_DIR="$INSTDIR\etc\mono"'
$INSTDIR is already in quotes from previous assignment, and so this line make
it "double-quoted".Once the variable is expanded by the NSIS installer, it
creates an effect that we all have witnessed.
Am I on the right path here?