By looking the setup.ini file provided in the newest setup code, I've noticed the following:
Code:
FreeArcFile1={src}\Movies.cab;DestDir:{app};Disk:1;PrecSrep:0
It seems that switching that "0" to "1" will enable PreComp and SRep compressions.
Plus, by reading this:
Quote:
Originally Posted by yener90
PrecSrep feature:
first create a ARC file with no compression -> extension must be arc
then create precomp and at least srep file
compress srep file using freearc with the extension that you want.
IMPORTNANT the names must be always the same.
example: Deadisland.arc -> DeadIsland.pcf -> DeadIsland.srep -> DeadIsland.cab or DeadIsland.arc
|
I suppose that will do the trick.
I haven't seen the coding part yet, but I suppose that, if no "*.srep" file is present, then the IsDone functions will just "skip" that and start PreComp de-compress.
I'll enjoy the chance and ask if there is a way
to make a "cab" file uncompress ONLY when we select a specific language.
I mean, let's consider that I've created three different cabs, "lang_eng.cab" (English), "lang_esp.cab" (Spanish) and "lang_ger.cab" (German). Is that possible to this installer to unpack
only "lang_eng.cab" when select "english" in the lang selector, or "lang_esp.cab" when select "spanish" language, and so on?