|
#11
|
|||
|
|||
|
hi all !
im in trouble.... i cant unpack my archives using the default isdone script,although it works fine with precomp/srep/lzma,etc. if i use any extrenal compressors,it says : error-2.png My .ISS looks like this : #define zstd [Setup] [Files] #ifdef zstd Source: Include\zstd.exe; DestDir: {tmp}; Flags: dontcopy Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy #endif [Code] #ifdef zstd ExtractTemporaryFile('zstd.exe'); ExtractTemporaryFile('arc.ini'); #endif if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break; end; Upon execution ,setup unpacks the arc.ini ,zstd.exe ,everything ,but the result is the above picture. I tried to change the unpack command to : if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break; Doesnt help. The only working method for me is : if not ISExec(0, 0, 0, ExpandConstant('{tmp}\arc.exe'), ExpandConstant('x -o+ -cfg"{tmp}\arc.ini" -w"{app}" -hp"mypw" -dp"{app}" "{src}\data1.arc"'), ExpandConstant('{tmp}'), '...', False) then break; But its pretty ugly. Is there any other way to extract my archives using ISArcExtract function ? Arc.ini content : [External compressor:zstd] header = 0 unpackcmd = zstd -d -f <stdin> <stdout> Thanks in advance ! |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The ONLY Half-Life 2 Thread. Do Not Create New Threads | JoyBoy | PC Games | 286 | 25-03-2005 05:49 |
| Official Sims 2 Thread | JoyBoy | PC Games | 229 | 25-10-2004 16:01 |
| 'Official' CM4 Thread - Do Not Create New Threads | Fila | PC Games | 119 | 23-07-2003 06:33 |