[GRASS-SVN] r49469 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 1 16:42:40 EST 2011
Author: martinl
Date: 2011-12-01 13:42:40 -0800 (Thu, 01 Dec 2011)
New Revision: 49469
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi
Log:
winGRASS standalone installer: don't remove config dir when uninstalling
Modified: grass/trunk/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi 2011-12-01 21:03:18 UTC (rev 49468)
+++ grass/trunk/mswindows/GRASS-Installer.nsi 2011-12-01 21:42:40 UTC (rev 49469)
@@ -869,11 +869,11 @@
;replace \ with / in $GIS_DATABASE
${StrReplace} "$UNIX_LIKE_GIS_DATABASE_PATH" "\" "/" "$GIS_DATABASE"
- ;create $APPDATA\grass7\rc
+ ;create $APPDATA\GRASS7\rc
SetShellVarContext current
ClearErrors
- CreateDirectory $APPDATA\grass7
- FileOpen $0 $APPDATA\grass7\rc w
+ CreateDirectory $APPDATA\GRASS7
+ FileOpen $0 $APPDATA\GRASS7\rc w
IfErrors done_create_grass7\rc
FileWrite $0 'GISDBASE: $UNIX_LIKE_GIS_DATABASE_PATH$\r$\n'
FileWrite $0 'LOCATION_NAME: demolocation$\r$\n'
@@ -999,9 +999,10 @@
SetShellVarContext all
RMDir /r "$SMPROGRAMS\${GRASS_BASE}"
- ;remove the $APPDATA\grass7 folder
- SetShellVarContext current
- RMDir /r "$APPDATA\grass7"
+ ;remove the $APPDATA\GRASS7 folder
+ ;disabled, don't remove user settings
+ ;SetShellVarContext current
+ ;RMDir /r "$APPDATA\GRASS7"
;remove the Registry Entries
DeleteRegKey HKLM "Software\${GRASS_BASE}"
More information about the grass-commit
mailing list