sim eu entendi. Acabei de alterar meu script da seguinte forma:
[Code]
procedure CurStepChanged(CurStep: TSetupStep);
var
logfilepathname, logfilename, newfilepathname: string;
begin
logfilepathname := expandconstant('{log}');
// logfilename := ExtractFileName(logfilepathname);
// RenameFile(logfilename,'Setup_Log.log');
newfilepathname := expandconstant('{app}\') +'Setup_Log.log'
if CurStep = ssDone then
begin
filecopy(logfilepathname, newfilepathname, false);
end;
end;