aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2003-04-09 18:58:37 +0000
committerGerald Combs <gerald@wireshark.org>2003-04-09 18:58:37 +0000
commit2abb403b4e70e16f93dab06ae270f04b6afff407 (patch)
tree8f57b41237479051002669c5964981784d7439ee /packaging/nsis
parent4727ca154dc360957c27e47be25924a13c3548fe (diff)
Update for NSIS 2.0
svn path=/trunk/; revision=7431
Diffstat (limited to 'packaging/nsis')
-rw-r--r--packaging/nsis/ethereal.nsi15
1 files changed, 10 insertions, 5 deletions
diff --git a/packaging/nsis/ethereal.nsi b/packaging/nsis/ethereal.nsi
index d6b7418f21..59cd8e676a 100644
--- a/packaging/nsis/ethereal.nsi
+++ b/packaging/nsis/ethereal.nsi
@@ -1,7 +1,7 @@
;
; ethereal.nsi
;
-; $Id: ethereal.nsi,v 1.9 2003/01/28 22:18:06 guy Exp $
+; $Id: ethereal.nsi,v 1.10 2003/04/09 18:58:37 gerald Exp $
; ============================================================================
; Header configuration
@@ -12,12 +12,15 @@ Name "Ethereal"
; The file to write
OutFile "ethereal-setup-${VERSION}.exe"
-; Icon of installer
+; Icon of installer and uninstaller
Icon "..\..\image\ethereal.ico"
+UninstallIcon "..\..\image\ethereal.ico"
; Uninstall stuff
UninstallText "This will uninstall Ethereal. Hit 'Next' to continue."
+XPStyle on
+
; ============================================================================
; License page configuration
; ============================================================================
@@ -30,8 +33,9 @@ LicenseData "GPL.txt"
ComponentText "The following components are available for installation."
; Component check boxes
-EnabledBitmap "..\..\image\nsis-checked.bmp"
-DisabledBitmap "..\..\image\nsis-unchecked.bmp"
+; Commented out for NSIS v 2.0
+; EnabledBitmap "..\..\image\nsis-checked.bmp"
+; DisabledBitmap "..\..\image\nsis-unchecked.bmp"
; ============================================================================
; Directory selection page configuration
@@ -153,7 +157,7 @@ SetOutPath $INSTDIR\snmp\mibs
File "..\..\..\libs\net-snmp-5.0.6\mibs\*.txt"
SectionEnd
-SectionDivider
+; SectionDivider
;-------------------------------------------
Section "Start Menu Shortcuts"
@@ -177,6 +181,7 @@ SectionEnd
Section "Uninstall"
;-------------------------------------------
+
DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ethereal"
DeleteRegKey HKEY_LOCAL_MACHINE SOFTWARE\Ethereal