forked from osmocom/wireshark
From Ulf Lamping:
a: display of the currently installed ethereal version in "add/remove software panel", e.g. "Ethereal 0.9.6" instead of "Ethereal" only. b: added a link to the ethereal homepage "http://www.ethereal.com/" in Start->Programs->Ethereal c: added a link to the ethereal program directory in Start->Programs->Ethereal svn path=/trunk/; revision=6146
This commit is contained in:
parent
47d7946c2e
commit
8846efa40a
|
@ -1,7 +1,7 @@
|
|||
;
|
||||
; ethereal.nsi
|
||||
;
|
||||
; $Id: ethereal.nsi,v 1.4 2002/08/20 00:59:39 jmayer Exp $
|
||||
; $Id: ethereal.nsi,v 1.5 2002/08/30 15:32:27 gerald Exp $
|
||||
|
||||
; ============================================================================
|
||||
; Header configuration
|
||||
|
@ -71,7 +71,7 @@ File "${COMMON_FILES_GNU}\iconv-1.3.dll"
|
|||
File "${COMMON_FILES_GNU}\glib-1.3.dll"
|
||||
File "${COMMON_FILES_GNU}\gmodule-1.3.dll"
|
||||
File "${COMMON_FILES_GNU}\gnu-intl.dll"
|
||||
;File "${COMMON_FILES_GNU}\zlib.dll"
|
||||
File "${COMMON_FILES_GNU}\zlib.dll"
|
||||
File "..\..\FAQ"
|
||||
File "..\..\README"
|
||||
File "..\..\README.win32"
|
||||
|
@ -90,7 +90,7 @@ File "..\..\sunping.xml"
|
|||
SetOutPath $INSTDIR
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "DisplayName" "Ethereal"
|
||||
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "DisplayName" "Ethereal ${VERSION}"
|
||||
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteUninstaller "uninstall.exe"
|
||||
SectionEnd
|
||||
|
@ -150,9 +150,14 @@ Section "Start Menu Shortcuts"
|
|||
;-------------------------------------------
|
||||
CreateDirectory "$SMPROGRAMS\Ethereal"
|
||||
|
||||
Delete "$SMPROGRAMS\Ethereal\Ethereal Home Page.lnk"
|
||||
WriteINIStr "$SMPROGRAMS\Ethereal\Ethereal Home Page.url" \
|
||||
"InternetShortcut" "URL" "http://www.ethereal.com/"
|
||||
CreateShortCut "$SMPROGRAMS\Ethereal\Ethereal.lnk" "$INSTDIR\ethereal.exe"
|
||||
CreateShortCut "$SMPROGRAMS\Ethereal\Ethereal Documentation.lnk" "$INSTDIR\ethereal.html"
|
||||
CreateShortCut "$SMPROGRAMS\Ethereal\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
CreateShortCut "$SMPROGRAMS\Ethereal\Ethereal Program Directory.lnk" \
|
||||
"$INSTDIR"
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop Icon"
|
||||
|
|
Loading…
Reference in New Issue