FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Inno setup problem (https://fileforums.com/showthread.php?t=99004)

bairagyakushal4 11-03-2017 10:43

Inno setup problem
 
6 Attachment(s)
I have this script. How to change change this in the script?

From this:

Attachment 17642
Attachment 17643


to


Attachment 17644
Attachment 17643
(finish page is same)


Plus it not showing "rolling back changes" when clicked cancel how to do that?

From this:

Attachment 17646

to

Attachment 17647

Please help!

rinaldo 11-03-2017 15:56

1 Attachment(s)
if you do not explain your problem is difficult :rolleyes:

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

bairagyakushal4 11-03-2017 21:24

Thanks ...
 
Thanks very much it did fix the "rolling back changes" problem,thank u, but For the elapes time level I want to show the elapsed time level in installing page as well as finished page. As u can see finish page already have the elapsed time level so i want elapsed time level in intalling page. I tried but i can't able to show elaps in both pages.

bairagyakushal4 11-03-2017 21:27

and thanks for posting the script, I really appreciate it.

rinaldo 11-03-2017 22:15

EXAMPLE

Code:

var
A:Longint;

A:=Round(dt)
ElapsedTime.Caption:=ExpandConstant(' {cm:Elapsed} ')+LongintToStringTime(A);


bairagyakushal4 11-03-2017 22:52

It showing error duplicate identifier "A".
What now?:confused::confused::confused:

rinaldo 12-03-2017 00:07

1 Attachment(s)
Quote:

Originally Posted by bairagyakushal4 (Post 457036)
It showing error duplicate identifier "A".
What now?:confused::confused::confused:

ok

bairagyakushal4 12-03-2017 02:03

Thanks
 
2 Attachment(s)
:):):):) BIG Thanks for the help.That fix the problem.U r really a great guy.
But see this :
Attachment 17653

when there will be more than seceonds like hour and minutes then it will get croped & won't be able to see,so can u tell some fix?
Attachment 17654
So i want Elapsed time will start from progress bar left & remening time end in progress bar right,

bairagyakushal4 12-03-2017 06:32

component
 
Another thing can u tell me to use component like english.bin & russian.bin only extract 1 according to task or component selected.


All times are GMT -7. The time now is 22:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com