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