|
|
|
#1
|
|||
|
|||
|
Razor the awesome, as always.
![]() Thanks buddy. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
You're Welcome bud.
|
|
#3
|
|||
|
|||
|
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? |
|
#4
|
||||
|
||||
|
the second zero from the left defines progress percentage.
first is for components third is for SpecifiedProcessTime |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
danswano (09-09-2013) | ||
|
#5
|
|||
|
|||
|
Quote:
Last edited by danswano; 09-09-2013 at 16:27. |
|
#6
|
|||
|
|||
|
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?
|
|
#7
|
||||
|
||||
|
total progress is 100, so just split the current process.
|
|
#8
|
|||
|
|||
|
Sure dude but it's not working for me this time.
|
|
#9
|
||||
|
||||
|
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); |
|
#10
|
|||
|
|||
|
Can you please explain what these codes can do to the overall progress?
|
|
#11
|
||||
|
||||
|
post your entire CurStepChanged procedure.
|
|
#12
|
|||
|
|||
|
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'); |
|
#13
|
||||
|
||||
|
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 |
|
#14
|
|||
|
|||
|
Got this error when installation starts:
|
|
#15
|
||||
|
||||
|
fix this
ExpandConstant('{c m:Extracted}'); space of cm in between to this ExpandConstant('{cm:Extracted}'); |
![]() |
|
|
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 |