![]() |
total progress is 100, so just split the current process.
|
Quote:
|
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); |
Can you please explain what these codes can do to the overall progress? :)
|
post your entire CurStepChanged procedure.
|
Quote:
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'); |
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 |
1 Attachment(s)
Got this error when installation starts:
|
fix this
ExpandConstant('{c m:Extracted}'); space of cm in between to this ExpandConstant('{cm:Extracted}'); |
Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%. should i enable records? |
yep. totally. will go offline. going to attend my classes. :D
|
Quote:
|
Quote:
|
Not Complete yet
Link |
@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? |
make sure arc.ini is added to setup.cab, so installer knows with arc method your using.
|
2 Attachment(s)
Why i can't achieve the same size?
Hello, I saw a file compressed using precomp+srep like this: precomp+srep:m3f:a1+lzma:69mb:normal:bt4:128:lc8 the file contents original size is 2.3g.b and the result was 1g.b i've tried to unpack the files then pack them using the same method above or some custom methods of my own but i always end up with a file size 2g.b what are the factors that would make precomp detect more streams to downsize the file with such ratio? Or in other words, what methods would have been applied on the file not appearing in archive info solid blocks tab? Thanks. :) |
have you tried precomp038?
|
Yes sure with slow mode.
|
Question
how can i define the Button position
without a Designer |
Set/edit the button's X and Y Positions or it might be Left or Top Positions.
|
Quote:
|
Anyone have the latest ISDone.dll and the other related files that supports srep3.91BETA?
|
Quote:
|
I got it from Freearc dev site but ISDone is refusing to extract files packed using it.
|
your arc.ini isn't right....
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp should work for any version. |
2 Attachment(s)
I've tried this already but i always get this error:
What should i replace in my ISDone directory /includes other than arc.ini? have you tested this with 3.91beta arc packed file? |
if using inno script, the arc.ini has to be in setup folder too. ( in setup.cab )
|
I've used ISDone with many many archives already and they extract fine although arc.ini is not included in files list, how this is possible?
Is it because of CLS-srep ? EDIT: i've included arc.ini and allowed to extract into /tmp and i got the same error. :( |
Looks like i've answered my question without notice, got the new cls-rep and it worked :)
Thank you for your help. :) |
1 Attachment(s)
Hello,
I've packed some wav files using srep+tta when trying to unpack the file with ISDone i get unarc.dll -6 error. Notes: Packing the same files without tta only srep works fine but not with tta. Packing the same files with tta without srep works fine too. The installation progress unpacks until the end of the arc file and it throw this error: |
He can you make max payne 3 original black box script script with kurutcu compressor.I will be thankfull to you!!!
|
Hey Bro! as I do that at the Autorun and Setup work pictures
. BMP and PNG if CI yener90 Designer 0.4a asks only images of JPG http://i.minus.com/ik4dtLPJGE9vg.jpg I want to start as well as the example of yener Farcry3 http://fileforums.com/showthread.php?t=91563 http://i.minus.com/iboaOIS1bJqUun.png PLease help me |
CI Designer supports CI and not CIU Projects.
|
Hmm, Kinda difficult and contradicting but I'd say maybe tta and srep are not supposed to be involved together in compression. I did precomp+srep+paq8 and got the same error. but you may wanna consider unpacking using bat before isdone.
|
RG freaking Mechanics installer is unpacking it internally.
|
give me the source.
|
Quote:
|
All the info I'll need to check out what's the problem with tta and srep
|
Using tta is really good for wave files, i wonder why the hell ISDone is extracting all the files and at the end gives that error, i mean ISDone managed to uncompress the file properly but the error at the end will rollback everything to nothing.
|
| All times are GMT -7. The time now is 08:10. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com