This will be possible in the next version using a new ExecAndLogOutput support function which can log to the regular log or call your own function line by line.
For example with an own function:
[Code]
procedure LogOutput(const S: String; const Error, FirstLine: Boolean);
begin
Log('Look!: ' + S);
end;
....
ExecAndLogOutput(..., @LogOutput);
This version will also include other output logging: it will have a new flag to instruct Setup and Uninstall to log output of [Run] and [UninstallRun] entries, Sign Tool output will be logged in the IDE's "Compiler Output" and the same for the output of ISPP's Exec.
The output logging requires waituntilterminated and runascurrentuser.
I don't know when this version will be released. I do know it will have many more exciting features!
Greetings,
Martijn