I would not recommend it either. If you have an antivirus program (and how does not have one?) it will scan that file --> very slowly
I would not recommend it either. If you have an antivirus program (and how does not have one?) it will scan that file --> very slowly
Hey guys!
I'm in the process of learning how to use 'proper' Freearc usage in Inno Setup. I've recently learned how to implement ISDone (which is kinda complicated when one doesn't speak Russian btw). I used to compress data the following way:
arc: -m0
precomp: -intense -c-
srep: default settings
arc: -mx -ld1600
Now the Russian documentation of ISDone hints at the fact that you can combine the above steps when DECOMPRESSING into a single process, decreasing decomp time and disk I/O. Can anyone give me directions or advice on how to achieve this?
Thanks in advance!
Regards,
Godmode
Last edited by Godmode_1; 13th November 2011 at 20:59.
The best way:
Explaining the tutorial
1 - Do not put your arc sfx in Files & Dirs dont!
2 - Go to Install Run Section and
3 - Create New Item and put these commands ( like in the image )
{src}\DATA.exe
-x -d"{app}" -y -s2
To create subfolders
example ( thanks to pakrat2k2 )
-x -d"{app}"\BmGame\Movies -y -s2
PD : DATA . exe is an example (name of your choice.exe)
4 - Your ARC SFX archive must be in the Output folder of your project Inno Setup
At the end of the installation runs automatically the decompression of The Sfx
Edit: Nevermind. I was blind a little bit.
I have an .arc file,created with precomp038+srep+"default lzma". (Using FA V0.67 2011-november-12)
How can i unpack it using ISDone ? (afaik ISDone can unpack this type of archive without creating huge PCF-SREP-TEMP file(s). Am i right ? Feel free to correct me if im wrong)
Last edited by qqbenko; 25th November 2011 at 19:04.
@ maxidark:
Sry mate, but this is not exactly what I had in mind. I was searching for a way to compress the data with srep + precomp + FA in one step, then DECOMPRESS it using ISDone/cls-srepinside/cls-precompinside, as intended by the creators of ISDone. It should NOT require a seperate exe file. But since the next Alpha version of FA will have GUI switches for srep and precomp, I guess this will solve my problem. Thx for your effort though.![]()
@ qqbenko:
ISDone can do that easily. Just uncomment '#define srepinside/precompinside' at the start of your script, then add a normal 'ISArcExtract ...' line in the Code section. Make sure that you include the SAME srep/precomp.exe in your setup as the ones you used for creating the archive. Last but not least, you have to add a [precomp] section to the arc.ini file included in your setup.
Hope that helps.
Regards,
Godmode
Hello, Can you please explain how can I add that line,
i.e. this line comes only for srep into arc.ini
How can I change it to Precomp ?Code:[External compressor:srep]packcmd = srep {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp unpackcmd = srep -d - - <stdin> <stdout>
[External compressor:srep]
header = 0
packcmd = srep64 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
[External compressorrecomp]
header = 0
packcmd = precomp -slow -t-j -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
guys, I had problem about ISDone... I have an arc file created with arc+precomp+srep, and I want to extract it using ISDone but always failed... It's hard to me to check where is the error come from since error message always in russian... please correct my code, any help would great thankx...![]()
Last edited by takumi satou; 16th June 2012 at 17:09.
How to extract free arc archives using INNO SETUP ?
I mean - which codes in which section in inno setup..