aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-11-02 09:36:47 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-11-02 09:36:47 +0000
commit003db517095c19dab06a1871485d5e0c607b43c6 (patch)
tree352aa528c258467c31c3579a251c7111078c9c91 /packaging
parent556bea172299e5d49dbf29799c0256b8aa49595e (diff)
we don't support 95/98/ME any longer, and indeed WS doesn't work on these versions.
Give a hint that the last known working version was Ethereal 0.99.0 and quit the installer. svn path=/trunk/; revision=19776
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nsis/wireshark.nsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index 41a8abf44e..84ecb23c97 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -1138,6 +1138,18 @@ Function myShowCallback
; Get the Windows version
Call GetWindowsVersion
Pop $R0 ; Windows Version
+
+ ; Check if we're able to run with this version
+ StrCmp $R0 '95' lbl_winversion_unsupported
+ StrCmp $R0 '98' lbl_winversion_unsupported
+ StrCmp $R0 'ME' lbl_winversion_unsupported
+ ;StrCmp $R0 'NT 4.0' lbl_winversion_unsupported
+ Goto lbl_winversion_supported
+lbl_winversion_unsupported:
+ MessageBox MB_OK "Windows $R0 is no longer supported. The last known version working with 98/ME was Ethereal 0.99.0!"
+ Quit
+
+lbl_winversion_supported:
!ifdef GTK2_DIR
; Enable GTK-Wimp only for Windows 2000/XP/2003
; ...as Win9x/ME/NT known to have problems with it!