Skip to content

Commit

Permalink
win installer: do not reset USERNAME
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42647 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
metzm committed Jun 23, 2010
1 parent a4af1e7 commit 358a275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mswindows/GRASS-Installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ Section "GRASS" SecGRASS
;If equal to "drive:\Users\UserName", the OS is Vista, and the $USERNAME variable set to $PROFILE - "drive:\Users\"
;If not, the OS is XP or previous, and the $USERNAME variable set to $PROFILE - "drive:\Documents and Settings\"

${If} $USERNAME = ""
${If} $USERNAME == ""
StrCpy $PROFILE_DRIVE "$PROFILE" 2
StrCpy $PROFILE_ROOT "$PROFILE" 5 -3
${If} $USERNAME = "Users"
Expand Down

0 comments on commit 358a275

Please sign in to comment.