mirror of
				https://github.com/stascorp/rdpwrap.git
				synced 2025-11-03 22:22:01 +00:00 
			
		
		
		
	Installer: Add check for supported Windows version
This commit is contained in:
		@@ -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.');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user