|
#721
|
||||
|
||||
|
total progress is 100, so just split the current process.
|
| Sponsored Links |
|
#722
|
|||
|
|||
|
Sure dude but it's not working for me this time.
|
|
#723
|
||||
|
||||
|
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); |
|
#724
|
|||
|
|||
|
Can you please explain what these codes can do to the overall progress?
|
|
#725
|
||||
|
||||
|
post your entire CurStepChanged procedure.
|
|
#726
|
|||
|
|||
|
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'); |
|
#727
|
||||
|
||||
|
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 |
|
#728
|
|||
|
|||
|
Got this error when installation starts:
|
|
#729
|
||||
|
||||
|
fix this
ExpandConstant('{c m:Extracted}'); space of cm in between to this ExpandConstant('{cm:Extracted}'); |
|
#730
|
|||
|
|||
|
Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%. should i enable records? Last edited by danswano; 09-09-2013 at 22:06. |
|
#731
|
||||
|
||||
|
yep. totally. will go offline. going to attend my classes.
|
|
#732
|
|||
|
|||
|
Catch you later
|
|
#733
|
|||
|
|||
|
Quote:
|
|
#735
|
|||
|
|||
|
@Pakrat:
After Removing the "Precsrep:1" and adding "Precompver=inside" to the "[InstallOptions]" section of the Setup.ini, I now get the Following error: "Srep: Not an Srep Compressed File" Then, "An error occurred while unpacking! Unarc.dll returned an error code: -1 ERROR: archive data corrupted (decompression fails)" The first error is weird, because you can see the batch file i used to compress clearly uses srep (I also have the srep.exe in the same folder as the .bat file while compressing). The second error makes no sense, as I have tried compressing multiple times, the odds of all of them being corrupted are almost nil. I should probably add that this is the first time I am using external compression in innosetup, up till now I have only used internal (The second disc for R.A Uprising is only 18mb, so It would really be a waste of a disc). Do you think I might have missed something? |
![]() |
|
|
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 |