Navigation Menu

Skip to content

Commit

Permalink
nsis: remove desktop links
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 24, 2019
1 parent 678f98c commit 13a08c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ms-windows/QGIS-Installer.nsi
Expand Up @@ -539,9 +539,10 @@ Section "Uninstall"

;remove the Desktop ShortCut
SetShellVarContext all
Delete "$DESKTOP\QGIS Desktop (${VERSION_NUMBER}).lnk"
Delete "$DESKTOP\QGIS Browser (${VERSION_NUMBER}).lnk"
Delete "$DESKTOP\OSGeo4W.lnk"
Delete "$DESKTOP\${QGIS_BASE}\QGIS Desktop (${VERSION_NUMBER}).lnk"
Delete "$DESKTOP\${QGIS_BASE}\QGIS Browser (${VERSION_NUMBER}).lnk"
Delete "$DESKTOP\${QGIS_BASE}\OSGeo4W.lnk"
RmDir "$DESKTOP\${QGIS_BASE}"

;remove the Programs Start ShortCut
SetShellVarContext all
Expand Down

0 comments on commit 13a08c9

Please sign in to comment.