mixing username/userprofile variable by installer
hi,
I have following code in the nsis-script:
[...]
CreateDirectory $INSTALL_DIR\msys\home
CreateDirectory $INSTALL_DIR\msys\home\$USERNAME
[...]
CopyFiles $PROFILE\.grassrc6 $INSTALL_DIR\msys\home\$USERNAME
[...]
this is tested on XP, Vista, 7 and is working.
but now there is a report
(http://trac.osgeo.org/grass/ticket/961#comment:11),
that seems that variables $USERNAME and $USERPROFILE are mixed during installation:
"Copy to C:\Program Files\GRASS-64-SVN\msys\home\C:\Documents and Settings\Stoyan
Copy failed"
any hints for this? ever seen this?
best regards
Helmut