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

Reply
 
Thread Tools Display Modes
  #1  
Old 21-11-2014, 07:44
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Help Inno Setup+ISDone progress bar percentage

Friends help my installer never of 100.00% at the end of installation

Always ends in 99.9% or 99.8% or 89.9% etc ...

But never ends at 100.00%

OBS: already tried with Progressbar.iss

my installer and my way of compressing
Attached Files
File Type: rar Script.rar (5.09 MB, 273 views)
Reply With Quote
Sponsored Links
  #2  
Old 21-11-2014, 10:14
_EZEKiEL_'s Avatar
_EZEKiEL_ _EZEKiEL_ is offline
Registered User
 
Join Date: Jul 2014
Location: France
Posts: 9
Thanks: 16
Thanked 14 Times in 6 Posts
_EZEKiEL_ is on a distinguished road
Quote:
Originally Posted by buttignol View Post
Friends help my installer never of 100.00% at the end of installation

Always ends in 99.9% or 99.8% or 89.9% etc ...

But never ends at 100.00%

OBS: already tried with Progressbar.iss

my installer and my way of compressing
It's just the time to update the percentage. Example: If data.dat is big you go up to 100%, because the decompression will be slower, but if it is too small , the installer goes too fast does not have time to update, then 99,8 or 98,5...

I hope you understand my bad English
Reply With Quote
The Following 3 Users Say Thank You to _EZEKiEL_ For This Useful Post:
buttignol (21-11-2014), Dante1995 (21-11-2014), Razor12911 (21-11-2014)
  #3  
Old 21-11-2014, 10:59
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Thanks Ezekiel but is to fix this
Reply With Quote
  #4  
Old 22-11-2014, 00:08
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
Try this, although it is not tested.
Enhanced Edition of Inno Setup is required for compilation
Attached Files
File Type: 7z Installer.7z (9.5 KB, 97 views)
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Andrey167 (22-11-2014), buttignol (22-11-2014)
  #5  
Old 22-11-2014, 11:25
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Thank Razor12911 unable to Enhanced Edition

Inno Setup version 5.5.1 ee1 (a) Ansi end of the installation in 99.6%

Inno Setup version 5.5.5 (u) Unicode error Identifier TTimer
Reply With Quote
  #6  
Old 22-11-2014, 11:35
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
I guess further investigation is needed.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
_EZEKiEL_ (23-11-2014)
  #7  
Old 22-11-2014, 12:06
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
I guess further investigation is needed.
I will wait for it not finish the installation in 100.0% bothers
Thank you again
Reply With Quote
  #8  
Old 22-11-2014, 12:57
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
Just cheat bro, why don't you write 100.00% yourself as a constant after ISDone process.
Reply With Quote
  #9  
Old 22-11-2014, 13:10
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Just cheat bro, why don't you write 100.00% yourself as a constant after ISDone process.
how to do this to test you can for example
Reply With Quote
  #10  
Old 22-11-2014, 13:24
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
After ISDoneStop; (somewhere in CurStepChanged)
write
LabelPct...Caption:='100.00%';
I don't know the name of the label just complete it.
Reply With Quote
  #11  
Old 22-11-2014, 13:52
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
After ISDoneStop; (somewhere in CurStepChanged)
write
LabelPct...Caption:='100.00%';
I don't know the name of the label just complete it.
The place for this code is

function ProgressCallback (OveralPct, CurrentPct: integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): longword;
begin
if OveralPct <= 1000 Then
ISDoneProgressBar1.Position: = OveralPct;
After ISDoneStop; (somewhere in CurStepChanged)
write
LabelPct1.Caption: = '100.00%';
Reply With Quote
  #12  
Old 22-11-2014, 13:59
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
Not there bro.

Put LabelPct1.Caption:='100.00%'

right after ISDoneStop;
you can find ISDoneStop somewhere under CurStepChanged procedure

BTW why do you have
"if OverallPct <= 1000 then"
just remove that line.

Last edited by Razor12911; 22-11-2014 at 14:03.
Reply With Quote
  #13  
Old 22-11-2014, 14:44
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Thank Razor12911 you for your patience and effort to help me but I could not
solve.
Reply With Quote
  #14  
Old 22-11-2014, 23:14
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,658
Thanks: 2,045
Thanked 10,523 Times in 2,220 Posts
Razor12911 is on a distinguished road
Ok, I will do it for you, not today though, I got biology exam tomorrow, I gotta stay fresh for it.
Reply With Quote
  #15  
Old 23-11-2014, 04:09
buttignol's Avatar
buttignol buttignol is offline
Registered User
 
Join Date: Sep 2012
Location: Brasil
Posts: 126
Thanks: 100
Thanked 16 Times in 13 Posts
buttignol is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Ok, I will do it for you, not today though, I got biology exam tomorrow, I gotta stay fresh for it.
Ok waiting
Reply With Quote
Reply

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 05:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 16:00
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Inno Setup - Progress Bar, Help Needed silentnight512 PC Games - CD/DVD Conversions 4 28-12-2013 14:15



All times are GMT -7. The time now is 09:42.


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