diff options
author | cher-nov <blackdoomer@yandex.ru> | 2016-09-10 12:47:50 +0300 |
---|---|---|
committer | cher-nov <blackdoomer@yandex.ru> | 2016-09-10 12:47:50 +0300 |
commit | 121f893c0c9adbcbc098628cc2c0822230386465 (patch) | |
tree | b78b205bd4e525d900e62f5174099260b7256012 /src-installer | |
parent | 59b1924af9f4d510a6974baa7f6d9fd99e61a060 (diff) |
Installer: Add check for supported Windows version
Diffstat (limited to 'src-installer')
-rw-r--r-- | src-installer/RDPWInst.dpr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src-installer/RDPWInst.dpr b/src-installer/RDPWInst.dpr index 497d4e1..3a97730 100644 --- a/src-installer/RDPWInst.dpr +++ b/src-installer/RDPWInst.dpr @@ -1091,6 +1091,13 @@ begin Exit; end; + if not CheckWin32Version(6,0) then + begin + Writeln('[-] Unsupported Windows version:'); + Writeln(' only >= 6.0 (Vista, Server 2008 and newer) are supported.'); + Exit; + end; + if not SupportedArchitecture then begin Writeln('[-] Unsupported processor architecture.'); |