Skip to content


Browse files Browse the repository at this point in the history
Fix uninstallation to properly remove all files if using msvc built b…

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Mar 31, 2009
1 parent 34f925e commit 5810a22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ms-windows/QGIS-Installer.nsi
Expand Up @@ -378,7 +378,7 @@ Section "Quantum GIS" SecQGIS

CreateDirectory "$SMPROGRAMS\${QGIS_BASE}"

CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\qgis.exe" ""\
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\

CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\Quantum GIS Web Site.lnk" "$INSTALL_DIR\QGIS-WebSite.url" ""\
Expand Down Expand Up @@ -514,11 +514,13 @@ Section "Uninstall"
Delete "$INSTDIR\QGIS-WebSite.url"

Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\*.csv"

Delete "$INSTDIR\icons\QGIS.ico"
Delete "$INSTDIR\icons\QGIS_Web.ico"

;remove folders
RMDir /r "$INSTDIR\bin"
RMDir /r "$INSTDIR\doc"
RMDir /r "$INSTDIR\grass"
RMDir /r "$INSTDIR\i18n"
Expand Down

0 comments on commit 5810a22

Please sign in to comment.