Skip to content

Commit 13a08c9

Browse files
committed
nsis: remove desktop links
1 parent 678f98c commit 13a08c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ms-windows/QGIS-Installer.nsi

+4-3
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,10 @@ Section "Uninstall"
539539

540540
;remove the Desktop ShortCut
541541
SetShellVarContext all
542-
Delete "$DESKTOP\QGIS Desktop (${VERSION_NUMBER}).lnk"
543-
Delete "$DESKTOP\QGIS Browser (${VERSION_NUMBER}).lnk"
544-
Delete "$DESKTOP\OSGeo4W.lnk"
542+
Delete "$DESKTOP\${QGIS_BASE}\QGIS Desktop (${VERSION_NUMBER}).lnk"
543+
Delete "$DESKTOP\${QGIS_BASE}\QGIS Browser (${VERSION_NUMBER}).lnk"
544+
Delete "$DESKTOP\${QGIS_BASE}\OSGeo4W.lnk"
545+
RmDir "$DESKTOP\${QGIS_BASE}"
545546

546547
;remove the Programs Start ShortCut
547548
SetShellVarContext all

0 commit comments

Comments
 (0)