diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-12-08 18:39:20 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-12-08 18:39:20 +0000 |
commit | 29f42046394cf09d8e70d0895635da4240156e66 (patch) | |
tree | b571bb401bf049e3abc7776243048373cb234d03 /packaging/nsis/wireshark.nsi | |
parent | 152ba2075cc5020425ba1f90f608fca3388950b0 (diff) |
I've moved the Wireshark start menu shortcut from it's own directory into the plain start menu and removed the Wireshark start menu dir altogether, which makes it IMHO much more usable than before.
According to the "Windows Vista User Experience Guidelines" http://msdn.microsoft.com/en-us/library/aa511447.aspx (and also my own experience), the number of items in the start menu should be reduced to the minimum.
svn path=/trunk/; revision=26933
Diffstat (limited to 'packaging/nsis/wireshark.nsi')
-rw-r--r-- | packaging/nsis/wireshark.nsi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi index f0ca65d725..38476cbd64 100644 --- a/packaging/nsis/wireshark.nsi +++ b/packaging/nsis/wireshark.nsi @@ -585,16 +585,15 @@ WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Pa ReadINIStr $0 "$PLUGINSDIR\AdditionalTasksPage.ini" "Field 2" "State" StrCmp $0 "0" SecRequired_skip_StartMenu SetOutPath $PROFILE -CreateDirectory "$SMPROGRAMS\Wireshark" +;CreateDirectory "$SMPROGRAMS\Wireshark" ; To qoute "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ch11d.asp": ; "Do not include Readme, Help, or Uninstall entries on the Programs menu." Delete "$SMPROGRAMS\Wireshark\Wireshark Web Site.lnk" ;WriteINIStr "$SMPROGRAMS\Wireshark\Wireshark Web Site.url" "InternetShortcut" "URL" "http://www.wireshark.org/" -CreateShortCut "$SMPROGRAMS\Wireshark\Wireshark.lnk" "$INSTDIR\wireshark.exe" "" "$INSTDIR\wireshark.exe" 0 "" "" "The Wireshark Network Protocol Analyzer" +CreateShortCut "$SMPROGRAMS\Wireshark.lnk" "$INSTDIR\wireshark.exe" "" "$INSTDIR\wireshark.exe" 0 "" "" "The Wireshark Network Protocol Analyzer" ;CreateShortCut "$SMPROGRAMS\Wireshark\Wireshark Manual.lnk" "$INSTDIR\wireshark.html" ;CreateShortCut "$SMPROGRAMS\Wireshark\Display Filters Manual.lnk" "$INSTDIR\wireshark-filter.html" -CreateShortCut "$SMPROGRAMS\Wireshark\Wireshark Program Directory.lnk" \ - "$INSTDIR" +;CreateShortCut "$SMPROGRAMS\Wireshark\Wireshark Program Directory.lnk" "$INSTDIR" ;CreateShortCut "$SMPROGRAMS\Wireshark\Uninstall Wireshark.lnk" "$INSTDIR\uninstall.exe" SecRequired_skip_StartMenu: @@ -1007,6 +1006,7 @@ Delete "$INSTDIR\example_snmp_users_file" Delete "$INSTDIR\radius\*.*" Delete "$INSTDIR\dtds\*.*" Delete "$SMPROGRAMS\Wireshark\*.*" +Delete "$SMPROGRAMS\Wireshark.lnk" Delete "$DESKTOP\Wireshark.lnk" Delete "$QUICKLAUNCH\Wireshark.lnk" @@ -1269,6 +1269,7 @@ lbl_npf_done: ; (we use the "all users" start menu, so select it first) SetShellVarContext all IfFileExists "$SMPROGRAMS\Wireshark\Wireshark.lnk" lbl_have_startmenu + IfFileExists "$SMPROGRAMS\Wireshark.lnk" lbl_have_startmenu WriteINIStr "$PLUGINSDIR\AdditionalTasksPage.ini" "Field 2" "State" "0" lbl_have_startmenu: |