nik1967, пример, переименование файла main.dll в backup.dll после установки:
Код:

[code]
procedure CurPageChanged(CurPageID: Integer);
begin
if CurPageID = wpFinished then
if FileExists(ExpandConstant('{app}\main.dll')) then
RenameFile(ExpandConstant('{app}\main.dll'), ExpandConstant('{app}\backup.dll'));
end;