View Single Post
  #153  
Old 15-07-2012, 00:40
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
Damn Born_inSANE! Sorry man, but you're not nØØb, you're NØØB.

First. Use built-in attachement systen instead of mediafire.

Second. In your setup.ini
Code:
FreeArcFile1={src}\Data1.cab;C:\Program Files (x86)\Ubisoft:{app};Disk:1;PrecSrep:1
should be
Code:
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;PrecSrep:1
What the hell for you changed DestDir to C:\Program Files (x86)\Ubisoft? DestDir is a variable and {app} is its value! Moreover, {app} means the path defined during installation.
So if someone want to install your Far Cry 2 to E:\Any_folder\Another_folder and type it during installation, then {app} means E:\Any_folder\Another_folder and Data1.cab will be extracted to E:\Any_folder\Another_folder
If Data1.cab should be extracted to any subfolder of installation path, i.e. Movies, then
Code:
FreeArcFile1={src}\Data1.cab;DestDir:{app}\Movies;Disk:1;PrecSrep:1
will extract content of Data1.cab to E:\Any_folder\Another_folder\Movies

Third.
Quote:
Originally Posted by Born_inSANE View Post
I got error while directly compressing srep to cab.


<facepalm>

Here is solution for your... ekhem... error
Untitled - 1.jpg

I give up. Over and out.

Last edited by BAMsE; 15-07-2012 at 00:44.