Skip to content

Commit 5810a22

Browse files
author
timlinux
committed
Fix uninstallation to properly remove all files if using msvc built binaries
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10447 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 34f925e commit 5810a22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ms-windows/QGIS-Installer.nsi

+3-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Section "Quantum GIS" SecQGIS
378378

379379
CreateDirectory "$SMPROGRAMS\${QGIS_BASE}"
380380

381-
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\qgis.exe" ""\
381+
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\
382382
"$INSTALL_DIR\icons\QGIS.ico" "" SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
383383

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

516516
Delete "$INSTDIR\*.dll"
517+
Delete "$INSTDIR\*.csv"
517518

518519
Delete "$INSTDIR\icons\QGIS.ico"
519520
Delete "$INSTDIR\icons\QGIS_Web.ico"
520521

521522
;remove folders
523+
RMDir /r "$INSTDIR\bin"
522524
RMDir /r "$INSTDIR\doc"
523525
RMDir /r "$INSTDIR\grass"
524526
RMDir /r "$INSTDIR\i18n"

0 commit comments

Comments
 (0)