View Single Post
  #659  
Old 24-11-2013, 01:26
ncuz00 ncuz00 is offline
Registered User
 
Join Date: Jul 2012
Location: Indonesia
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
ncuz00 is on a distinguished road
Quote:
Originally Posted by sentinelks View Post
x4dvd

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Setup-4.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;


Setup-1.bin,2,3,4 or data1.bin,2,3,4

i dont need to add

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;

after

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break; ?

one more, see the bold one

set arc=data1.bin
if exist .\DVD1\%arc% goto data2
arc a -ep1 -r -ed -ld -w.\ -msrep64+precomp+lzma:a2:mfbt4:d256m:fb128:mc1000:l c8 [email protected] -xunins* -dp"%choice1%" .\DVD1\%arc%
if ERRORLEVEL 1 goto arcfail
:end

in your script

set arc=data1.arc
if exist .\DVD1\%arc% goto data2
arc a -ep1 -r -ed -ld -w.\ -msrep64+precomp+lzma:a2:mfbt4:d256m:fb128:mc1000:l c8 [email protected] -xunins* -dp"%choice1%" .\DVD1\%arc%
if ERRORLEVEL 1 goto arcfail
:end

am i correct to change it?

Last edited by ncuz00; 24-11-2013 at 01:34.
Reply With Quote