Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-09-2013, 21:03
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Razor the awesome, as always.
Thanks buddy.
Reply With Quote
Sponsored Links
  #2  
Old 08-09-2013, 21:46
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
You're Welcome bud.
Reply With Quote
  #3  
Old 09-09-2013, 13:11
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Dear razor, can you explain for me what are the first 3 zeros for?
in ISArcExtract there is 2 zeros while in ISExec there is 3
or i f you don't know what they are for at least can you tell me which one stands for process percentage?
Reply With Quote
  #4  
Old 09-09-2013, 13:13
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (09-09-2013)
  #5  
Old 09-09-2013, 13:21
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime
EDIT: Got it, thank you

Last edited by danswano; 09-09-2013 at 16:27.
Reply With Quote
  #6  
Old 09-09-2013, 17:42
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Because the time and accurate percentage is not known properly to IS it jumps from 50% to 150% after the ISExec is done, how to avoid this?
I know that there is a feature related to records.inf but i don't know how to use or even create the right records.inf file.
Can you help me please?
Reply With Quote
  #7  
Old 09-09-2013, 18:18
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
total progress is 100, so just split the current process.
Reply With Quote
  #8  
Old 09-09-2013, 18:23
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
total progress is 100, so just split the current process.
Sure dude but it's not working for me this time.
Reply With Quote
  #9  
Old 09-09-2013, 19:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
I see, ISExec progress percentage don't want to work.
I also don't know how to use records.inf.

But I have a solution to this.

don't set progress for all archives, leave it to zero

add this

Var
ArcInt: integer;

begin
ArcInt:=3 //defines the number of archives involved in process.

ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
end;

Put these lines under procedure CurStepChanged(CurStep: TSetupStep);
Reply With Quote
  #10  
Old 09-09-2013, 19:34
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Can you please explain what these codes can do to the overall progress?
Reply With Quote
  #11  
Old 09-09-2013, 20:03
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
post your entire CurStepChanged procedure.
Reply With Quote
  #12  
Old 09-09-2013, 21:15
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
post your entire CurStepChanged procedure.
procedure CurStepChanged(CurStep: TSetupStep);

var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
Reply With Quote
  #13  
Old 09-09-2013, 21:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
procedure CurStepChanged(CurStep: TSetupStep);

var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
ArcInt: integer;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
ArcInt:=3 //defines the number of archives involved in process, You can use {#ArcNumber}.
ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
Reply With Quote
  #14  
Old 09-09-2013, 21:54
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Got this error when installation starts:
Attached Images
File Type: jpg 9-10-2013 7-54-07 AM.jpg (19.2 KB, 148 views)
Reply With Quote
  #15  
Old 09-09-2013, 22:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
fix this

ExpandConstant('{c m:Extracted}');

space of cm in between

to this

ExpandConstant('{cm:Extracted}');
Reply With Quote
Reply


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 TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 00:43.


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