Quote:
Originally Posted by Gehrman
Thanks Lord Freddy
But it doesn't work.
|
Code:
if IsComponentSelected('Patch') then
var
ResultCode: Integer;
begin
// Launch EXE file and wait for it to terminate
Exec(ExpandConstant('{tmp}\Patch.exe'), ExpandConstant('/Dir={app}'), '', SW_SHOW,ewWaitUntilTerminated, ResultCode);
end;
I think this is work for you now