Thread: BlackBox v2
View Single Post
  #12  
Old 15-02-2015, 09:19
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 30
Thanks: 29
Thanked 39 Times in 17 Posts
nordi is on a distinguished road
to add more Setup.bin files in the package... (NOT IN THE "DESIGNER" OR ?!)

Change the included Archives.ini !

Original:

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup.bin') then break;
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Setup.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
//if not IS7ZipExtract ( 0, 100, ExpandConstant('{src}\Setup.bin'), ExpandConstant('{app}'), false, '') then break;
//if not ISRarExtract ( 0, 100, ExpandConstant('{src}\Setup.bin'), ExpandConstant('{app}'), false, '') then break;



Changed (2 Setup.bin`s) :

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
//if not IS7ZipExtract ( 0, 100, ExpandConstant('{src}\Setup.bin'), ExpandConstant('{app}'), false, '') then break;
//if not ISRarExtract ( 0, 100, ExpandConstant('{src}\Setup.bin'), ExpandConstant('{app}'), false, '') then break;


Note:
the 50 is percent (%), when you let it on 100 ... the Setup will break after first file...
expample:
when you will add 5 Setup.bin`s you have to change it to 20, and so on...

Last edited by nordi; 15-02-2015 at 09:39.
Reply With Quote