[GRASS-SVN] r41746 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 6 13:28:59 EDT 2010
Author: martinl
Date: 2010-04-06 13:28:57 -0400 (Tue, 06 Apr 2010)
New Revision: 41746
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi
Log:
simplify uninstall procedure
Modified: grass/trunk/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi 2010-04-06 14:11:52 UTC (rev 41745)
+++ grass/trunk/mswindows/GRASS-Installer.nsi 2010-04-06 17:28:57 UTC (rev 41746)
@@ -856,46 +856,9 @@
;Uninstaller Section
Section "Uninstall"
-
- ;remove files
- Delete "$INSTDIR\Uninstall-GRASS.exe"
- Delete "$INSTDIR\GPL.TXT"
- Delete "$INSTDIR\AUTHORS"
- Delete "$INSTDIR\CHANGES"
- Delete "$INSTDIR\COPYING"
- Delete "$INSTDIR\${GRASS_COMMAND}.bat"
- Delete "$INSTDIR\GRASS-WebSite.url"
- Delete "$INSTDIR\WinGRASS-README.url"
- Delete "$INSTDIR\REQUIREMENTS.html"
- Delete "$INSTDIR\README.html"
- Delete "$INSTDIR\contributors.csv"
- Delete "$INSTDIR\translators.csv"
+ ;remove files & folders
+ RMDir /r "$INSTDIR"
- ;remove folders
- RMDir /r "$INSTDIR\bin"
- RMDir /r "$INSTDIR\bwidget"
- RMDir /r "$INSTDIR\docs"
- RMDir /r "$INSTDIR\driver"
- RMDir /r "$INSTDIR\etc"
- RMDir /r "$INSTDIR\extrabin"
- RMDir /r "$INSTDIR\extralib"
- RMDir /r "$INSTDIR\fonts"
- RMDir /r "$INSTDIR\gpsbabel"
- RMDir /r "$INSTDIR\icons"
- RMDir /r "$INSTDIR\include"
- RMDir /r "$INSTDIR\lib"
- RMDir /r "$INSTDIR\locale"
- RMDir /r "$INSTDIR\msys"
- RMDir /r "$INSTDIR\proj"
- RMDir /r "$INSTDIR\Python25"
- RMDir /r "$INSTDIR\scripts"
- RMDir /r "$INSTDIR\sqlite"
- RMDir /r "$INSTDIR\tcl-tk"
- RMDir /r "$INSTDIR\tools"
-
- ;if empty, remove the install folder
- RMDir "$INSTDIR"
-
;remove the Desktop ShortCut
SetShellVarContext current
Delete "$DESKTOP\GRASS ${VERSION_NUMBER}.lnk"
More information about the grass-commit
mailing list