From ee2846c05ae4211c2838f1ac35b135b454362489 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 2 Dec 2005 10:27:22 +0000 Subject: [PATCH] NSIS installer for KFW 3.0 Beta 3 Add an operating system version check to prevent installation on Windows 95, 98, ME, and NT 4.0. ticket: new component: windows status: resolved target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17532 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/installer/nsis/kfw-fixed.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/windows/installer/nsis/kfw-fixed.nsi b/src/windows/installer/nsis/kfw-fixed.nsi index eef55917b3..20106a722c 100644 --- a/src/windows/installer/nsis/kfw-fixed.nsi +++ b/src/windows/installer/nsis/kfw-fixed.nsi @@ -662,10 +662,13 @@ checkVer: Call GetWindowsVersion Pop $R0 StrCmp $R0 "95" wrongVersion + StrCmp $R0 "98" wrongVersion + StrCmp $R0 "ME" wrongVersion + StrCmp $R0 "NT 4.0" wrongVersion goto checkIPHLPAPI wrongVersion: - MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST "MIT ${PROGRAM_NAME} requires Microsoft Windows 98 or higher." + MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST "MIT ${PROGRAM_NAME} requires Microsoft Windows 2000 or higher." Abort checkIPHLPAPI: -- 2.47.2