Old 20th March 2010, 12:51   #1
hellik
Junior Member
 
Join Date: Mar 2010
Posts: 14
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
hellik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump