From: Jeffrey Altman Date: Fri, 2 Dec 2005 10:27:22 +0000 (+0000) Subject: NSIS installer for KFW 3.0 Beta 3 X-Git-Tag: ms-bug-test-20060525~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee2846c05ae4211c2838f1ac35b135b454362489;p=krb5.git 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 --- diff --git a/src/windows/installer/nsis/kfw-fixed.nsi b/src/windows/installer/nsis/kfw-fixed.nsi index eef55917b..20106a722 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: