mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-23 14:07:18 +00:00
Installer: Add check for supported Windows version
This commit is contained in:
parent
59b1924af9
commit
121f893c0c
@ -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.');
|
||||
|
Loading…
Reference in New Issue
Block a user