procedure CurStepChanged(CurStep: TSetupStep); begin if CurStep = ssPostInstall then begin DeleteFile(ExpandConstant('{app}\myfile.txt')) end;