FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Blackbox Inno Setup Script (https://fileforums.com/showthread.php?t=94425)

sentinelks 15-10-2013 19:09

coliotte

File ini

1 file
if not ISArcExtract ( 0, 100,

2 file
if not ISArcExtract ( 0, 50,
if not ISArcExtract ( 0, 50,

5 file
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,

you divide ... a file flows up to 100%, if you divide / 50 a file ends at 50 and the second will come to 100

sentinelks 15-10-2013 20:37

done
 
Quote:

Originally Posted by hsalheen (Post 424438)
please could you write it for me in the script and resend it back?

done

sentinelks 16-10-2013 08:14

hsalheen

It was just a method to read the MB, is not a solution .. I prefer the manual method, so I insert the perfect size .. needsize is not good to read the size of the games, it's just an embellishment that serves no purpose :)

thenokiottos 16-10-2013 15:30

If i have two disks, which should i put the redist folder into?

coliotte 17-10-2013 05:31

Quote:

Originally Posted by sentinelks (Post 424437)
coliotte

File ini

1 file
if not ISArcExtract ( 0, 100,

2 file
if not ISArcExtract ( 0, 50,
if not ISArcExtract ( 0, 50,

5 file
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,
if not ISArcExtract ( 0, 20,

you divide ... a file flows up to 100%, if you divide / 50 a file ends at 50 and the second will come to 100

Where Can I find This "file.ini" ???

coliotte 17-10-2013 08:43

Quote:

Originally Posted by hsalheen (Post 424520)
Archives.ini



http://i.imgur.com/IuCYRMA.jpg

Evil Boy 17-10-2013 08:47

1 Attachment(s)
But Recently black Box changed their installer. (attached)

Kurutucu 17-10-2013 08:52

@Evil Boy

It's V2. But I'm cancelled V2. ;)

@coliotte

Use inno setup unicode version. If you already using close all Inno setup executables. Open & compile.

Joe Forster/STA 17-10-2013 11:57

Quote:

Originally Posted by Evil Boy (Post 424524)
But Recently black Box changed their installer. (attached)

Clean: https://www.virustotal.com/en/file/8...is/1382036175/

sentinelks 17-10-2013 12:27

myself in a black box v2 I caught a deadly virus

do not recommend to use games that contain bb V2

M3HDI 18-10-2013 14:57

i configed the Archive.ini with this code :
Quote:

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Data1.cab') then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Data1.cab'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Data2.cab') then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Data2.cab'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 3 To Continue...', ExpandConstant('{src}'),'Data3.cab') then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Data3.cab'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 4 To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\Data4.cab'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
because i want use for 4 DVDs game
when runing the setup and Data1.cab has been extract
Setup display to me a window for next file
but this window NO Have OK Button and just have 2 button (Browse&Cancel)
how to add the button in the Setup?

sentinelks 18-10-2013 17:14

Quote:

Originally Posted by M3HDI (Post 424581)
i configed the Archive.ini with this code :

because i want use for 4 DVDs game
when runing the setup and Data1.cab has been extract
Setup display to me a window for next file
but this window NO Have OK Button and just have 2 button (Browse&Cancel)
how to add the button in the Setup?

you should create a form to pathedit .. this is a solution for the disk change

varma1993 18-10-2013 23:46

hay can u make this old blackbox inno script with slides & video please

http://s14.postimg.org/n436podxt/Capture_2.jpg
http://s12.postimg.org/p78bq71el/Capture.jpg

M3HDI 19-10-2013 01:37

Quote:

Originally Posted by sentinelks (Post 424596)
you should create a form to pathedit .. this is a solution for the disk change

tnx for answer
plz put the form or a tutorial link

nelsit 19-10-2013 23:25

I add #define 7ZIP and #ifdef unrar
ExtractTemporaryFile('Unrar.dll');
#endif
#ifdef 7ZIP
ExtractTemporaryFile('7z.dll');
ExtractTemporaryFile('PackZIP.exe');
#endif

I have this error. [ISPP] Identifier Expected but number 7 (0x07) found.


All times are GMT -7. The time now is 08:24.

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