From 121f893c0c9adbcbc098628cc2c0822230386465 Mon Sep 17 00:00:00 2001 From: cher-nov Date: Sat, 10 Sep 2016 19:47:50 +1000 Subject: [PATCH] Installer: Add check for supported Windows version --- src-installer/RDPWInst.dpr | 7 +++++++ 1 file changed, 7 insertions(+) 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.');