FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

Razor12911 09-09-2013 18:18

total progress is 100, so just split the current process.

danswano 09-09-2013 18:23

Quote:

Originally Posted by Razor12911 (Post 423096)
total progress is 100, so just split the current process.

Sure dude but it's not working for me this time.

Razor12911 09-09-2013 19:29

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);

danswano 09-09-2013 19:34

Can you please explain what these codes can do to the overall progress? :)

Razor12911 09-09-2013 20:03

post your entire CurStepChanged procedure.

danswano 09-09-2013 21:15

Quote:

Originally Posted by Razor12911 (Post 423100)
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');

Razor12911 09-09-2013 21:47

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

danswano 09-09-2013 21:54

1 Attachment(s)
Got this error when installation starts:

Razor12911 09-09-2013 22:02

fix this

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

space of cm in between

to this

ExpandConstant('{cm:Extracted}');

danswano 09-09-2013 22:04

Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%.
should i enable records?

Razor12911 09-09-2013 22:06

yep. totally. will go offline. going to attend my classes. :D

danswano 09-09-2013 22:07

Quote:

Originally Posted by Razor12911 (Post 423109)
yep. totally. will go offline. going to attend my classes. :D

Catch you later :D

kashifagaria 10-09-2013 17:22

Quote:

Originally Posted by Razor12911 (Post 418597)
45% complete

now, you can load jpg or bmp and png, re-arrange all you want,

create quick conversions

test attachment added :)

Requesting language translators...:rolleyes:

it's kinda funny, that all of this is been created just by using inno setup and nothing else, :D

Select Backgrounds under Autorun Interface Select tab standard configuration to load a simple file .jpg, Select tab advanced configuration to load a folder which has autorun#.jpg, Select tab expert configuration to load bmp and png image.

this Designer for download

Razor12911 10-09-2013 20:10

Not Complete yet
Link

inovateqsa 12-09-2013 00:22

@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?

pakrat2k2 12-09-2013 05:11

make sure arc.ini is added to setup.cab, so installer knows with arc method your using.

danswano 21-09-2013 19:01

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. :)

Razor12911 22-09-2013 03:02

have you tried precomp038?

danswano 22-09-2013 04:37

Yes sure with slow mode.

mausschieber 22-09-2013 23:16

Question
 
how can i define the Button position
without a Designer

Razor12911 22-09-2013 23:44

Set/edit the button's X and Y Positions or it might be Left or Top Positions.

mausschieber 23-09-2013 00:02

Quote:

Originally Posted by mausschieber (Post 423663)
how can i define the Button position
without a Designer

Left Top position

danswano 23-09-2013 10:12

Anyone have the latest ISDone.dll and the other related files that supports srep3.91BETA?

pakrat2k2 23-09-2013 16:29

Quote:

Originally Posted by danswano (Post 423683)
Anyone have the latest ISDone.dll and the other related files that supports srep3.91BETA?

wherever you fond out about srep3.91BETA, should have the associated files needed for it there.

danswano 23-09-2013 16:30

I got it from Freearc dev site but ISDone is refusing to extract files packed using it.

pakrat2k2 23-09-2013 16:54

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.

danswano 23-09-2013 16:59

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?

pakrat2k2 23-09-2013 17:05

if using inno script, the arc.ini has to be in setup folder too. ( in setup.cab )

danswano 23-09-2013 17:10

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. :(

danswano 23-09-2013 17:25

Looks like i've answered my question without notice, got the new cls-rep and it worked :)
Thank you for your help. :)

danswano 26-09-2013 07:30

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:

Dheeraj88 26-09-2013 10:56

He can you make max payne 3 original black box script script with kurutcu compressor.I will be thankfull to you!!!

indiana1974 12-10-2013 11:10

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

Razor12911 12-10-2013 11:13

CI Designer supports CI and not CIU Projects.

Razor12911 14-10-2013 07:01

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.

danswano 14-10-2013 07:05

RG freaking Mechanics installer is unpacking it internally.

Razor12911 14-10-2013 07:07

give me the source.

danswano 14-10-2013 11:36

Quote:

Originally Posted by Razor12911 (Post 424362)
give me the source.

You mean the iss file? it's exe.

Razor12911 14-10-2013 11:45

All the info I'll need to check out what's the problem with tta and srep

danswano 14-10-2013 11:58

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