View Single Post
  #124  
Old 11-07-2012, 09:29
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
NiTroViouSiX, Born_inSANE you don't need to
Code:
Compress all files in Data.arc
 -> Compress Data.arc in Data.pcf
 -> Compress Data.pcf in Data.srep
 -> Compress Data.srep in Data.cab
This process is used to gain better compression ratio.

If you really need it, so, here you go:
1. compress files with freearc and zero compression (output file i.e. data321.arc)
2. compress data321.arc with precomp (output file: data321.pcf)
3. compress data321.pcf with srep (output file: data321.srep)
4. compress data321.srep with freearc and some strong compression (output file: data321.cab)

Remember to modify setup.ini
Code:
FreeArcFile321={src}\Data321.cab;DestDir:{app};Disk:1;PrecSrep:1
NiTroViouSiX it's easy:

Code:
Launch1=My program                            ---> name of the redist program shown near the checkbox in installer  
Launch164=0                                   ---> 32/64 bit application switch 
Launch1BeforeInstall=1                        ---> should be redist program installed before or after main installation
LaunchCom1=redist\MyProgram\myprogram.exe     ---> path to the exe
LaunchArg1=/silent                            ---> additional arguments i.e. for silent installation (usually you can get it by executing myprogram.exe with /? argument

Last edited by BAMsE; 11-07-2012 at 09:56.