aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis/ethereal.nsi
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-10-21 02:06:37 +0000
committerGerald Combs <gerald@wireshark.org>2004-10-21 02:06:37 +0000
commit642513149f3d60f60156237ab2babd7fc7021f8f (patch)
tree48c88ca02fd7d1b138bd9c72c52d6b0d1e7704a8 /packaging/nsis/ethereal.nsi
parenta87394e71e9e19034b6b32382c2b4acab0dbcd18 (diff)
From Laurent Rabret:
- enable Windows' ShellExecute command to call Ethereal without specifying the installation path (a new key added in the registry) - decode 2 more options in the OPSI plugin. svn path=/trunk/; revision=12363
Diffstat (limited to 'packaging/nsis/ethereal.nsi')
-rw-r--r--packaging/nsis/ethereal.nsi8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/nsis/ethereal.nsi b/packaging/nsis/ethereal.nsi
index c120ac7cef..45d1b4f3dc 100644
--- a/packaging/nsis/ethereal.nsi
+++ b/packaging/nsis/ethereal.nsi
@@ -302,6 +302,11 @@ WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninst
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "NoModify" 1
WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal" "NoRepair" 1
WriteUninstaller "uninstall.exe"
+
+; Write an entry for ShellExecute
+WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\ethereal.exe" "" '$INSTDIR\ethereal.exe'
+WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\ethereal.exe" "Path" '$INSTDIR'
+
SectionEnd
!ifdef GTK1_DIR
@@ -544,7 +549,8 @@ IfErrors 0 NoEtherealErrorMsg
NoEtherealErrorMsg:
DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal"
-DeleteRegKey HKEY_LOCAL_MACHINE SOFTWARE\Ethereal
+DeleteRegKey HKEY_LOCAL_MACHINE "Software\Ethereal"
+DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\ethereal.exe"
push $R0
StrCpy $R0 ".5vw"