Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2017, 11:43
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
Smile Inno setup problem

I have this script. How to change change this in the script?

From this:

bandicam 2017-03-11 23-28-50-998.jpg
bandicam 2017-03-11 23-29-10-467.jpg


to


bandicam 2017-03-11 23-47-24-026.jpg
bandicam 2017-03-11 23-29-10-467.jpg
(finish page is same)


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

From this:

bandicam 2017-03-11 23-29-48-533.jpg

to

bandicam 2017-03-11 23-47-54-501.jpg

Please help!
Attached Files
File Type: rar ISDone (ini).rar (1.08 MB, 38 views)

Last edited by bairagyakushal4; 22-03-2017 at 02:21.
Reply With Quote
Sponsored Links
  #2  
Old 11-03-2017, 16:56
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 694 Times in 190 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 17:35.
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
bairagyakushal4 (11-03-2017)
  #3  
Old 11-03-2017, 22:24
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
Thumbs up 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.

Last edited by bairagyakushal4; 11-03-2017 at 22:30.
Reply With Quote
  #4  
Old 11-03-2017, 22:27
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
Thumbs up

and thanks for posting the script, I really appreciate it.
Reply With Quote
  #5  
Old 11-03-2017, 23:15
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 694 Times in 190 Posts
rinaldo is on a distinguished road
EXAMPLE

Code:
var
A:Longint;

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

Last edited by rinaldo; 11-03-2017 at 23:18.
Reply With Quote
  #6  
Old 11-03-2017, 23:52
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
It showing error duplicate identifier "A".
What now?
Reply With Quote
  #7  
Old 12-03-2017, 01:07
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 694 Times in 190 Posts
rinaldo is on a distinguished road
Quote:
Originally Posted by bairagyakushal4 View Post
It showing error duplicate identifier "A".
What now?
ok
Attached Files
File Type: 7z Script.7z (4.3 KB, 22 views)
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
bairagyakushal4 (12-03-2017)
  #8  
Old 12-03-2017, 03:03
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
Thumbs up Thanks

BIG Thanks for the help.That fix the problem.U r really a great guy.
But see this :
bandicam 2017-03-12 15-20-08-793.jpg

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?
edited.jpg
So i want Elapsed time will start from progress bar left & remening time end in progress bar right,

Last edited by bairagyakushal4; 12-03-2017 at 03:19.
Reply With Quote
  #9  
Old 12-03-2017, 07:32
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
component

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

Tags
innosetup, isdone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
Binary Domain (DVD9 to 2xDVD5) - INNO SETUP) by REVO REV0 PC Games - CD/DVD Conversions 41 12-12-2013 20:58
Darksiders II - 2xDVD5 (Inno Setup) Fabioddq PC Games - CD/DVD Conversions 12 06-02-2013 13:49
StarCraft II : Wings Of Liberty (DVD9 to 2x DVD5) INNO SETUP peterf1999 PC Games - CD/DVD Conversions 18 18-01-2013 20:41
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 09:24



All times are GMT -7. The time now is 11:29.


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