View Single Post
  #726  
Old 18-01-2014, 01:48
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
if not IS7ZipExtract ( 0, 25, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}\'), false, '') then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'), ExpandConstant('{app}\data1.pcf'), true) then break;
if not ISPrecompExtract ( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}\'), '', true, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

7Zip can contain more than 1 file.

and there might something wrong.

when compressing

7Zip > Precomp > Srep > Arc

when decompressing it has to be in reverse

Arc > Srep > Precomp > 7Zip

The steps either compressing or decompression may be incorrect.

I suggest to replace 7Zip with Arc

Last edited by Razor12911; 18-01-2014 at 01:53.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
y_thelastknight (18-01-2014)