FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   How to add data1.bin to script (https://fileforums.com/showthread.php?t=98458)

Fakhruddinmaruf_ 29-10-2016 22:43

How to add data1.bin to script
 
1 Attachment(s)
how to add result of external compression (data1.bin) to Inno setup script?
what codes to add in script?
http://fileforums.com/attachment.php...1&d=1477806147
sorry for my bad english. thanks

mcc26 30-10-2016 01:45

Gan.. mungkin itu bisa pakai ini gan (Mungkin saja ya bisa)..

Quote:

//if not ShowChangeDiskWindow ('insert disk (1) - data1.bin', ExpandConstant('{src}'),'data1.bin') then break;
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
(*
if not IS7ZipExtract ( 0, 0, ExpandConstant('{src}\CODMW2.7z'), ExpandConstant('{app}\data1'), false, '') then break;
if not ISRarExtract ( 0, 0, ExpandConstant('{src}\data_*.rar'), ExpandConstant('{app}'), false, '') then break;
if not ISSRepExtract ( 0, 0, ExpandConstant('{app}\data1024_1024.srep'),ExpandC onstant('{app}\data1024.arc'), true) then break;
if not ISPrecompExtract( 0, 0, ExpandConstant('{app}\data.pcf'), ExpandConstant('{app}\data.7z'), true) then break;
if not ISxDeltaExtract ( 0, 0, 0, 640, ExpandConstant('{app}\in.pcf'), ExpandConstant('{app}\*.diff'), ExpandConstant('{app}\out.dat'), false, false) then break;
if not ISPackZIP ( 0, 0, ExpandConstant('{app}\1a1\*'), ExpandConstant('{app}\1a1.pak'), 2, false ) then break;
if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\Arc.exe'), ExpandConstant('x -o+ "{src}\001.arc" "{app}"'), ExpandConstant('{tmp}'), '...',false) then break;

*)


All times are GMT -7. The time now is 21:30.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com