Win: Rearrange start menu entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
theAdib |
Bug Description
I strongly suggest two changes as recomended by the "Designed for Windows
XP" logo requirements (Version 2.3, section F1.1).
1. Remove the "Uninstall Inkscape" option. This ability is already
available from the canonical location of Control Panel->Add or remove
programs, and is strongly recomended against:
"Do not place shortcuts to remove the application in the Start menu. It is
not needed because your application’s uninstaller is in the Add or Remove
Programs Control Panel item."
Further to that, it's an option that will only ever be used once and having
it there is of no benefit to users.
2. If this is done, no longer create the "Inkscape" start menu folder, just
create the inkscape item, as per:
"If any additional shortcuts beyond the main executable are required to be
on the Start menu, then these should be placed in a subfolder using a
<publisher\product> hierarchy."
This (slightly) increases system usability with no penalties.
And here's a unified diff to the installer. (against the trunk)
Index: inkscape.nsi ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
--- inkscape.nsi (revision 12652)
+++ inkscape.nsi (working copy)
@@ -815,9 +815,7 @@
; start menu entries Inkscape" Inkscape\ Inkscape. lnk" inkscape. exe" Inkscape\ Uninstall Inkscape.lnk" uninst. exe" Inkscape. lnk" "$INSTDIR\ inkscape. exe"
ClearErrors
- CreateDirectory "$SMPROGRAMS\
- CreateShortCut "$SMPROGRAMS\
"$INSTDIR\
- CreateShortCut "$SMPROGRAMS\
"$INSTDIR\
+ CreateShortCut "$SMPROGRAMS\
IfErrors 0 +2
DetailPrint "fatal: failed to write to start menu info"
@@ -1153,9 +1151,7 @@ Inkscape. lnk" Inkscape. lnk" Inkscape\ Uninstall Inkscape.lnk" Inkscape\ Inkscape. lnk" Inkscape" Inkscape. lnk"
DetailPrint "removing shortcuts"
Delete "$DESKTOP\
Delete "$QUICKLAUNCH\
- Delete "$SMPROGRAMS\
- Delete "$SMPROGRAMS\
- RMDir "$SMPROGRAMS\
+ Delete "$SMPROGRAMS\
SetShellVarC ontext current Inkscape. lnk" Inkscape. lnk" Inkscape\ Uninstall Inkscape.lnk" Inkscape\ Inkscape. lnk" Inkscape" Inkscape. lnk"
DetailPrint "removing product regkey"
@@ -1165,9 +1161,7 @@
DetailPrint "removing shortcuts"
Delete "$DESKTOP\
Delete "$QUICKLAUNCH\
- Delete "$SMPROGRAMS\
- Delete "$SMPROGRAMS\
- RMDir "$SMPROGRAMS\
+ Delete "$SMPROGRAMS\
DetailPrint "removing uninstall info"
RMDir /r "$INSTDIR"