if you do not explain your problem is difficult
TimeLabel
ElapsedTimeLbl.Hide; or ElapsedTimeLbl.Caption:='Extraction Error';
ElapsedTimeLbl.Font.Color:=clred;
RollingBack
RollingBack.Show;
no ElapsedTime
Code:
if CurPageID=wpFinished then
begin
TimelBL.Hide;
AllCancel;
HideControls;
ElapsedTimeLbl.Hide;
end;
Method1
Code:
if (CurStep=ssPostInstall) and ISDoneError then begin
RollingBack.Show;
ElapsedTimeLbl.Font.Color:=clred;
ElapsedTimeLbl.Caption:='Extraction Error';
Exec(ExpandConstant('{uninstallexe}'), '/VERYSILENT','', sw_Hide, ewWaitUntilTerminated, ResultCode);
method 2 > Script.rar