Quote:
Originally Posted by sentinelks
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?