View Single Post
  #2  
Old 11-03-2017, 15:56
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
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
Attached Files
File Type: rar Script.rar (4.4 KB, 23 views)

Last edited by rinaldo; 11-03-2017 at 16:35.
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
bairagyakushal4 (11-03-2017)