Code

Bug 1519641 Win: Rearrange start menu entries
authortheAdib <theAdib@users.sourceforge.net>
Sun, 5 Nov 2006 00:07:37 +0000 (00:07 +0000)
committertheAdib <theAdib@users.sourceforge.net>
Sun, 5 Nov 2006 00:07:37 +0000 (00:07 +0000)
packaging/win32/inkscape.nsi

index c971c1e5e42d0c7c849ccf66b386d2920ba88ee0..7634b1641572142bba01de3f76af6124f02cdd76 100644 (file)
@@ -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"