aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-08-30 15:32:27 +0000
committerGerald Combs <gerald@wireshark.org>2002-08-30 15:32:27 +0000
commit8846efa40a4aac65c72029c2de2af0b284af44bd (patch)
tree75d77b41424cc5025972c72ab274c210735c41a9
parent47d7946c2e86f3ddbcfd29d6325abebb48fdca1e (diff)
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
-rw-r--r--packaging/nsis/ethereal.nsi11
1 files changed, 8 insertions, 3 deletions
diff --git a/packaging/nsis/ethereal.nsi b/packaging/nsis/ethereal.nsi
index d928a898d7..eaa7fb6e47 100644
--- a/packaging/nsis/ethereal.nsi
+++ b/packaging/nsis/ethereal.nsi
@@ -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"