mirror of
https://github.com/stascorp/rdpwrap.git
synced 2025-07-16 10:03:00 -07:00
Merge pull request #155 from cher-nov/master
Installer: Add check for supported Windows version
This commit is contained in:
commit
4de59e9ff8
1 changed files with 7 additions and 0 deletions
|
@ -1091,6 +1091,13 @@ begin
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
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
|
if not SupportedArchitecture then
|
||||||
begin
|
begin
|
||||||
Writeln('[-] Unsupported processor architecture.');
|
Writeln('[-] Unsupported processor architecture.');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue