mirror of
				https://github.com/stascorp/rdpwrap.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	Fix installer: check ImagePath without extension
This commit is contained in:
		@@ -159,7 +159,8 @@ begin
 | 
			
		||||
  end;
 | 
			
		||||
  TermServiceHost := Reg.ReadString('ImagePath');
 | 
			
		||||
  Reg.CloseKey;
 | 
			
		||||
  if Pos('svchost.exe', LowerCase(TermServiceHost)) = 0 then
 | 
			
		||||
  if (Pos('svchost.exe', LowerCase(TermServiceHost)) = 0)
 | 
			
		||||
  and (Pos('svchost -k', LowerCase(TermServiceHost)) = 0) then
 | 
			
		||||
  begin
 | 
			
		||||
    Reg.Free;
 | 
			
		||||
    Writeln('[-] TermService is hosted in a custom application (BeTwin, etc.) - unsupported.');
 | 
			
		||||
@@ -896,7 +897,7 @@ var
 | 
			
		||||
begin
 | 
			
		||||
  Writeln('RDP Wrapper Library v1.5');
 | 
			
		||||
  Writeln('Installer v2.2');
 | 
			
		||||
  Writeln('Copyright (C) Stas''M Corp. 2014');
 | 
			
		||||
  Writeln('Copyright (C) Stas''M Corp. 2015');
 | 
			
		||||
  Writeln('');
 | 
			
		||||
 | 
			
		||||
  if (ParamCount < 1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user