diff options
| author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2005-12-02 10:27:22 +0000 |
|---|---|---|
| committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2005-12-02 10:27:22 +0000 |
| commit | ee2846c05ae4211c2838f1ac35b135b454362489 (patch) | |
| tree | 089dcc366844e9f3ef5daea86ef3a1b63af97882 /src/windows/installer/nsis | |
| parent | 7bd86eab97a2528356baab18224d09def8a5d949 (diff) | |
| download | krb5-ee2846c05ae4211c2838f1ac35b135b454362489.tar.gz krb5-ee2846c05ae4211c2838f1ac35b135b454362489.tar.xz krb5-ee2846c05ae4211c2838f1ac35b135b454362489.zip | |
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
Diffstat (limited to 'src/windows/installer/nsis')
| -rw-r--r-- | src/windows/installer/nsis/kfw-fixed.nsi | 5 |
1 files changed, 4 insertions, 1 deletions
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: |
