mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-09 17:58:20 +00:00
Fix installer: check ImagePath without extension
This commit is contained in:
parent
8ac3396165
commit
80387dcc31
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user