First of all, sorry for digging up this topic.
I have a small question about IsArcEx. If I wanted to run a batch file or other script after unpacking the FreeArc archive but also keep the elapsed timer running, whereabouts should I put the command?
All my post-FreeArc command run in a procedure called masquerade_work, so I call this after the FreeArc extraction finishes.
I have tried putting it on the line above IsArcExStop();, but this does not keep the timer running after the last archive has finished extracting:
Code:
for i:= 1 to ISArcExDiskCount do
begin
ISArcExError := not ISArcExExtract(i, ExpandConstant('{app}\'), ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'));
if ISArcExError then break;
end;
until true;
masquerade_work();
ISArcExStop;
Is there something I am doing incorrectly? The reason I would like to keep the elapsed timer running is because some of my scripts run for a long time after extracting data (recompressing, patching large files etc..) so it's important that the installer does not look stuck towards the user.
Thanks,
Masquerade