ja ich habe es verstanden. Ich habe gerade mein Skript wie folgt geändert:
[Code] procedure CurStepChanged(CurStep: TSetupStep); var logfilepathname, logfilename, newfilepathname: string; begin logfilepathname := expandconstant(''); // logfilename := ExtractFileName(logfilepathname); // RenameFile(logfilename,'Setup_Log.log'); newfilepathname := expandconstant('\') +'Setup_Log.log' if CurStep = ssDone then begin filecopy(logfilepathname, newfilepathname, false); end; end;