From: theAdib Date: Sun, 5 Nov 2006 00:07:37 +0000 (+0000) Subject: Bug 1519641 Win: Rearrange start menu entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=52ec2cf95a6025ac5b99775bf981954963e6b04a;p=inkscape.git Bug 1519641 Win: Rearrange start menu entries --- diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi index c971c1e5e..7634b1641 100644 --- a/packaging/win32/inkscape.nsi +++ b/packaging/win32/inkscape.nsi @@ -479,10 +479,12 @@ Section -removeInkscape Delete "$SMPROGRAMS\Inkscape\Uninstall Inkscape.lnk" Delete "$SMPROGRAMS\Inkscape\Inkscape.lnk" RMDir "$SMPROGRAMS\Inkscape" + Delete "$SMPROGRAMS\Inkscape.lnk" SetShellVarContext all Delete "$SMPROGRAMS\Inkscape\Uninstall Inkscape.lnk" Delete "$SMPROGRAMS\Inkscape\Inkscape.lnk" RMDir "$SMPROGRAMS\Inkscape" + Delete "$SMPROGRAMS\Inkscape.lnk" SectionEnd @@ -551,16 +553,14 @@ SectionEnd SectionGroup $(lng_Shortcuts) SecShortcuts -Section $(lng_Desktop) SecDesktop - SectionIn 1 2 3 +Section /o $(lng_Desktop) SecDesktop ClearErrors CreateShortCut "$DESKTOP\Inkscape.lnk" "$INSTDIR\inkscape.exe" IfErrors 0 +2 DetailPrint "Uups! Problems creating desktop shortcuts" SectionEnd -Section $(lng_Quicklaunch) SecQuicklaunch - SectionIn 1 2 3 +Section /o $(lng_Quicklaunch) SecQuicklaunch ClearErrors StrCmp $QUICKLAUNCH $TEMP +2 CreateShortCut "$QUICKLAUNCH\Inkscape.lnk" "$INSTDIR\inkscape.exe"