PDA

View Full Version : Blackbox Inno Setup Script


Pages : 1 2 3 [4] 5

LuzhinE
23-02-2014, 06:08
Install K-lite Codec Pack

I'll try, thanks for your quick response

Lyrinx
23-02-2014, 17:10
How can I get a slideshow of the page for the progressbar?
Like this for example:

http://yuq.me/users/29/145/JQgUMsW9Tv.png

http://yuq.me/users/29/145/70vDNK4qZk.png

Razor12911
26-02-2014, 09:13
you don't get it, you make that. you use isslideshow and botva2 for progressbar else cjstyle theme for progressbar

acidburn666
02-03-2014, 19:06
How to change default as compact mode ?

make the TCheckBox checked.

Adding Line "CompactCheckbox.Checked := True" in Installation Chapter gives "Null Pointer Exception".

Any Ideas how to fix that? Want to build a nice clean Installer only in Compact Mode.

thx

Razor12911
02-03-2014, 20:22
maybe you need to add that line after the checkbox is created.

Lyrinx
06-03-2014, 06:12
About that Slideshow again, let me rephrase the Question "How do I make that?" I can only find incomplete stuff or the finished script for the Background Slideshow. Tutorials etc. for Inno are lackluster at best

Razor12911
06-03-2014, 13:58
here is an example.

Lyrinx
06-03-2014, 14:44
Thank you

EDIT: Sigh I still can't get it to work, I have no clue how to implement the code

Lyrinx
07-03-2014, 19:42
I Just creaed 5 setup.bin's using precomp43 because 42 gave me an error everytime. Then I added precomp43 to includeand compiled the Main 43 version, it compiled fine but the installer does not extract anything and just closes after a while

shimura
10-03-2014, 10:31
got 1 question is it possible to make an progress bar for arc+precomp+arc version
i got around 2,4gb and while it uncompresin and precomping (around 2min) progress stuck on 0% after precomp'ing it goes up

nvm solved: downloaded lastest CLS-precomp.dll with injected precomp + dll version

thenokiottos
12-03-2014, 09:03
Sometimes when i try to compress files with Kurutucu compressor and then extract with blackbox setup it crashes during installation. Through many trials i saw that if i made small enough archives it didn't happen. Does anyone know the cause for this? The last time i tried to compress 2 gb of files and it crashed.

61n4n74r
17-03-2014, 00:38
hey guys.. please help..
i got ""Null Pointer Exception" error before installing my compiled game/after launch setup.exe...
how to fix it?
thanks...

shimura
19-03-2014, 11:28
I have no green progresbar, how to fix this issue?

Razor12911
19-03-2014, 11:32
I have no green progresbar, how to fix this issue?

cjstyles has taken over the current progress bar texture or color. it can't be changed else if you change or mod cjstyles theme

shimura
19-03-2014, 11:42
would You be so kind to fix this issue?
I didnt mod I use your template with all files

i mean bottom green progresbar on bottom taskbar, i might be misunderstanding

Razor12911
19-03-2014, 11:46
Do you want to keep the grey background with green progress bar?

shimura
19-03-2014, 11:54
I would like to see progres in any color, even like this
http://s28.postimg.org/i4sk9kga5/123.jpg

Razor12911
19-03-2014, 11:56
Then you may need to remove skin,

find something like LoadSkin blah blah blah,

put this // then compile setup.

shimura
19-03-2014, 11:59
ok thx I will investigate in this later

Danik1B9
22-03-2014, 18:56
Hi here is my compressor and modified scripts ... (CZ)
http://uloz.to/xLFPncTk/repack-data-rar

blackfire219
24-03-2014, 23:38
Hello. I want to ask if where can I download the modified version of Inno Setup Compiler, because I will use it to restrict unpacking of my repacks.

Razor12911
25-03-2014, 08:09
here (http://fileforums.com/showpost.php?p=418194&postcount=16)

Emorian
26-03-2014, 15:52
Hello!

can not be logo.bmp logo.png from replaced? (off switch?)
how to add logo.png?

now:
ExtractTemporaryFile ('logo.bmp');
WizardForm.WizardBitmapImage2.Width := ScaleX(230);
WizardForm.WizardBitmapImage2.Height := ScaleX(55);
WizardForm.WizardBitmapImage2.Top:=340;
WizardForm.WizardBitmapImage2.Left:=5;
WizardForm.WizardBitmapImage2.Bitmap.LoadFromFile( ExpandConstant('{tmp}\logo.bmp'));
WizardForm.WizardBitmapImage2.Parent:=WizardForm;

Razor12911
26-03-2014, 20:24
you need to use botva2 or islogo to use png logo

Emorian
26-03-2014, 21:16
How do I add?
thank you, write it down here!

please write here script format, thank's

Emorian
28-03-2014, 15:05
..

Hello! (kardeş)
How to Change the Font?
Here, the method can only captions ..

Please help, thank you!

Razor12911
29-03-2014, 08:34
Hello! (kardeş)
How to Change the Font?
Here, the method can only captions ..

Please help, thank you!

visit and get information for a certain label in the script.

from the information, you got, use the LabelsName.Font.Name:='Your Font Name';

Done.

blackfire219
29-03-2014, 23:15
Hello! I want to ask for the correct code in loading isskin. I want to put the Codejock.cjstyles that I extracted from the ISSkin installer to my installer. But it does not load the skin when I initialize the setup, anyone can help me please?

EDIT- Never mind. I used Inno Script Studio, so no more problems on ISSkin.

Emorian
30-03-2014, 09:50
visit and get information for a certain label in the script.

from the information, you got, use the LabelsName.Font.Name:='Your Font Name';

Done.

Not work.. (Black_Box_Script_By_Kurutucu_V1.8)
you do not want to use only the internal letters ..

blackfire219
04-04-2014, 02:29
Anyone can help me here in this dumped code from Naruto Storm 3 Full Burst-FLT release? I am getting error on registry entries so I want your help.
http://www41.zippyshare.com/v/22051199/file.html

pakrat2k2
04-04-2014, 05:11
dumped code is useless... post what you have entered in your [registry] section from the script. Then we can see where the errors may be.

blackfire219
04-04-2014, 21:34
dumped code is useless... post what you have entered in your [registry] section from the script. Then we can see where the errors may be.

Here's the link for my script and the stated registry error while compiling;
http://www.mediafire.com/download/a9dkykt23xamlyy/Script+and+Error+photo.7z

The registry was extracted from Fairlight release of Naruto Storm 3 Full Burst. I am only repacking it because sometimes it gets the stage.cpk file being corrupted after the installation. So I replaced the stage.cpk file with my friend's legit copy of that game. I think there was an embedded descriptor code about that {code: DefaultIPCountry} valuedata constant.

nitrogen blaze
27-04-2014, 01:20
when i compile main.iss it shows
line 138
column 1
identifier expected

y_thelastknight
27-04-2014, 08:41
when i compile main.iss it shows
line 138
column 1
identifier expected

use unicode version of inno setup..

Snipunk
03-05-2014, 11:37
How do I Change slideshow timer?
Images change after 1 second and i'm not familiar enough to pascal script top change it.

mausschieber
03-05-2014, 12:28
How do I Change slideshow timer?
Images change after 1 second and i'm not familiar enough to pascal script top change it.

in sript search for this

-->TimerID:=SetTimer(0, 0, 2000, WrapTimerProc(@OnTimer, 4))
replace the 2000 with 5000 for the slideshow
that is to change the seconds

tawcf1993
22-05-2014, 00:42
could the script show needed space with decimal? like 9.34GB

TsubasaHP
29-05-2014, 03:23
Hi,Guys, I have a question.

I have a file. The size of it 5.5GB.
I want to split it in 2xDVD5 and use this script for installation.
how can I do this?

y_thelastknight
29-05-2014, 10:41
Hi,Guys, I have a question.

I have a file. The size of it 5.5GB.
I want to split it in 2xDVD5 and use this script for installation.
how can I do this?

do you want use internal compression or freearc?

if you want internal then add these line under [Setup] section

Compression=lzma2/ultra64
DiskSpanning=yes
SlicesPerDisk=3
DiskSliceSize=1566000000

or try to compress it with freearc+srep. sometimes it might help you reduce the size.

TsubasaHP
29-05-2014, 11:22
do you want use internal compression or freearc?

if you want internal then add these line under [Setup] section



or try to compress it with freearc+srep. sometimes it might help you reduce the size.

oh, thank you very much,

it seems there is no way expect internal compression,
i trid all external compression methods. it's not smaller then more 5GB .

y_thelastknight
29-05-2014, 11:56
oh, thank you very much,

it seems there is no way expect internal compression,
i trid all external compression methods. it's not smaller then more 5GB .
hm, if you want to use external compression there is alternative solution for it

1, compress the and split the original file with winrar.
2, compress the splitted rar files with freearc
3, use the installer to extract the arc files to installation directory
4, again use the installer to extract the spilitted rar file into installation directory from installation directory.

TsubasaHP
29-05-2014, 12:18
hm, if you want to use external compression there is alternative solution for it

1, compress the and split the original file with winrar.
2, compress the splitted rar files with freearc
3, use the installer to extract the arc files to installation directory
4, again use the installer to extract the spilitted rar file into installation directory from installation directory.

i think it is not a good idea ,

But another question
i read in Razor12911 tutorial :

" This blackbox script/installer doesn't support internal compression "

now how should I do?

y_thelastknight
29-05-2014, 12:32
i think it is not a good idea ,

But another question
i read in Razor12911 tutorial :

" This blackbox script/installer doesn't support internal compression "

now how should I do?

rofl..
it support but some bugs is there :p
and what script file is you are using?

TsubasaHP
29-05-2014, 12:44
rofl..
it support but some bugs is there :p
and what script file is you are using?

i am using "Main.iss" Script that include attached files

sorry...i'm asking a lot of question.

y_thelastknight
29-05-2014, 12:51
i am using "Main.iss" Script that include attached files


just main.iss ?


sorry...i'm asking a lot of question.

its fine with me. :)

TsubasaHP
29-05-2014, 13:02
just main.iss ?

I'm not starting yet,
but...should i use another things?

I'm not very familiar with Internal compression.

y_thelastknight
29-05-2014, 13:07
give me some minutes. i give you the main.iss with internal compression support :)

y_thelastknight
29-05-2014, 13:16
here is the updated main.iss for internal compression only..Main_v1.9.iss

if you want use the internal compression use this Main_v1.9.iss
else use the original main.iss file for external compression.

Main_v1.9.iss has a external compression bug :p :/

TsubasaHP
29-05-2014, 13:27
here is the updated main.iss for internal compression only..Main_v1.9.iss

if you want use the internal compression use this Main_v1.9.iss
else use the original main.iss file for external compression.

Main_v1.9.iss has a external compression bug :p :/

Thanks a lot for your ethereality :)

y_thelastknight
29-05-2014, 13:40
Thanks a lot for your ethereality :)

:)

prince8889
01-06-2014, 10:14
Please , , ,

How Can I Specified AppSize Exactly Size . . . Not 1 , 2 , 3 , 4 or 5 Giga

I need it For example 4.65 gb

exorc
06-06-2014, 02:55
How to decompress two archives?

Example, setup-1.bin and setup-2.bin?

Sorry for my english...

drexx
06-06-2014, 05:29
Hi all.., how can i remove Music and splash screen?

Shadow Delta
06-06-2014, 06:57
Please , , ,

How Can I Specified AppSize Exactly Size . . . Not 1 , 2 , 3 , 4 or 5 Giga

I need it For example 4.65 gb

How to decompress two archives?

Example, setup-1.bin and setup-2.bin?

Sorry for my english...

Hi all.., how can i remove Music and splash screen?

For the app size specification, well i was not able to get that ok, but using this small tool here helped me to get over with that and just have to give the app size from gb to mb and you will be clean.
And also for the removal of the splash and voice, you can just completely depend on the tool, and for extracting more than 1 archive you just have to edit the archives.ini file
The tool : http://fileforums.com/showthread.php?t=95595

add these onto you're archives.ini file and it will help with adding more archives.

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

There you go for two files.
And well most of the times that gave me an isdone.dll error at the end of the extraction, but i presume modifying these lines and adding them according to the archives in the list can help to solve it.

if not IS7ZipExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), false, '') then break;
if not ISRarExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), false, '') then break;

Add in these lines accordingly and that might help you with that.

lhanz678
12-06-2014, 22:36
hi anybody can give me precompinside 0.3.1(CLS-precomp.dll) TIA :)

updated i found it :) https://www.dropbox.com/s/h0fjr2wajtrkh22/PrecompInside0.31.7z

rafikhan
14-06-2014, 05:26
I need script like blackbox inno script and some new script to extract directly from .arc compressed file with freearc software.
can anybody help me...??

Shadow Delta
17-06-2014, 22:06
I need script like blackbox inno script and some new script to extract directly from .arc compressed file with freearc software.
can anybody help me...??

You are already on the blackbox Script thread, and Please clarify more about the question there bro, new script to extract directly from .arc file with freearc? Not getting what you actually meant to say. So please elaborate a bit. help might come to you in no time, if the question is understandable enough. :)

macullun
20-06-2014, 21:11
I have a problem to extract 001 file. Its always "failed to open the archive in the module IS7zipExtract"

*WatchDogs windy_city.dat.001 - 005

y_thelastknight
21-06-2014, 04:15
you can't extract split-ed files mate.

macullun
21-06-2014, 07:23
you can't extract split-ed files mate.
So with this script we can't Join 001 split-ed files with 7ZipExtract like BAMsE did in WatchDogs

Thx for the fast response mate :)

y_thelastknight
21-06-2014, 09:23
So with this script we can't Join 001 split-ed files with 7ZipExtract like BAMsE did in WatchDogs

Thx for the fast response mate :)

this script used ISDone, that doesn't extract split-ed files..

BAMsE should used some others method so it extract split-ed 7zip :p (i dont know what he used)

no problem mate..

achal1995
26-06-2014, 07:20
How can i design my own skin for my repacks....... how can i make my own "skin.cjstyle"...and...which software should i use....
please reply i am stuck at this point...

y_thelastknight
26-06-2014, 16:41
How can i design my own skin for my repacks....... how can i make my own "skin.cjstyle"...and...which software should i use....
please reply i am stuck at this point...


Use IS Skin, you can get it from the link..

http://isskin.codejock.com

achal1995
27-06-2014, 06:39
[QUOTE=y_thelastknight;432157]Use IS Skin, you can get it from the link..

[url]http:
Thank u for ur help....i tried that software but i am not able to export that cjstyle file that i customized.....do u know any video tutorials....or any documented help on this software....

Rishabh1299rtech
28-06-2014, 08:32
kurutucu and razor are the best

rafikhan
28-06-2014, 23:00
DATA.DAT 7GB arc -m0
DATA.PCF 12GB precomp043 -cn -intense
DATA.ARC 1GB arc -mx
______________
great compressor

achal1995
29-06-2014, 00:49
does anyone knows.....how can i customize the looks of my installer.....

Brijesh
05-07-2014, 20:44
how to create short of exe file on desktop when exe file of the game is in bin folder

Shadow Delta
05-07-2014, 20:48
how to create short of exe file on desktop when exe file of the game is in bin folder

Use {app}\bin\game.exe file

rxlord
15-07-2014, 23:56
I want trying to edit your skin in isskin but i wasnt able to change the main body color.Any hints?

ZeD1818
02-08-2014, 02:55
Help !
I created 2 bin files Setup-1.bin and Setup-2.bin but my setup.exe only installing Setup-1.bin not Setup-2.bin. How can I fix it to install both setup.bin files

y_thelastknight
02-08-2014, 04:18
Help !
I created 2 bin files Setup-1.bin and Setup-2.bin but my setup.exe only installing Setup-1.bin not Setup-2.bin. How can I fix it to install both setup.bin files

edit your Archives.ini file..

ZeD1818
02-08-2014, 22:31
edit your Archives.ini file..

Sir your help really worked out but there is another problem I am facing now is this


This is my archives.ini code

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

y_thelastknight
03-08-2014, 00:17
ZeD1818
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

you have to edit these..total must be 100 ( but your total should be like 150, i dont understand why it is 160 :O)

if there are 2 archive then you have to put 50+50

3 archive mean 1st archive 34 + 2nd archive 33 + 3rd archive 33 = total 100

try to change it and check

i hope you understand my english :)

ZeD1818
03-08-2014, 05:35
ZeD1818
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

you have to edit these..total must be 100 ( but your total should be like 150, i dont understand why it is 160 :O)

if there are 2 archive then you have to put 50+50

3 archive mean 1st archive 34 + 2nd archive 33 + 3rd archive 33 = total 100

try to change it and check

i hope you understand my english :)

Actually my setup get complete at 200% while using the code mention above :D|

Thanks for your help now I can get a 100% complete ratio :)

y_thelastknight
03-08-2014, 06:09
Actually my setup get complete at 200% while using the code mention above
and second thing, should I change values like 0, 50 and 0,100 or 0,50 and 50,100

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then brea

change like this..only color part must be changed..

ZeD1818
04-08-2014, 15:21
I am using Arc format to compress games can you tell how can I add 7zip
also how can I increase compression rate of arc format ?
Thank you

Zorkanne
14-08-2014, 21:51
I Need help when using precomp 0.43 it take lots of time to extract
and it's stuck at 0% for to long time ?
is there anything to do to that ?

Same for me. I'm using precomp 0.43
The extraction takes forever. And it stops halfway through (the installer just...disappears.)

Need help please.

EDIT:
I solved that disappering installer thing by using another compression method with a specific file wich was causing it to disappear.

But the extraction still takes 2 to 3 hours, that's too long!

I use an external compression ( Razor's compressor ) and here's the compression method I use
-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8

And when this doesn't work (sometimes it doesn't create the compressed file...), I use this:
-msrep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc1000:l c8

wickedclown
16-08-2014, 19:33
need help linking a new check-box to read-me file on the last page. I do have the new check-box made and got it showing on last page Ive tried the task, component, and run.I think need to add code to the procedure InitializeWizard(); area but im not sure. there's a missing link some where i got the check-box and im able to get the read-me file but it always runs at the end so got both how to link them?
The isreadme flag makes it always launch but a regular installer it would make a check-box for the read-me.

any ideas cant release my new version until i get my read-me working :)

Adonix
17-08-2014, 21:39
Can't we use latest version of precomp, srep and freearc beta in compression ?
As precomp and srep given in Kurutucu Compressor are little old !

Adonix
18-08-2014, 00:11
Please help :(
whenever trying to compress a folder, it's saying..
http://i.imgur.com/dF3W4DK.jpg

Please fix :(

i am stuck :(

i am using Kurutucu Compressor given in attached file.

y_thelastknight
18-08-2014, 08:49
Please help :(
whenever trying to compress a folder, it's saying..
http://i.imgur.com/dF3W4DK.jpg

Please fix :(

i am stuck :(

i am using Kurutucu Compressor given in attached file.

bro use razor's quick archive packer, its easy to use..
and im not good with compression bro. sorry :(

http://fileforums.com/showthread.php?t=95288

Adonix
18-08-2014, 18:53
bro use razor's quick archive packer, its easy to use..
and im not good with compression bro. sorry :(

http://fileforums.com/showthread.php?t=95288

no it's also not working.
please give solution for this !!

Adonix
18-08-2014, 21:21
Please update the compressor by inserting these below latest tools, on fileforums, no compressor contains these latest tools :(

Precomp v0.4.3
packJPG v2.5f
Srep 3.2
zlib 1.2.8

And please someone solve precomp error, everytime precomp stops working after reaching 10.1% :'(

Razor12911
18-08-2014, 23:59
Please help :(
whenever trying to compress a folder, it's saying..
http://i.imgur.com/dF3W4DK.jpg

Please fix :(

i am stuck :(

i am using Kurutucu Compressor given in attached file.
It is very simple, precomp cannot proceed with a particular file so it crashes before it can process it. rather look for that particular files and remove it or just remove the precomp in the compression method or use a different precomp version.

Hope it works

Adonix
19-08-2014, 01:07
It is very simple, precomp cannot proceed with a particular file so it crashes before it can process it. rather look for that particular files and remove it or just remove the precomp in the compression method or use a different precomp version.

Hope it works

Please tell the types of file which is not supported by precomp or please tell other method :'(

Because if i am using only srep+freearc then there is very low level compression :(

Please guys help your friend !!!

Adonix
19-08-2014, 02:47
hey guys.. please help..
i got ""Null Pointer Exception" error before installing my compiled game/after launch setup.exe...
how to fix it?
thanks...

SAME PROBLEM, WHENEVER LAUNCHING SETUP I HAVE CREATED, IT'S SAYING "Null Pointer Exception"
http://i.imgur.com/P7ae6Aw.jpg


PLEASE GUYS YOUR FRIEND NEEDS HELP.

MOREOVER INSTALLER IS NOT COMING IN GOOD WAY : http://i.imgur.com/amPBN5w.jpg
PLEASE HELP TO FIX THE INSTALLER DESIGN :'(

y_thelastknight
19-08-2014, 03:38
Please tell the types of file which is not supported by precomp or please tell other method :'(

Because if i am using only srep+freearc then there is very low level compression :(

Please guys help your friend !!!

i think jpg is one of the file type precomp doesn't support

Adonix
19-08-2014, 03:52
i think jpg is one of the file type precomp doesn't support

No there is no jpg type file,.i checked.

Adonix
20-08-2014, 08:33
PLEASE GUYS i NEEDS HELP.
Installer worked well now :)
Just 1 error...
INSTALLER IS NOT Looking nice, as shown in post : http://i.imgur.com/amPBN5w.jpg
PLEASE HELP TO FIX THE INSTALLER DESIGN :'(

altef_4
20-08-2014, 09:20
PLEASE GUYS i NEEDS HELP.
Installer worked well now :)
Just 1 error...
INSTALLER IS NOT Looking nice, as shown in post : http://i.imgur.com/amPBN5w.jpg
PLEASE HELP TO FIX THE INSTALLER DESIGN :'(

seems like problem not in installer itself, maybe in OS or video drivers or ...just because using paint to erase some words on picture

y_thelastknight
20-08-2014, 10:31
PLEASE GUYS i NEEDS HELP.
Installer worked well now :)
Just 1 error...
INSTALLER IS NOT Looking nice, as shown in post : http://i.imgur.com/amPBN5w.jpg
PLEASE HELP TO FIX THE INSTALLER DESIGN :'(

i really don't know mate..

Djc3100
20-08-2014, 18:58
PLEASE GUYS i NEEDS HELP.
Installer worked well now :)
Just 1 error...
INSTALLER IS NOT Looking nice, as shown in post : http://i.imgur.com/amPBN5w.jpg
PLEASE HELP TO FIX THE INSTALLER DESIGN :'(

You gonna to update the inno setup unicode the last version it! Second, Update your drivers!

Adonix
20-08-2014, 19:00
seems like problem not in installer itself, maybe in OS or video drivers or ...just because using paint to erase some words on picture

Seriously ?
ii mean can windows os results in installer design ? :eek::confused:

ZeD1818
21-08-2014, 13:36
Please help
I want unarc format in my BB script please tell me how to add it
Thanks

Dante1995
21-08-2014, 22:01
Please help
I want unarc format in my BB script please tell me how to add it
Thanks

if I'm not mistaken, already in this format the bb :rolleyes:

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Filename.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

Adonix
22-08-2014, 08:28
THIS IS THE ONLY INSTALLER WHICH WORKED FOR ME !!
I LOVE THIS INSTALLER,...JUST LAST PROBLEM I AM GETTING :(
PLEASE HELP TO FIX THAT ERROR,..THEN MY WORK WILL BE FINAL.

1. Everytime i click "Next" or click some tab, popup comes and says : http://i.imgur.com/kaozWRJ.jpg
2. When installation page comes, then installer left corner cuts : http://i.imgur.com/xw41lbl.jpg
3. How To Change Color of installation bar ?

JUST GIVE ABOVE 3 FIXES AND I WILL NOT DISTURBE ANYONE :(

Razor12911
22-08-2014, 09:07
THIS IS THE ONLY INSTALLER WHICH WORKED FOR ME !!
I LOVE THIS INSTALLER,...JUST LAST PROBLEM I AM GETTING :(
PLEASE HELP TO FIX THAT ERROR,..THEN MY WORK WILL BE FINAL.

1. Everytime i click "Next" or click some tab, popup comes and says : http://i.imgur.com/kaozWRJ.jpg
2. When installation page comes, then installer left corner cuts : http://i.imgur.com/xw41lbl.jpg
3. How To Change Color of installation bar ?

JUST GIVE ABOVE 3 FIXES AND I WILL NOT DISTURBE ANYONE :(

1) internal script error.
2) same script error.
3) progressbar can only be changed by means of isskin program.

Adonix
23-08-2014, 09:01
1) internal script error.
2) same script error.
3) progressbar can only be changed by means of isskin program.

Ok friend you said script error,..so please fix the script error :(
i did not changed anything in downloaded script.

Carldric Clement
24-08-2014, 02:31
Anybody who's can make it a autorun for black box? i'm gonna change it the scripts!

Razor12911
24-08-2014, 07:00
Ok friend you said script error,..so please fix the script error :(
i did not changed anything in downloaded script.

unfortunately,I can't help you with that, Kurutucu made it clear that he didn't need my help and offended me, so nope, maybe someone else will help you with this problem.

Adonix
26-08-2014, 21:25
I did not understood 1 thing, help.
if i have 3 bin files, so what to add in "Archives.ini" ??
Presently i am using below code for a single .bin file. ,..so please guide me what more to add in this script for 2 more bin files, that is total 3.
Thanks..
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\test-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
//if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
//if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
//if not IS7ZipExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), false, '') then break;
//if not ISRarExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), false, '') then break;

y_thelastknight
26-08-2014, 22:03
I did not understood 1 thing, help.
if i have 3 bin files, so what to add in "Archives.ini" ??
Presently i am using below code for a single .bin file. ,..so please guide me what more to add in this script for 2 more bin files, that is total 3.
Thanks..

red color text are you have to change..


if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-3.bin') then break;
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

Adonix
27-08-2014, 20:42
red color text are you have to change..


if not showchangediskwindow ('please insert disk to continue...', expandconstant('{src}'),'setup-1.bin') then break;
if not isarcextract ( 0, 34, expandconstant('{src}\setup-1.bin'), expandconstant('{app}'), '', false, '', expandconstant('{tmp}\arc.ini'), expandconstant('{app}'), false) then break;
if not showchangediskwindow ('please insert disk to continue...', expandconstant('{src}'),'setup-2.bin') then break;
if not isarcextract ( 0, 33, expandconstant('{src}\setup-2.bin'), expandconstant('{app}'), '', false, '', expandconstant('{tmp}\arc.ini'), expandconstant('{app}'), false) then break;
if not showchangediskwindow ('please insert disk to continue...', expandconstant('{src}'),'setup-3.bin') then break;
if not isarcextract ( 0, 33, expandconstant('{src}\setup-3.bin'), expandconstant('{app}'), '', false, '', expandconstant('{tmp}\arc.ini'), expandconstant('{app}'), false) then break;



you are best

Carldric Clement
31-08-2014, 06:19
red color text are you have to change..


if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk To Continue...', ExpandConstant('{src}'),'Setup-3.bin') then break;
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;



Hi!

Additional:
Can be change name compression like
setup-1.bin to data1.bin or dgf1.bin

What means DGF?

Answer:

D = Data
G = Games
F = Files


Thats all!

nitrogen blaze
09-09-2014, 10:05
How to use a password encrypted archive

Adonix
02-10-2014, 11:22
hi small question,..
if i have game exe file in some folder say binaries>sound>xxx>sdx

then in main.iss file it ask for game exe name to create shortcut. so if i give only game exe name will it identifies that where game.exe is located to make shortcut ?? or we have to do extra setting ?

hope you understood my question..

pakrat2k2
02-10-2014, 16:15
you must have to specify the folder name somewhere in the script, or else it wont be able to correctly create shortcut ( will think its in root of game )

Adonix
03-10-2014, 01:19
you must have to specify the folder name somewhere in the script, or else it wont be able to correctly create shortcut ( will think its in root of game )

ok that means i have to specify folder name also,..but you please tell where to add by seeing script ?
thanks :)

TsubasaHP
04-10-2014, 04:17
Hi,

Could someone edit script for these method?

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

if. anyone could do it, it would be great. Thanks

Edit : i read previous post, it seems it's not relate to script, am i right? then what should i change to use this installer for those method?!

Gamer009
04-10-2014, 13:14
you must have to specify the folder name somewhere in the script, or else it wont be able to correctly create shortcut ( will think its in root of game )

i should change in these lines ?

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError



btw, how i can change setup language ?

pakrat2k2
04-10-2014, 13:20
you don't change those lines, they are for the icons. Go back & read first post again, it tells you what to do.

Gamer009
04-10-2014, 14:25
thnx for reply

but do you mean this line

#define AppExec "setup.exe"


so it will be

#define AppExec "bin\FIFA15.exe"

TsubasaHP
04-10-2014, 16:16
Help me too, please.
I really need your help.

pakrat2k2
04-10-2014, 16:58
thnx for reply

but do you mean this line




so it will be

test & report back if it worked

Carldric Clement
04-10-2014, 17:53
Help me too, please.
I really need your help.

What's your Problem?

TsubasaHP

TsubasaHP
05-10-2014, 03:13
Hi, Carl

I used these Compression methods to compress "Middle-earth: Shadow of Mordor".

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

But none of these methods worked with this installer.

what should i change in script or files Or etc.. to make it work?

Gamer009
05-10-2014, 03:25
test & report back if it worked

:rolleyes:


ok

thanks for help :o


Hi, Carl

I used these Compression methods to compress "Middle-earth: Shadow of Mordor".

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

But none of these methods worked with this installer.

what should i change in script or files Or etc.. to make it work?


you make compression by this script, or using another tool for compressing ?

TsubasaHP
05-10-2014, 03:34
you make compression by this script, or using another tool for compressing

I make compression by this tool : Conversion Quick Archive Packer by Razor12911

Carldric Clement
05-10-2014, 03:37
Hi, Carl

I used these Compression methods to compress "Middle-earth: Shadow of Mordor".

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

But none of these methods worked with this installer.

what should i change in script or files Or etc.. to make it work?

There! Don't used precomp it! It will crash your installation it! Try it now! :rolleyes::cool:

+msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8

Carldric Clement
05-10-2014, 03:39
I make compression by this tool : Conversion Quick Archive Packer by Razor12911

You can use my program it: Mini Compressor


[Program] Mini Compressor: Made by me! (http://fileforums.com/showthread.php?t=96315)

TsubasaHP
05-10-2014, 03:41
There! Don't used precomp it! It will crash your installation it! Try it now! :rolleyes::cool:

+msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8

OK, Thanks, i will feedback the result.

TsubasaHP
05-10-2014, 05:55
There! Don't used precomp it! It will crash your installation it! Try it now!

+msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8


Carl,
it's not working...nothing happend.
The final size is very important to me. only these method worked for Middle-earth: Shadow of Mordor

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

black box group used these method for Compression as well.

any idea?

EDIT : The Installer gave me these errors while extracting :
first:
Incorrect version of precomp.exe!

second:

ERROR : Unsupported Compression method.

I used v038 and 43,also . but same i had same error.

It's a problem of installer not Compression.

pakrat2k2
05-10-2014, 08:51
in the setup folder where you have your backgrounds, sounds etc, you need to include the arc.ini so that the setup.exe knows what to use.

TsubasaHP
05-10-2014, 11:15
in the setup folder where you have your backgrounds, sounds etc, you need to include the arc.ini so that the setup.exe knows what to use.
not worked and it's not only my problem. someone that know how to use it must edit files and script to Solve the problem for these methods.

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

Carldric Clement
05-10-2014, 17:34
Carl,
it's not working...nothing happend.
The final size is very important to me. only these method worked for Middle-earth: Shadow of Mordor

-mprecomp+srep+delta+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8
-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273: mc1000:lc8

black box group used these method for Compression as well.

any idea?

EDIT : The Installer gave me these errors while extracting :
first:
Incorrect version of precomp.exe!

second:

ERROR : Unsupported Compression method.

I used v038 and 43,also . but same i had same error.

It's a problem of installer not Compression.

I forget! Remove the Delta & Precomp it!
-msrep+lzma:a1:mfbt4:d158m:fb273:mc10 00:lc8

PS

Delta Doesn't support from Black-Box Installation it!
They got many problems another times it will be
2 seconds or 3 seconds it!
Than Precomp another version has many got problem like v0.38, or what!
If they together like:
Precomp+Srep+Delta got problem it?
Remove The Precomp & Delta that doesn't support it!
Got It?

Gamer009
05-10-2014, 23:24
guyz, the directX and vcredist installation, not working after the game installed !!!

no window for them appeared !!

i have put the files in the ouptu directory of the script and put the "dxseupt.exe" in [Output/DirectX]

but, nothing happened !!

-----------------------------------------------------------------------

plus, how i can put a registery file in the script !

-----------------------------------------------------------------------

PS: how i can make the #AppURL auto opened once the installation got completed ?

same like blackbox :D

Inge
06-10-2014, 08:20
guyz, the directX and vcredist installation, not working after the game installed !!!

no window for them appeared !!

i have put the files in the ouptu directory of the script and put the "dxseupt.exe" in [Output/DirectX]

but, nothing happened !!

-----------------------------------------------------------------------

plus, how i can put a registery file in the script !

-----------------------------------------------------------------------

PS: how i can make the #AppURL auto opened once the installation got completed ?

same like blackbox :D

I never really used this Installer, but maby you have to define the correct Path's for Redist.

Example: DX is in Folder _CommonRedist\2010\DirectX\DXSETUP.exe you have to define this correct and maby set in the script a {src} before it.
Otherwise it's a bug.

Dante1995
06-10-2014, 09:01
Gamer009
but if we give you the code, how do you add it to properly (reading your comments) you do not have the capacity to do so, would you first tell us what you want to insert and someone will help you :rolleyes:



1)Open Browser After Installation

procedure CurStepChanged(CurStep: TSetupStep);
var
ErrCode: integer;
begin
if (CurStep=ssDone) then
begin
ShellExec('open', 'http://google.it/', '', '', SW_SHOW, ewNoWait, ErrCode);
end;
end;

2)Password Compressor File .Bat
Title Compressor
echo off&color e
:start
cls
set choice1=


set EX=-xunins*
set Popt=--password=
set PASS=12345
set Option=a -ep1 -r -ed -ld -w.\
set Method=-msrep+lzma:a2:mfbt4:d256m:fb128:mc1000:lc8


set arc=
set retry=
echo.
set /p choice1=PathDir:
if "%choice1%"=="" goto start
cls
echo.
:data1
set arc=data.arc
if exist .\DISK_1\%arc% goto end
arc %Option% %Method% %Popt%%PASS% [email protected] %EX% -dp"%choice1%" .\DISK_1\%arc%
if ERRORLEVEL 1 goto arcfail
:end
echo.
echo.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error in archive %arc%!
set /p retry=Do you wish to retry [Y/N]:
if /I "%retry%"=="Y" goto %arc:~0,5%
exit
:EOF

3)Components mode1
[Tasks]
Name: DX; Description: Install Microsoft DirectX; Flags: unchecked;
Name: VC; Description: Install Microsoft Visual C++ Redist; Flags: unchecked;

[Run]
Filename: {src}\Redist\DirectX\DXSETUP.exe; Parameters: /Silent; StatusMsg: Installation Microsoft DirectX...; Flags: skipifdoesntexist; Tasks: DX; Check: CheckError
Filename: {src}\Redist\vcredist_x86.exe; Parameters: /q; StatusMsg: Installation Microsoft Visual C++ Redist...; Flags: skipifdoesntexist; Tasks: VC; Check: CheckError

3b)Components mode2
[Components]
Name: "directx"; Description: "Install DirectX"
Name: "visualc"; Description: "Install Visual C++"
Name: "nvidiaphysx"; Description: "Install Nvidia Physx"
Name: "framework"; Description: "Install Framework"

if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/q',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.ex e'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'), '/q',false);
end;
end;
if (CurStep=ssInstall) and ISDoneError then begin
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
end;
end;


Screenshot Compressor system and The End :)

Gamer009
06-10-2014, 13:28
^^

nice, thnx alot <3

but i have the following bat file :

can you edit it for a password ?

+

in "blackbox" script v1.8 , there's already the compononets 3b

but it doesn't work !!!!

+

see the attached image about the appURL

Dante1995
06-10-2014, 14:42
Title Compressor
echo off&color e
:start
RD /S /Q TMP DISK_1 DISK_2
cls
echo ################################################## ##############################
echo # Alien Isolation #
echo ################################################## ##############################
echo.
echo.
set GameDir=Y:\Alien Isolation
set Output1=Disk_1
set Output2=Disk_2
set EX=-xunins*
set Popt=--password=
set PASS=12345
set Option=arc a -ep1 -r -ed -ld -w.\TMP
set Method=-msrep+lzma:a2:mfbt4:d256m:fb128:mc1000:lc8
set arc=
set retry=
:data1
set arc=Setup-1.bin
if exist .\%Output1%\%arc% goto data2
%Option% %Method% %Popt%%PASS% %EX% -dp"%choice1%" .\%Output1%\%arc% "%GameDir%" [email protected]
if ERRORLEVEL 1 goto arcfail
:data2
set arc=Setup-2.bin
if exist .\%Output2%\%arc% goto end
%Option% %Method% %Popt%%PASS% %EX% -dp"%choice1%" .\%Output2%\%arc% "%GameDir%" [email protected]
if ERRORLEVEL 1 goto arcfail
:end
RD /S /Q TMP
echo.
echo.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error in archive %arc%!
set /p retry=Do you wish to retry [Y/N]:
if /I "%retry%"=="Y" goto %arc:~0,5%
exit
:EOF

Gamer009
06-10-2014, 16:37
ok, thnx a lot <3

i will try :)

+

this doesn't work : http://fileforums.com/attachment.php?attachmentid=10114&stc=1&d=1412627692

+

PS: the directX and vcredit installation lagged after installation completed !!!

and then it restarted my PC !!

Dante1995
07-10-2014, 00:12
for me no restart

//----------This Installer Uses Inno Setup Unicode Version----------\\
#define AppName "Kurutucu"
#define AppPublisher "Fileforums"
#define AppVersion "1.0.8.0"
#define AppExec "Kurutucu.exe"
#define AppURL "https://www.facebook.com/cemal93"
#define AppSize "1000"
#define SetupName "Setup"
#define SetupOut "Output"

#define PrecompVer "Inside"

[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVersion={#AppVersion}
AppComments={#AppName}
DefaultDirName={pf}\{#AppPublisher}\{#AppName}
DefaultGroupName={#AppName}
OutputBaseFilename={#SetupName}
OutputDir={#SetupOut}
SetupIconFile=Style\Setup.ico
WizardImageFile=Style\Background.bmp
WizardSmallImageFile=Style\smallbitmap.bmp
Compression=none
AlwaysRestart = no

[Icons]
Name: {group}\Uninstall {#AppName}; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExec}; WorkingDir: {app}; Check: CheckError

[Files]
Source: Include\*.*; DestDir: {tmp}; Flags: dontcopy
Source: Style\*.*; DestDir: {tmp}; Flags: dontcopy

[Messages]
SetupWindowTitle=Welcome to The Setup Wizard «{#AppName}»

[CustomMessages]
SoundCtrlButtonCaptionSoundOn=Music on
SoundCtrlButtonCaptionSoundOff=Music off

[Languages]
Name: eng; MessagesFile: compiler:Default.isl

[Components]
Name: "directx"; Description: "Install DirectX"
Name: "visualc"; Description: "Install Visual C++"
Name: "nvidiaphysx"; Description: "Install Nvidia Physx"
Name: "framework"; Description: "Install Framework"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[UninstallDelete]
Type: filesandordirs; Name: {app}

[_Code]
const
BASS_SAMPLE_LOOP = 4;
BASS_ACTIVE_STOPPED = 0;
BASS_ACTIVE_PLAYING = 1;
BASS_ACTIVE_STALLED = 2;
BASS_ACTIVE_PAUSED = 3;
BASS_UNICODE = $80000000;
BASS_CONFIG_GVOL_STREAM = 5;
const
#ifndef UNICODE
EncodingFlag = 0;
#else
EncodingFlag = BASS_UNICODE;
#endif
type
HSTREAM = DWORD;

function BASS_Init(device: LongInt; freq, flags: DWORD;
win: HWND; clsid: Cardinal): BOOL;
external 'BASS_Init@files:bass.dll stdcall';
function BASS_StreamCreateFile(mem: BOOL; f: string; offset1: DWORD;
offset2: DWORD; length1: DWORD; length2: DWORD; flags: DWORD): HSTREAM;
external 'BASS_StreamCreateFile@files:bass.dll stdcall';
function BASS_Start: BOOL;
external 'BASS_Start@files:bass.dll stdcall';
function BASS_Pause: BOOL;
external 'BASS_Pause@files:bass.dll stdcall';
function BASS_ChannelPlay(handle: DWORD; restart: BOOL): BOOL;
external 'BASS_ChannelPlay@files:bass.dll stdcall';
function BASS_SetConfig(option: DWORD; value: DWORD ): BOOL;
external 'BASS_SetConfig@files:bass.dll stdcall';
function BASS_ChannelIsActive(handle: DWORD): DWORD;
external 'BASS_ChannelIsActive@files:bass.dll stdcall';
function BASS_Free: BOOL;
external 'BASS_Free@files:bass.dll stdcall';

var
SoundStream: HSTREAM;
SoundCtrlButton: TNewButton;

procedure SoundCtrlButtonClick(Sender: TObject);
begin
case BASS_ChannelIsActive(SoundStream) of
BASS_ACTIVE_PLAYING:
begin
if BASS_Pause then
SoundCtrlButton.Caption :=
ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOn} ');
end;
BASS_ACTIVE_PAUSED:
begin
if BASS_Start then
SoundCtrlButton.Caption :=
ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff }');
end;
end;
end;

{ RedesignWizardFormBegin } // Don't remove this line!
// Don't modify this section. It is generated automatically.
procedure RedesignWizardForm;
begin
with WizardForm.ProgressGauge do
begin
Height := ScaleY(13);
end;

{ ReservationBegin }
// This part is for you. Add your specialized code here.

{ ReservationEnd }
end;
// Don't modify this section. It is generated automatically.
{ RedesignWizardFormEnd } // Don't remove this line!


type
#ifdef UNICODE
PChar = PAnsiChar;
#endif
const
PCFonFLY=true;
notPCFonFLY=false;
var
LabelPct1,LabelCurrFileName,LabelTime1,LabelTime2, LabelTime3: TLabel;
ISDoneProgressBar1: TNewProgressBar;
MyCancelButton: TButton;
ISDoneCancel:integer;
ISDoneError:boolean;
PCFVer:double;

type
TCallback = function (OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAn siChar): longword;

function WrapCallback(callback:TCallback; paramcount:integer):longword;external 'wrapcallback@files:ISDone.dll stdcall delayload';

function ISArcExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile:boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external 'ISArcExtract@files:ISDone.dll stdcall delayload';
function IS7ZipExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath: AnsiString; DeleteInFile:boolean; Password: AnsiString):boolean; external 'IS7zipExtract@files:ISDone.dll stdcall delayload';
function ISRarExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath: AnsiString; DeleteInFile:boolean; Password: AnsiString):boolean; external 'ISRarExtract@files:ISDone.dll stdcall delayload';
function ISPrecompExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString; DeleteInFile:boolean):boolean; external 'ISPrecompExtract@files:ISDone.dll stdcall delayload';
function ISSRepExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString; DeleteInFile:boolean):boolean; external 'ISSrepExtract@files:ISDone.dll stdcall delayload';
function ISxDeltaExtract(CurComponent:Cardinal; PctOfTotal:double; minRAM,maxRAM:integer; InName, DiffFile, OutFile: AnsiString; DeleteInFile, DeleteDiffFile:boolean):boolean; external 'ISxDeltaExtract@files:ISDone.dll stdcall delayload';
function ISPackZIP(CurComponent:Cardinal; PctOfTotal:double; InName, OutFile: AnsiString;ComprLvl:integer; DeleteInFile:boolean):boolean; external 'ISPackZIP@files:ISDone.dll stdcall delayload';
function ShowChangeDiskWindow(Text, DefaultPath, SearchFile:AnsiString):boolean; external 'ShowChangeDiskWindow@files:ISDone.dll stdcall delayload';

function Exec2 (FileName, Param: PAnsiChar;Show:boolean):boolean; external 'Exec2@files:ISDone.dll stdcall delayload';
function ISFindFiles(CurComponent:Cardinal; FileMask:AnsiString; var ColFiles:integer):integer; external 'ISFindFiles@files:ISDone.dll stdcall delayload';
function ISPickFilename(FindHandle:integer; OutPath:AnsiString; var CurIndex:integer; DeleteInFile:boolean):boolean; external 'ISPickFilename@files:ISDone.dll stdcall delayload';
function ISGetName(TypeStr:integer):PAnsichar; external 'ISGetName@files:ISDone.dll stdcall delayload';
function ISFindFree(FindHandle:integer):boolean; external 'ISFindFree@files:ISDone.dll stdcall delayload';
function ISExec(CurComponent:Cardinal; PctOfTotal,SpecifiedProcessTime:double; ExeName,Parameters,TargetDir,OutputStr:AnsiString; Show:boolean):boolean; external 'ISExec@files:ISDone.dll stdcall delayload';

function SrepInit(TmpPath:PAnsiChar;VirtMem,MaxSave:Cardina l):boolean; external 'SrepInit@files:ISDone.dll stdcall delayload';
function PrecompInit(TmpPath:PAnsiChar;VirtMem:cardinal;Pre compVers:single):boolean; external 'PrecompInit@files:ISDone.dll stdcall delayload';
function FileSearchInit(RecursiveSubDir:boolean):boolean; external 'FileSearchInit@files:ISDone.dll stdcall delayload';
function ISDoneInit(RecordFileName:AnsiString; TimeType,Comp1,Comp2,Comp3:Cardinal; WinHandle, NeededMem:longint; callback:TCallback):boolean; external 'ISDoneInit@files:ISDone.dll stdcall';
function ISDoneStop:boolean; external 'ISDoneStop@files:ISDone.dll stdcall';
function ChangeLanguage(Language:AnsiString):boolean; external 'ChangeLanguage@files:ISDone.dll stdcall delayload';
function SuspendProc:boolean; external 'SuspendProc@files:ISDone.dll stdcall';
function ResumeProc:boolean; external 'ResumeProc@files:ISDone.dll stdcall';

function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAn siChar): longword;
begin
if OveralPct<=1000 then ISDoneProgressBar1.Position := OveralPct;
LabelPct1.Caption := IntToStr(OveralPct div 10)+'.'+chr(48 + OveralPct mod 10)+'%';
LabelCurrFileName.Caption:=' Extracting File: '+MinimizePathName(CurrentFile, LabelCurrFileName.Font, LabelCurrFileName.Width-ScaleX(100));
LabelTime1.Caption:=' Time Elapsed: '+TimeStr2;
LabelTime2.Caption:='Time Remaining: '+TimeStr1;
// LabelTime3.Caption:='Installing time:'+TimeStr3;
Result := ISDoneCancel;
end;

procedure CancelButtonOnClick(Sender: TObject);
begin
SuspendProc;
if MsgBox(SetupMessage(msgExitSetupMessage), mbConfirmation, MB_YESNO) = IDYES then ISDoneCancel:=1;
ResumeProc;
end;

procedure HideControls;
begin
WizardForm.FileNamelabel.Hide;
ISDoneProgressBar1.Hide;
LabelPct1.Hide;
LabelCurrFileName.Hide;
LabelTime1.Hide;
LabelTime2.Hide;
MyCancelButton.Hide;
end;

procedure CreateControls;
var PBTop:integer;
begin
PBTop:=ScaleY(150);
ISDoneProgressBar1 := TNewProgressBar.Create(WizardForm);
with ISDoneProgressBar1 do begin
Parent := WizardForm;
Height := 25;
Left := ScaleX(77);
Top := PBTop;
Width := ScaleX(500);
Max := 1000;
end;
LabelCurrFileName := TLabel.Create(WizardForm);
with LabelCurrFileName do begin
Parent := WizardForm;
AutoSize := False;
Width := ISDoneProgressBar1.Width+ScaleX(30);
Left := ISDoneProgressBar1.Left;
Top := PBTop-20;
end;

LabelTime1 := TLabel.Create(WizardForm);
with LabelTime1 do begin
Parent := WizardForm;
AutoSize := False;
Width := ISDoneProgressBar1.Width div 2;
Left := ISDoneProgressBar1.Left;
Top := PBTop + ScaleY(30);
end;
LabelTime2 := TLabel.Create(WizardForm);
with LabelTime2 do begin
Parent := WizardForm;
AutoSize := False;
Width := LabelTime1.Width+ScaleX(40);
Left := 400;
Top := LabelTime1.Top;
end;
LabelPct1 := TLabel.Create(WizardForm);
with LabelPct1 do begin
Parent := WizardForm;
AutoSize := true;
Font.Height:=-24;
Left := ISDoneProgressBar1.Left -33 + ISDoneProgressBar1.Width div 2;
Top := ISDoneProgressBar1.Top + ScaleY(70);
//Width := ScaleX(80);
end;
// LabelTime3 := TLabel.Create(WizardForm);
// with LabelTime3 do begin
// Parent := WizardForm;
// AutoSize := False;
// Width := 300;
// Left := 180;
// Top := 200;
// end;
MyCancelButton:=TButton.Create(WizardForm);
with MyCancelButton do begin
Parent:=WizardForm;
Width:=ScaleX(150);
Caption:='Cancel';
Left:=ScaleX(347);
Height:=ScaleX(30);
Left:=(480);
Top:=WizardForm.cancelbutton.top;
OnClick:=@CancelButtonOnClick;
end;
end;


function CheckError:boolean;
begin
result:= not ISDoneError;
end;

// Importing LoadSkin API from ISSkin.DLL
procedure LoadSkin(lpszPath: PAnsiChar; lpszIniFileName: PAnsiChar);
external 'LoadSkin@{tmp}\isskin.dll stdcall delayload';

// Importing UnloadSkin API from ISSkin.DLL
procedure UnloadSkin;
external 'UnloadSkin@{tmp}\isskin.dll stdcall delayload';

// Importing ShowWindow Windows API from User32.DLL
function ShowWindow(hWnd: Integer; uType: Integer): Integer;
external '[email protected] stdcall';

var
WelcomeLbl,DirLbl,GroupLbl,TasksLbl,FreeSpaceLabel ,NeedSpaceLabel,GameSpaceLabel,PartitionSpaceLabel ,Status: TLabel;
DirBevel,GroupBevel,TasksBevel,TasksSeparateBevel, Bevel1,Bevel11,Bevel2,Bevel3,Bevel4,Bevel5,Bevel6, Bevel7,Bevel8,Bevel9,Bevel20,Bevel21,Bevel22,Bevel 23: TBevel;
FreeMB,TotalMB: cardinal;

function InitializeSetup1(): Boolean;
begin
ExtractTemporaryFile('isskin.dll');
ExtractTemporaryFile('skin.cjstyles');
LoadSkin(ExpandConstant('{tmp}\skin.cjstyles'), '');
Result := True;
end;

Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.2n', [Float]); StringChange(Result, ',', '.');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
SetLength(Result, Length(Result)-1);
End;

Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
if Byte/1024 < 1024 then Result:= NumToStr(round(Byte/1024*100)/100) + ' GB' else
Result:= NumToStr(round((Byte/(1024*1024))*100)/100) + ' TB'
end;

procedure GetFreeSpaceCaption(Sender: TObject);
var Path: String;
begin
Path := ExtractFileDrive(WizardForm.DirEdit.Text);
GetSpaceOnDisk(Path, True, FreeMB, TotalMB);
PartitionSpaceLabel.Caption:= ExpandConstant('Partition Space : ') + MbOrTb(TotalMB);
FreeSpaceLabel.Caption := ExpandConstant('Free Space : ') + MbOrTb(FreeMB) + ' (' + IntToStr((FreeMB * 100) div TotalMB) + '%)';
GameSpaceLabel.Caption := ExpandConstant('Game Space : ') + MbOrTb({#AppSize});
NeedSpaceLabel.Caption := ExpandConstant('Total Needed Space : ') + MbOrTb({#AppSize});
if (FreeMB<{#AppSize}) then
FreeSpaceLabel.Font.Color:=clRed
else
PartitionSpaceLabel.Font.Color:=NeedSpaceLabel.Fon t.Color;
WizardForm.NextButton.Enabled:=FreeMB>{#AppSize};
end;

var
DirectXCB,VisualCCB,NvidiaPhysx,Framework,IconCB: TNewCheckBox;
//---COMPONENTS POSITION CONTROL---\\
procedure Tasks;
begin
TasksBevel := TBevel.Create(WizardForm);
with TasksBevel do
begin
Parent := WizardForm;
Left := ScaleX(90);
Top := ScaleY(150);
Width := ScaleX(470);
Height := ScaleY(73);
end;
//------------------------\\

//---Top---\\
Bevel20 := TBevel.Create(WizardForm);
with Bevel20 do
begin
Parent := WizardForm;
Left := ScaleX(92);
Top := ScaleY(150);
Width := ScaleX(470);
Height := ScaleY(2);
end;
//---Bottom---\\
Bevel21 := TBevel.Create(WizardForm);
with Bevel21 do
begin
Parent := WizardForm;
Left := ScaleX(92);
Top := ScaleY(308);
Width := ScaleX(470);
Height := ScaleY(2);
end;
//---Left---\\
Bevel22 := TBevel.Create(WizardForm);
with Bevel22 do
begin
Parent := WizardForm;
Left := ScaleX(92);
Top := ScaleY(152);
Width := ScaleX(2);
Height := ScaleY(158);
end;
//---Right---\\
Bevel23 := TBevel.Create(WizardForm);
with Bevel23 do
begin
Parent := WizardForm;
Left := ScaleX(560);
Top := ScaleY(152);
Width := ScaleX(2);
Height := ScaleY(156);
end;
//------------------------\\

DirectXCB := TNewCheckBox.Create(WizardForm);
with DirectXCB do
begin
Parent := WizardForm;
Left :=(112);
Top :=(170);
Width := ScaleX(265);
Height := ScaleY(17);
Caption:='Install DirectX';
end;

VisualCCB := TNewCheckBox.Create(WizardForm);
with VisualCCB do
begin
Parent := WizardForm;
Left :=(112);
Top :=(190);
Width := ScaleX(265);
Height := ScaleY(17);
Caption := 'Install Visual C ++';
end;

NvidiaPhysx := TNewCheckBox.Create(WizardForm);
with NvidiaPhysx do
begin
Parent := WizardForm;
Left :=(112);
Top :=(210);
Width := ScaleX(265);
Height := ScaleY(17);
Caption:='Install Nvidia Physx';
end;

Framework := TNewCheckBox.Create(WizardForm);
with Framework do
begin
Parent := WizardForm;
Left :=(112);
Top :=(230);
Width := ScaleX(265);
Height := ScaleY(17);
Caption:='Install Framework';
end;

TasksSeparateBevel := TBevel.Create(WizardForm);
with TasksSeparateBevel do
begin
Parent := WizardForm;
Left :=(10);
Top :=(260);
Width := TasksBevel.Width - 0;
Height := ScaleY(2);
Width := ScaleX(440);
Left := ScaleX(107);
end;

IconCB := TNewCheckBox.Create(WizardForm);
with IconCB do
begin
Parent := WizardForm;
Left := (112);
Top :=(275);
Width := ScaleX(255);
Height := ScaleY(17);
Caption := 'Create Desktop Shortcut';
end;
end;

//-----------------------------------\\

procedure LogoLabelOnClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('open', '{#AppURL}', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode)
end;

procedure InitializeWizard1();
begin
WizardForm.WizardBitmapImage2.Cursor:=crHand;
WizardForm.WizardBitmapImage2.OnClick:=@LogoLabelO nClick;
WizardForm.ClientWidth:=654;
WizardForm.ClientHeight:=402;
WizardForm.InnerNotebook.Hide;
WizardForm.OuterNotebook.Hide;
WizardForm.WizardBitmapImage.Stretch:=True;
WizardForm.WizardBitmapImage.Parent:=WizardForm;
ExtractTemporaryFile ('logo.bmp');
WizardForm.WizardBitmapImage2.Width := ScaleX(230);
WizardForm.WizardBitmapImage2.Height := ScaleX(55);
WizardForm.WizardBitmapImage2.Top:=340;
WizardForm.WizardBitmapImage2.Left:=5;
WizardForm.WizardBitmapImage2.Bitmap.LoadFromFile( ExpandConstant('{tmp}\logo.bmp'));
WizardForm.WizardBitmapImage2.Parent:=WizardForm;
WizardForm.WizardSmallBitmapImage.Stretch:=True;
WizardForm.WizardSmallBitmapImage.Parent:=WizardFo rm;
WizardForm.WizardSmallBitmapImage.SetBounds(0,0,Wi zardForm.ClientWidth,90);
WizardForm.Bevel1.Parent:=WizardForm;
WizardForm.Bevel1.Top:=90;
WizardForm.Bevel1.Width:=WizardForm.ClientWidth;
WizardForm.Bevel.Parent:=WizardForm;
WizardForm.Bevel.Top:=330;
WizardForm.Bevel.Width:=WizardForm.ClientWidth;
WizardForm.SelectDirBitmapImage.Parent:=WizardForm ;
WizardForm.SelectDirBitmapImage.Top:=125;
WizardForm.SelectDirBitmapImage.Left:=40;
WizardForm.DirEdit.Parent:=WizardForm;
WizardForm.DirEdit.Top:=130;
WizardForm.DirEdit.Left:=75;
WizardForm.DirEdit.Width:=430;
WizardForm.DirEdit.OnChange:=@GetFreeSpaceCaption;
WizardForm.DirBrowseButton.Parent:=WizardForm;
WizardForm.DirBrowseButton.Top:=125;
WizardForm.DirBrowseButton.Left:=515;
WizardForm.DirBrowseButton.Width:=90;
WizardForm.DirBrowseButton.Height:=30;
WizardForm.GroupEdit.Parent:=WizardForm;
WizardForm.GroupEdit.Top:=255;
WizardForm.GroupEdit.Left:=75;
WizardForm.GroupEdit.Width:=430;
WizardForm.GroupBrowseButton.Parent:=WizardForm;
WizardForm.GroupBrowseButton.Top:=250;
WizardForm.GroupBrowseButton.Left:=515;
WizardForm.GroupBrowseButton.Width:=90;
WizardForm.GroupBrowseButton.Height:=30;
WizardForm.NoIconsCheck.Parent:=WizardForm;
WizardForm.NoIconsCheck.Left:=75;
WizardForm.NoIconsCheck.Top:=285;
WizardForm.SelectGroupBitmapImage.Parent:=WizardFo rm;
WizardForm.SelectGroupBitmapImage.Top:=250;
WizardForm.SelectGroupBitmapImage.Left:=40;
WizardForm.WizardBitmapImage.SetBounds(0,0,WizardF orm.ClientWidth,330);
WizardForm.NextButton.SetBounds(525,347,100,30);
WizardForm.CancelButton.SetBounds(420,347,100,30);
WizardForm.BackButton.SetBounds(315,347,100,30);

WelcomeLbl:=TLabel.Create(WizardForm);
With WelcomeLbl do begin
Transparent:=true;
Parent:=WizardForm;
Alignment:=taCenter;
Caption:='Welcome to The "{#AppName}" Setup Wizard' + #13#10#13#10 + 'Its recomended that you close all other applications before continuing.' + #13#10#13#10 + 'Click "Next" to continue';
Font.Color:=clWhite;
Font.Size:=9;
SetBounds(126,205,400,90);
end;
//
Tasks;
DirBevel := TBevel.Create(WizardForm);
with DirBevel do
begin
Parent := WizardForm;
Left := ScaleX(28);
Top := ScaleY(110);
Width := ScaleX(594);
Height := ScaleY(110);
end;

//-----Bevel Line Page 2 Bottom-----\\

//---Top---\\
Bevel3 := TBevel.Create(WizardForm);
with Bevel3 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(235);
Width := ScaleX(594);
Height := ScaleY(2);
end;
//---Bottom---\\
Bevel4 := TBevel.Create(WizardForm);
with Bevel4 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(313);
Width := ScaleX(595);
Height := ScaleY(2);
end;
//---Left---\\
Bevel5 := TBevel.Create(WizardForm);
with Bevel5 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(236);
Width := ScaleX(2);
Height := ScaleY(78);
end;
//---Right---\\
Bevel6 := TBevel.Create(WizardForm);
with Bevel6 do
begin
Parent := WizardForm;
Left := ScaleX(620);
Top := ScaleY(235);
Width := ScaleX(2);
Height := ScaleY(79);
end;
//------------------------\\

//-----Bevel Line Page 2 Top-----\\

//---Top---\\
Bevel7 := TBevel.Create(WizardForm);
with Bevel7 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(110);
Width := ScaleX(595);
Height := ScaleY(2);
end;
//---Bottom---\\
Bevel8 := TBevel.Create(WizardForm);
with Bevel8 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(250);
Width := ScaleX(595);
Height := ScaleY(2);
end;
//---Right---\\
Bevel9 := TBevel.Create(WizardForm);
with Bevel9 do
begin
Parent := WizardForm;
Left := ScaleX(620);
Top := ScaleY(110);
Width := ScaleX(2);
Height := ScaleY(108);
end;
//---Left---\\
Bevel11 := TBevel.Create(WizardForm);
with Bevel11 do
begin
Parent := WizardForm;
Left := ScaleX(27);
Top := ScaleY(111);
Width := ScaleX(2);
Height := ScaleY(109);
end;

//------------------------\\
Status:=TLabel.Create(WizardForm);
With Status do begin
//Transparent:=true;
Parent:=WizardForm;
Alignment:=taCenter;
//Font.Color:=clWhite;
Font.Height:=-15;
SetBounds(0,218,650,30);
end;

DirLbl:=TLabel.Create(WizardForm);
With DirLbl do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
Caption:=' Setup will install The game into the following folder ';
Font.Color:=clWhite;
SetBounds(52,105,251,15);
end;
GroupLbl:=TLabel.Create(WizardForm);
With GroupLbl do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
Caption:=' Setup will create shortcuts in the following Start ';
Font.Color:=clWhite;
SetBounds(52,230,235,15);
end;
TasksLbl:=TLabel.Create(WizardForm);
With TasksLbl do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
Caption:='Select the components you want to install; clear the components you do not want to' + #13#10 + 'install. Click Next when you are ready to continue.';
//Font.Color:=clWhite;
SetBounds(125,105,407,30);
end;
//---PARTITION SPACE---\\
PartitionSpaceLabel:=TLabel.Create(WizardForm);
With PartitionSpaceLabel do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
//Font.Color:=clWhite;
Font.Height:=-13;
SetBounds(75,160,200,30);
end;
//---FREE SPACE---\\
FreeSpaceLabel:=TLabel.Create(WizardForm);
With FreeSpaceLabel do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
//Font.Color:=clWhite;
Font.Height:=-13;
SetBounds(335,160,200,30);
end;
//---GAME SPACE---\\
GameSpaceLabel:=TLabel.Create(WizardForm);
With GameSpaceLabel do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
//Font.Color:=clWhite;
Font.Height:=-13;
SetBounds(75,190,200,30);
end;
//---Total Needed Space---\\
NeedSpaceLabel:=TLabel.Create(WizardForm);
With NeedSpaceLabel do begin
//Transparent:=true;
Parent:=WizardForm;
//Alignment:=taCenter;
//Font.Color:=clWhite;
Font.Height:=-13;
SetBounds(335,190,200,30);
end;
end;

Procedure HideComponents();
begin
WizardForm.WizardSmallBitmapImage.Hide;
WizardForm.Bevel1.Hide;
DirBevel.Hide;
Bevel3.Hide;
Bevel4.Hide;
Bevel5.Hide;
Bevel6.Hide;
Bevel7.Hide;
Bevel8.Hide;
Bevel9.Hide;
Bevel11.Hide;
Bevel20.Hide;
Bevel21.Hide;
Bevel22.Hide;
Bevel23.Hide;
TasksBevel.Hide;
DirLbl.Hide;
GroupLbl.Hide;
TasksLbl.Hide;
DirectXCB.Hide;
VisualCCB.Hide;
NvidiaPhysx.Hide;
Framework.Hide;
IconCB.Hide;
WizardForm.SelectDirBitmapImage.Hide;
WizardForm.SelectGroupBitmapImage.Hide;
WizardForm.DirEdit.Hide;
WizardForm.GroupEdit.Hide;
WizardForm.DirBrowseButton.Hide;
WizardForm.GroupBrowseButton.Hide;
WizardForm.NoIconsCheck.Hide;
WizardForm.WizardBitmapImage.Hide;
WelcomeLbl.Hide;
// WizardForm.ComponentsList.Hide;
// WizardForm.TasksList.Hide;
TasksSeparateBevel.Hide;
PartitionSpaceLabel.Hide;
FreeSpaceLabel.Hide;
GameSpaceLabel.Hide;
NeedSpaceLabel.Hide;
Status.Hide;
end;


procedure CurStepChanged1(CurStep: TSetupStep);
var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
ErrCode: integer;
begin

if(CurStep = ssDone) then begin
ShellExec('open', '{#AppURL}', '', '', SW_SHOW, ewNoWait, ErrCode);

end;

begin
if CurStep = ssInstall then begin //If necessary, you can change to ssPostInstall
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:='Extracting Files...';
ISDoneCancel:=0;

#ifdef PrecompVer
#if PrecompVer == "0.38"
ExtractTemporaryFile('precomp038.exe');
#endif
#if PrecompVer == "0.40"
ExtractTemporaryFile('precomp040.exe');
#endif
#if PrecompVer == "0.41"
ExtractTemporaryFile('precomp041.exe');
#endif
#if PrecompVer == "0.42"
ExtractTemporaryFile('precomp042.exe');
#endif
#if PrecompVer == "0.43"
ExtractTemporaryFile('precomp043.exe');
#endif
#if PrecompVer == "Inside"
ExtractTemporaryFile('CLS-precomp.dll');
ExtractTemporaryFile('CLS-MSC.dll');
ExtractTemporaryFile('CLS-srep.dll');
ExtractTemporaryFile('precomp.exe');
#endif
#endif
ExtractTemporaryFile('arc.ini');
ExtractTemporaryFile('facompress.dll');
ExtractTemporaryFile('facompress_mt.dll');
ExtractTemporaryFile('XDelta3.dll');
ExtractTemporaryFile('7z.dll');
ExtractTemporaryFile('PackZIP.exe');
ExtractTemporaryFile('english.ini');
ExtractTemporaryFile('FreeArc-LZMA-x64.exe');
ExtractTemporaryFile('srep.exe');
ExtractTemporaryFile('srep64.exe');
ExtractTemporaryFile('unarc.dll');
ExtractTemporaryFile('packjpg_dll.dll');
ExtractTemporaryFile('packjpg_dll1.dll');
ExtractTemporaryFile('zlib1.dll');

Comps1:=0; Comps2:=0; Comps3:=0;
#ifdef Components
TmpValue:=1;
if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue; //component 1
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue; //component 2
TmpValue:=TmpValue*2;
if IsComponentSelected('voice\rus') then Comps1:=Comps1+TmpValue; //component 3
TmpValue:=TmpValue*2;
if IsComponentSelected('voice\eng') then Comps1:=Comps1+TmpValue; //component 4
#endif

#ifdef precomp
PCFVer:={#precomp};
#else
PCFVer:=0;
#endif
ISDoneError:=true;
if ISDoneInit(ExpandConstant('{src}\records.inf'), $F777, Comps1,Comps2,Comps3, MainForm.Handle, 512, @ProgressCallback) then begin
repeat
ChangeLanguage('english');
if not SrepInit('',512,0) then break;
if not PrecompInit('',128,PCFVer) then break;
if not FileSearchInit(true) then break;
#include 'Archives.ini'
ISDoneError:=false;
until true;
ISDoneStop;
end;
HideControls;
WizardForm.CancelButton.Visible:=true;
WizardForm.CancelButton.Enabled:=false;
Status.Show;
end;
if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/Silent',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.exe'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.ex e'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'), '/q',false);
end;
end;
if (CurStep=ssInstall) and ISDoneError then begin
Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
end;
end;
end;

//-------- First Page --------\\
procedure CurPageChanged1(CurPageID: integer);
begin
if CurPageID=wpWelcome then begin
HideComponents;
WizardForm.Position:=poScreenCenter;
Bevel3.Hide;
Bevel4.Hide;
Bevel5.Hide;
Bevel6.Hide;
WizardForm.WizardBitmapImage.Show;
WelcomeLbl.Show;
WizardForm.CancelButton.show;
end;
//-------- Second Page --------\\
if CurPageID=wpSelectDir then begin
HideComponents;
WizardForm.Position:=poScreenCenter;
WizardForm.WizardSmallBitmapImage.Show;
WizardForm.Bevel1.Show;
DirBevel.Show;
Bevel3.show;
Bevel4.Show;
Bevel5.Show;
Bevel6.Show;
Bevel7.Show;
Bevel8.hide;
Bevel9.Show;
Bevel11.Show;
WizardForm.Caption:= 'Select Dir «{#AppName}»';
WizardForm.SelectDirBitmapImage.Show;
WizardForm.SelectGroupBitmapImage.Show;
WizardForm.DirEdit.Show;
WizardForm.GroupEdit.Show;
WizardForm.DirBrowseButton.Show;
WizardForm.GroupBrowseButton.Show;
WizardForm.NoIconsCheck.Show;
DirLbl.Show;
GroupLbl.Show;
PartitionSpaceLabel.Show;
FreeSpaceLabel.Show;
GameSpaceLabel.Show;
NeedSpaceLabel.Show;
GetFreeSpaceCaption(nil);
end;
//-------- Third page --------\\
if CurPageID=wpSelectTasks then begin
HideComponents;
WizardForm.Position:=poScreenCenter;
WizardForm.Caption:= 'Select Tasks «{#AppName}»';
WizardForm.WizardSmallBitmapImage.Show;
WizardForm.Bevel1.Show;
Bevel3.Hide;
Bevel4.Hide;
Bevel5.Hide;
Bevel6.Hide;
Bevel20.Show;
Bevel21.Show;
Bevel22.Show;
Bevel23.Show;
WizardForm.ComponentsList.Show;
WizardForm.TasksList.Show;
DirectXCB.Show;
DirectXCB.Checked:= True;
VisualCCB.Show;
VisualCCB.Checked:= True;
NvidiaPhysx.Checked:= False;
NvidiaPhysx.Enabled:= False;
NvidiaPhysx.Show;
Framework.Show;
Framework.Enabled:= False;
Framework.Checked:= False;
IconCB.Show;
IconCB.Checked:= True;
TasksBevel.Hide;
TasksLbl.Show;
WizardForm.NextButton.Caption:='Install';
TasksSeparateBevel.Show;
end;
//--------Installation Page--------\\
if CurPageID=wpInstalling then begin
TasksSeparateBevel.Hide;
HideComponents;
WizardForm.Position:=poScreenCenter;
WizardForm.WizardSmallBitmapImage.Show;
WizardForm.Caption:= 'Installing «{#AppName}»';
WizardForm.Bevel1.Show;
WizardForm.TasksList.CheckItem(0,IconCB.Checked);
end;
//--------Game was successfully installed PAGE--------\\
if CurPageID=wpFinished then begin
HideComponents;
WizardForm.Position:=poScreenCenter;
WizardForm.WizardBitmapImage.Show;
WelcomeLbl.Show;
WelcomeLbl.Left:=145;
WizardForm.Caption:= 'Finish «{#AppName}» Setup Wizard';
WelcomeLbl.Caption:='«{#AppName}» was successfully installed on your computer.' + #13#10#13#10 + 'Run the game from shortcut in "start" menu or Desktop shortcut.' + #13#10#13#10 + 'Click "Finish" to exit the installation program.';
end;
//--------Game Fail To Install PAGE--------\\
if (CurPageID = wpFinished) and ISDoneError then
begin
//LabelTime3.Hide;
WizardForm.Caption:= 'Error! «{#AppName}»';
WelcomeLbl.Font.Color:= clRed;
WelcomeLbl.Caption:= 'Setup encountered an error while installing «{#AppName}»' + #13#10#13#10 + 'Changes were not saved , please re-run the setup again.';
WelcomeLbl.Left:=163;
end;
end;

function ShouldSkipPage1(PageID: Integer): Boolean;
begin
if (PageID=wpSelectProgramGroup) or (PageID=wpReady) or (PageID=wpSelectComponents) then Result:=true;
end;

procedure DeinitializeSetup1();
begin
ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}') ), 0);
UnloadSkin();
end;

procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
procedure InitializeWizard2();
begin
ExtractTemporaryFile('Splash.png');
ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}\Splash.png'),1000,3000,1000,0,255,True,$FFF FFF,10);
end;

function InitializeSetup(): Boolean;
begin
Result := InitializeSetup1(); if not Result then exit;
end;

procedure InitializeWizard();
begin
ExtractTemporaryFile('music.mp3');
if BASS_Init(-1, 44100, 0, 0, 0) then
begin
SoundStream := BASS_StreamCreateFile(False,
ExpandConstant('{tmp}\music.mp3'), 0, 0, 0, 0,
EncodingFlag or BASS_SAMPLE_LOOP);
BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, 2500);
BASS_ChannelPlay(SoundStream, False);

SoundCtrlButton := TNewButton.Create(WizardForm);
SoundCtrlButton.Parent := WizardForm;
SoundCtrlButton.SetBounds(210,347,100,30);
SoundCtrlButton.Caption :=
ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff }');
SoundCtrlButton.OnClick := @SoundCtrlButtonClick;
RedesignWizardForm;
InitializeWizard1();
InitializeWizard2();
end;
end;

procedure CurStepChanged(CurStep: TSetupStep);
begin
CurStepChanged1(CurStep);

end;

procedure CurPageChanged(CurPageID: Integer);
begin
CurPageChanged1(CurPageID);
end;

function ShouldSkipPage(PageID: Integer): Boolean;
begin
Result := ShouldSkipPage1(PageID); if not Result then exit;
end;

procedure DeinitializeSetup();
begin

BASS_Free();
DeinitializeSetup1();
end;

felice2011
07-10-2014, 02:50
You solved by installing the components, even to me by error?

Dante1995
07-10-2014, 03:17
basta inserire la slash feli /Silent

ops eng
insert slash /silent

felice2011
07-10-2014, 03:31
basta inserire la slash feli /Silent

ops eng
insert slash /silent

Already tried, same thing....:mad:

no non va lo stesso provato in vari modi.:confused:

Carldric Clement
07-10-2014, 03:45
You solved by installing the components, even to me by error?

You've got wrong code side it! Here's the code:

Make sure you backup it like
//Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'silent',false);

Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/silent',false);


There!
:rolleyes::cool:

felice2011
07-10-2014, 04:51
OK OK it works even before, the problem and the web installer dxsetup.
Did I just lose time.
I tried with another setup and it works.
1)Exec2(ExpandConstant('{src}\Redist\DirectX\GPU-Z.exe'),'/silent',false); OK
2)Exec2(ExpandConstant('{src}\Redist\DirectX\DXSET UP.exe'),'/silent',false); NO OK
someone explains to me reason???????????????????????

Dante1995
07-10-2014, 05:08
obviously the silent command does not work with all setup (it would be simple and beautiful way) to find them, just enter in -Help bat and read his options for cmd :)

Carldric Clement
07-10-2014, 05:14
OK OK it works even before, the problem and the web installer dxsetup.
Did I just lose time.
I tried with another setup and it works.
1)Exec2(ExpandConstant('{src}\Redist\DirectX\GPU-Z.exe'),'/silent',false); OK
2)Exec2(ExpandConstant('{src}\Redist\DirectX\DXSET UP.exe'),'/silent',false); NO OK
someone explains to me reason???????????????????????

Try to download DirectX Offline Installer it! If will helpfully it!
:rolleyes::cool:

felice2011
07-10-2014, 05:23
NOOO I solved it, let alone if this could stop me ....
I armored in * exe. Dxsetup Web Installer, and everything works perfectly ... hihihihihi.:D:D:D:D
Simply using "Easy Binder 2.0":cool::rolleyes:

Gamer009
07-10-2014, 10:47
guyz, i'm getting this error

Dante1995
07-10-2014, 11:59
mmmmmhh

Gamer009
07-10-2014, 16:35
any reply ?

Carldric Clement
07-10-2014, 17:23
any reply ?

Can you give your Inno Setup Script?
(Not all files need it! Need Script Only!)
:rolleyes::cool:

Gamer009
07-10-2014, 23:21
it's the same as in the topic !

i have not edited it !!

felice2011
07-10-2014, 23:44
Guys after installing the game, the components are installed together, one after another without waiting to be closed at the end of installation.
How do I insert a wait command, type (WAIT) (-W) and wait for the closure of the component, and then run the next ?????

Carldric Clement
07-10-2014, 23:54
it's the same as in the topic !

i have not edited it !!

Find This Code From Black-Box Script

if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/q',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.ex e'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'), '/q',false);
end;
end;


Replace

if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/silent',false);
end;
if NvidiaPhysx.Checked then begin
Status.Caption:='Installing Nvidia Physx...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
end;
if VisualCCB.Checked then begin
Status.Caption:='Installing Visual C++...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\vcredist_x86.ex e'),'/q',false);
end;
if Framework.Checked then begin
Status.Caption:='Installing Framework...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 227;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'), '/q',false);
end;
end;


There!
:rolleyes::cool:

Dante1995
08-10-2014, 00:01
main.iss

DirectX 9c (C:\Users\Administrator\Downloads\Programs\directx _Jun2010_redist_2.exe)
Framework OffLine (http://www.mediafire.com/download/dyj38ib5wu8245n/dotNetFx40_Full_x86_x64_Slim.exe)
Link2 (v4.5.2) (http://ricktendo.info/Repack/dotNetFx452_Full_LDR_x86_x64_Slim.exe)
PhysX.exe (http://us.download.nvidia.com/Windows/9.10.0513/PhysX_9.10.0513_SystemSoftware.exe)

Adonix
08-10-2014, 04:51
i have make a data.bin file using below command line

a -ep1 -r -ed -lc2523 -ld590 -mt2 -msrep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc1000:l c8

everything is ok,...but how to extract it again by help of this installer ??
this installer do not works with this compression method,..please help me,..give me any installer for this compression command :(

Carldric Clement
08-10-2014, 04:59
i have make a data.bin file using below command line


a -ep1 -r -ed -lc2523 -ld590 -mt2 -msrep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc1000:l c8


everything is ok,...but how to extract it again by help of this installer ??
this installer do not works with this compression method,..please help me,..give me any installer for this compression command :(

Black-Box doesn't support the 64-bit it!
They need 32-bit (I'm think, hmm...)!
Try this code it:

-msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8

If they helpfully it!
:rolleyes::cool:

Gamer009
08-10-2014, 19:45
guyz, the dx is working now in the silent mode :)

Carldric Clement
08-10-2014, 21:21
guyz, the dx is working now

but now i need the code for the auto opening the URL after the installation completed !! [click finish to complete the setup ]

Weldone Gamer009!
:rolleyes::cool:

hydefromt70s
09-10-2014, 02:33
Is this installer support SREP 3.93 BETA?

Carldric Clement
09-10-2014, 02:39
Is this installer support SREP 3.93 BETA?

Yeap! you must copy and paste from include the srep.exe it! :D:rolleyes::cool:

evil1990
13-10-2014, 13:23
Hello everyone
During the installation at some point I get this error I tried it on 2 games

isdone.dll
an error occurred when unpacking
unarc.dll returned an error code -1
error archive data corrupteddecompression fails


2 games are divided so
Setup - 1.bin
Setup - 2.bin
Setup - 3.bin
Setup - 4.bin

The error occurs for all 2 games to 40%
how can I fix thanks

hydefromt70s
14-10-2014, 17:50
Yeap! you must copy and paste from include the srep.exe it! :D:rolleyes::cool:

So why do I get this error when trying to extract archive compressed with srep 3.93?

---------------------------
ISDone.dll
---------------------------
An error occurred while unpacking: Unknown compression method!
Unarc.dll returned an error code: -2
ERROR: unsupported compression method srep+lzma:158mb:normal:bt4:273:mc1000:lc8

I overwrite srep.exe file in 'include' folder of Black Box script with 3.93 version and also replace unarc.dll with the newest 333KB version. Still can't unpack archives compressed with srep 3.93....

Carldric Clement
14-10-2014, 20:27
So why do I get this error when trying to extract archive compressed with srep 3.93?

---------------------------
ISDone.dll
---------------------------
An error occurred while unpacking: Unknown compression method!
Unarc.dll returned an error code: -2
ERROR: unsupported compression method srep+lzma:158mb:normal:bt4:273:mc1000:lc8

I overwrite srep.exe file in 'include' folder of Black Box script with 3.93 version and also replace unarc.dll with the newest 333KB version. Still can't unpack archives compressed with srep 3.93....

You've forgot to copy & paste from include & Kurutucu Compressor it! You must it to use it!

Gamer009
15-10-2014, 03:41
face a problem with the script !
some downloaders says that, they face a problem called
Unarc.dll is missing
although i have tested the installer on my PC and it works fine !!!


PS: another user face another problem [see the image]

Adonix
15-10-2014, 05:55
PS: another user face another problem [see the image]

yes i got this error everytime :p

Gamer009
15-10-2014, 06:10
omg !!!

why ?@

:(

Gamer009
15-10-2014, 06:14
i think that this error comes from java , because of the splash logo once you clock Setup.exe

if there's a way to disable it, it will be nice

Adonix
15-10-2014, 06:40
i think that this error comes from java , because of the splash logo once you clock Setup.exe

if there's a way to disable it, it will be nice

yes i also request from the makers or helpers of this script that fix this error. this error message comes everytime we click next or something in installer.

hydefromt70s
15-10-2014, 06:41
You've forgot to copy & paste from include & Kurutucu Compressor it! You must it to use it!

I'm using Kurutucu Compressor with SREP 3.93 to compress files but still can't extract it later... :(

Carldric Clement
15-10-2014, 16:01
I'm using Kurutucu Compressor with SREP 3.93 to compress files but still can't extract it later... :(

I'll give you in this update srep it! :cool:

Carldric Clement
15-10-2014, 16:26
face a problem with the script !
some downloaders says that, they face a problem called
Unarc.dll is missing
although i have tested the installer on my PC and it works fine !!!


PS: another user face another problem [see the image]

UNARC.dll is not missing it!
Try run as adminstrator it! Or i'll give you
some was update from Black-Box Scripts!

hydefromt70s
15-10-2014, 17:32
I'll give you in this update srep it! :cool:

This atachment isn't contain SREP 3.93! It contain SREP 3.2 version!

I start thinking that we didn't understand each other, maybe because English isn't my native language but I try to explain it again...

My question is:

Can I use this script with SREP 3.93 version ? I mean compress archives using Kurutucu Compressor with SREP 3.93 and then unpack those archives using this Black Box script? I care only for the support of the SREP 3.93 version and only this version.

Carldric Clement
15-10-2014, 17:36
This atachment isn't contain SREP 3.93! It contain SREP 3.2 version!

I start thinking that we didn't understand each other, maybe because English isn't my native language but I try to explain it again...

My question is:

Can I use this script with SREP 3.93 version ? I mean compress archives using Kurutucu Compressor with SREP 3.93 and then unpack those archives using this Black Box script? I care only for the support of the SREP 3.93 version and only this version.

Can you give it! To test it! I want to found the solution problems it!

hydefromt70s
15-10-2014, 17:43
Can you give it! To test it! I want to found the solution problems it!

In atachment

Carldric Clement
15-10-2014, 17:53
In atachment

I found it! SuperREP(SREP) 3.9 beta was incompatible compressed data format it! Don't used the Beta! You will need to use is not beta it!

Screenshot:

hydefromt70s
15-10-2014, 18:10
So.... you found nothing because I knew that already, eh...

Summarizing: Black Box script doesn't support latest SREP 3.93 and... my english isn't so bad at all :p

Carldric Clement
15-10-2014, 18:28
So.... you found nothing because I knew that already, eh...

Summarizing: Black Box script doesn't support latest SREP 3.93 and... my english isn't so bad at all :p

You can search google the CLS-Srep Beta It for ISDONE! Carefully!
:rolleyes::cool:

Gamer009
15-10-2014, 21:14
@Carl , thanks a lot for help

but the script you gave me almost, the same as on the first topic !

what is the difference between them ?!!

Carldric Clement
15-10-2014, 21:48
Carl , thanks a lot for help

but the script you gave me almost, the same as on the first topic !

what is the difference between them ?!!

Game.iss file to make a games name & publish!
That file has been Edition!
Include Was Update SREP it!
and etc. (I forget all it! Sorry)
:p:rolleyes::cool:

Adonix
17-10-2014, 10:13
Installer showing error when installing. Bin file. Please fix.

http://i.imgur.com/zMAuzQ4.png

Carldric Clement
17-10-2014, 19:59
Installer showing error when installing. Bin file. Please fix.

http://i.imgur.com/zMAuzQ4.png

You must download that i uploaded it!
Click Here (http://fileforums.com/showpost.php?p=434995&postcount=916)!!
:rolleyes::cool:

Adonix
17-10-2014, 20:31
You must download that i uploaded it!
Click Here (http://fileforums.com/showpost.php?p=434995&postcount=916)!!
:rolleyes::cool:

CARL It's not saying "UNARC.dll is missing !" ,..it's saying "unarc.dll returned an error code:-1"
and the bb script you have attached : http://fileforums.com/attachment.php?attachmentid=10205&d=1413415080

what changes it has from original one ? please tell all details about this script that you modified.

Carldric Clement
17-10-2014, 20:50
CARL It's not saying "UNARC.dll is missing !" ,..it's saying "unarc.dll returned an error code:-1"
and the bb script you have attached : http://fileforums.com/attachment.php?attachmentid=10205&d=1413415080

That BlackBox Script was old & no updates from include's!


what changes it has from original one ? please tell all details about this script that you modified.

Game.iss file to make a games name & publish!
That file has been Edition!
Include Was Update SREP it!
and etc. (I forget all it! Sorry)

Adonix
17-10-2014, 20:51
That BlackBox Script was old & no updates from include's!



Game.iss file to make a games name & publish!
That file has been Edition!
Include Was Update SREP it!
and etc. (I forget all it! Sorry)

that's ok but how to solve error :p http://i.imgur.com/zMAuzQ4.png some people saying this problem, but i am not facing this problem when installing.

Carldric Clement
17-10-2014, 21:13
that's ok but how to solve error :p http://i.imgur.com/zMAuzQ4.png some people saying this problem, but i am not facing this problem when installing.

UNARC.DLL!! Must be a new version it! and no arc.ini from include!! hmm...
:rolleyes::cool:

Adonix
17-10-2014, 21:18
UNARC.DLL!! Must be a new version it! and no arc.ini from include!! hmm...
:rolleyes::cool:

? i do not able to understand you,.
unarc.dll what about it ?...is it outdated or what ?

Carldric Clement
17-10-2014, 21:28
? i do not able to understand you,.
unarc.dll what about it ?...is it outdated or what ?

unarc.dll was not outdated!
It means, Arc.ini no file from include folder it!
Must see it! It have or no!

Adonix
17-10-2014, 21:56
unarc.dll was not outdated!
It means, Arc.ini no file from include folder it!
Must see it! It have or no!

here is my arc.ini
[External compressor:srep]
;options = l%d (minimal match length, default=512)
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp


and i checked include folder there is unarc.dll present.

Carldric Clement
17-10-2014, 22:18
here is my arc.ini
and i checked include folder there is unarc.dll present.

Arc.ini file has been updated!
(Make sure you copy & paste from code it!)

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep64]
header = 0
packcmd = srep64 {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:lzma64]

header = 0

packcmd = FreeArc-LZMA-x64 e lzma{:option} <stdin> <stdout>
unpackcmd = FreeArc-LZMA-x64 d lzma{:option} <stdin> <stdout>


There!
:rolleyes::cool:

Adonix
17-10-2014, 22:24
Arc.ini file has been updated!
(Make sure you copy & paste from code it!)



There!
:rolleyes::cool:

is it compatible with Kurutucu Blackbox Inno Setup Script ?

Carldric Clement
17-10-2014, 22:37
is it compatible with Kurutucu Blackbox Inno Setup Script ?

Yeap! Try to get the result it!
Make sure you compile the script it!
:rolleyes::cool:

Gamer009
20-10-2014, 00:25
the new arc.ini file should be in the blackbox script folder

or in the "compressor by Razor" folder ?

Carldric Clement
20-10-2014, 03:08
the new arc.ini file should be in the blackbox script folder

or in the "compressor by Razor" folder ?

Nope! :D:rolleyes::cool:

minh_k43sj
21-10-2014, 11:12
Hello everyone, i have a question !
How to open a file document (like txt, doc,pdf) when i click "Thong repack" ?
Not as URL website of the scrip.


http://i.imgur.com/vWP1hQL.png

Dante1995
27-10-2014, 13:12
procedure TextOnClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('open', ExpandConstant('{src}\text.txt'), '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;

shafi fyzy
27-10-2014, 22:29
how to add two progress bars?

Dante1995
28-10-2014, 01:45
how to add two progress bars?
done

minh_k43sj
28-10-2014, 06:09
Thanh you Dante :D

Manjunath
30-10-2014, 05:13
Thanks bro for the Script but this script need some work i would like you to fix or give a solution PLZZZZ
1)Its Create desktop icon checkbox, it still creates icon if you unmark/deselect it
2)If setup crashes it doesnt callback like, if a game is installing and it got an error than crashed and i closed in by clicking finish the installed files still stays in program files, then i gotta go and uninstall it from control panel. It should roll back setup if failed!
thats it it will be very helpful if help me on these
Thanks again for Script!!!

Dante1995
30-10-2014, 10:21
done

There are no other changes to make, but I only help the problem (if you want a full version you open a tread, or you will always have problems with the original version of the forum, except someone shares a version fixes :)

minh_k43sj
30-10-2014, 11:07
done

There are no other changes to make, but I only help the problem (if you want a full version you open a tread, or you will always have problems with the original version of the forum, except someone shares a version fixes :)

Help me Dante, you can show to how to fix create shortcut desktop icon checkbox, it still creates icon if you unmark/deselect it

how to fix on scrip ?
i use scrip of Black_Box_Script_By_Kurutucu_V1.8.7z at post #1 of this topic

Dante1995
30-10-2014, 11:37
Help me Dante, you can show to how to fix create shortcut desktop icon checkbox, it still creates icon if you unmark/deselect it

how to fix on scrip ?
i use scrip of Black_Box_Script_By_Kurutucu_V1.8.7z at post #1 of this topic

your problem is resolved, there is nothing to change about it :)

minh_k43sj
30-10-2014, 11:45
your problem is resolved, there is nothing to change about it :)

you can add Slides show to this scrip of Kurutucu then upload to I can download ? (i want you add in Main(Compact.Mode)
if you can, thank you very much :o

Dante1995
30-10-2014, 15:23
you can add Slides show to this scrip of Kurutucu then upload to I can download ? (i want you add in Main(Compact.Mode)
if you can, thank you very much :o
;)
this code does not matter, I'm sorry I can not help

minh_k43sj
31-10-2014, 06:13
;)
this code does not matter, I'm sorry I can not help

i get it, thank you Dante
so, how to hide checkbox "Create shortcut to desktop" and "the line" as image :

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

Dante1995
31-10-2014, 08:03
procedure InitializeWizard();

WizardForm.NoIconsCheck.hide;
WizardForm.NoIconsCheck.hide;
TasksSeparateBevel.Visible:=False;
or TasksSeparateBevel.hide;

and remove code or //
//WizardForm.NoIconsCheck.Show;
//TasksSeparateBevel.Show;

Adonix
31-10-2014, 09:52
Hello i have 3 issues,..please fix them and help me.
FIRST :-
In main.iss file i am setting "#define AppSize "1640" "

but when installing game then it's showing "Game Space 1 Gb, Total Space Needed 1Gb"

But my game size is 1.64 gb ,..so please help me to fix the error.
http://i.imgur.com/KaVWxEM.jpg
=======================================
SECOND :-
i want to remove nvidia phyx and framework from installing (redist).
help me to disable them and hide that 2 options.
http://i.imgur.com/leNdU7m.jpg
=======================================
THIRD :-
i want to change right side upper corner 3 signs to good one.
http://i.imgur.com/2u8HNw5.jpg
=======================================

Attaching my main.iss file,..please fix it.
Please help me. thanks gods.

Dante1995
31-10-2014, 14:01
fix

minh_k43sj
31-10-2014, 18:17
procedure InitializeWizard();

WizardForm.NoIconsCheck.hide;
WizardForm.NoIconsCheck.hide;
TasksSeparateBevel.Visible:=False;
or TasksSeparateBevel.hide;

and remove code or //
//WizardForm.NoIconsCheck.Show;
//TasksSeparateBevel.Show;

Thank you Dante
You are No1 :D

minh_k43sj
31-10-2014, 18:33
How to fix
#define AppSize = 18600
but when run setup it only show 18gb (not 18.6gb)

You can fix this main help me Dante :o

again ! thanks for everything :p

minh_k43sj
31-10-2014, 20:26
GameSpaceLabel.Caption := ExpandConstant('Game Space : ') + MbOrTb({#AppSize}); = Show 18.6

GameSpaceLabel.Caption := ExpandConstant('Game Space : ') + ('{#AppSize}'); = Show 18600

18gb real is 18.432 :)
600x1024=614,400
18.432+614,400=:rolleyes:

It not working with main i was upload for you, if you can, please dowload main i was upload and test

and :
- 18gb real is 18.432 :) => i get it
- 600x1024=614,400 => what the 600x1024 ? i don't know
- 18.432+614,400 = put this size on #define AppSize ??

Dante1995
31-10-2014, 20:45
just remove the round to get the decimal





Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.3n', [Float]); StringChange(Result, ',', '.');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
SetLength(Result, Length(Result));
End;

Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
if Byte/1024 < 1024 then Result:= NumToStr((Byte/1024*100)/100) + ' GB' else
Result:= NumToStr(((Byte/(1024*1024))*100)/100) + ' TB'
end;

18600 mb = 18.164 gb

minh_k43sj
31-10-2014, 21:26
just remove the round to get the decimal





Function NumToStr(Float: Extended): String;
Begin
Result:= Format('%.3n', [Float]); StringChange(Result, ',', '.');
while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = '.')) and (Pos('.', Result) > 0) do
SetLength(Result, Length(Result));
End;

Function MbOrTb(Byte: Extended): String;
begin
if Byte < 1024 then Result:= NumToStr(Byte) + ' MB' else
if Byte/1024 < 1024 then Result:= NumToStr((Byte/1024*100)/100) + ' GB' else
Result:= NumToStr(((Byte/(1024*1024))*100)/100) + ' TB'
end;

18600 mb = 18.164 gb

OK, great.

and how to hide button "Back" at second windows setup"

sorry if i ask you too much :D (google translate, sorry my english)

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

Dante1995
01-11-2014, 04:09
if CurPageID=wpSelectDir then begin
WizardForm.BackButton.Hide;
end;

minh_k43sj
01-11-2014, 05:34
if CurPageID=wpSelectDir then begin
WizardForm.BackButton.Hide;
end;

HI, thank you so much
and :



1. add music on/off button as this image :


2.how to remove autoplay button music on (not hide, i know how to hide button)


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

Dante1995
01-11-2014, 07:33
I do not think you could do so.
1) you should delete the cjstyles or modify it to have full control of bordericon
2) you should disable the borderstyle and create custom button
not worth doing these stupid changes ;)

minh_k43sj
01-11-2014, 08:49
How to fix show my language ?
Đồng ý : correct with my language
Đô`ng y' : how to fix to Đồng ý


I use inno setup asi + unicode


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

prince8889
02-11-2014, 10:35
How Can Make The Script Accept Srep64 & Lzma64 , Please Help Me

texes06
06-11-2014, 03:15
Hi Kurutucu...
I need your help with something.
I want to compress the game 35 Gb. I have this game as DVD5 "Setup1.B of = 4.7 Gb, 4.7 Gb = Setup2.B's like" I want to compress. Where in which you can help and I will make changes to the files I'm so glad you gave. Thank You in advance ...

hydefromt70s
10-11-2014, 17:16
Is there any way to force the installer to unpacking files "on the fly". I mean instead of unpacking the files one by one arc -> SREP -> PCF -> arc -> the relevant data on the hard drive, unpack it in RAM to increase the speed of installation.

For packing games mostly I use Kurutucu Compresor with these two commands:


arc a -ep1 -r -ed -lc2048 -ld1024 -mt8 -w. \ -msrep + lzma: a1: mfbt4: d158m: fb273: MC1000: LC8
arc a -ep1 -r -ed -lc2048 -ld1024 -mt8 -w. \ -mprecomp + SREP + lzma: a1: mfbt4: d158m: fb273: MC1000: LC8


When trying to extract the game using this script are first unpacked temporary files on the hard drive and it takes forever.

Is there any way to temporary files (SREP, PCF, etc.) were unpacked directly in RAM, and appropriate files from the game directly on the hard drive?

Razor12911
10-11-2014, 22:19
Nope, you can't wanna extract on using ram memory bro, precomp files are normally big.I those methods extract on the fly for my installers.

Razor12911
10-11-2014, 22:23
How Can Make The Script Accept Srep64 & Lzma64 , Please Help Me
srep64 and lzma64 is just the samething when it comes to compression ratio, don't expect smaller archive sizes when using them, just use normal srep and lzma instead of the 64 part.

@texes06
Internal compression; I don't think it is supported.

texes06
13-11-2014, 23:49
Help please ...
Compression incorrectly setup on another computer starts normally when the last one 's computer setup . Where I might have done wrong ...
http://i.hizliresim.com/MlmaBk.jpg (http://hizliresim.com/MlmaBk)
http://i.hizliresim.com/AYWyXz.jpg (http://hizliresim.com/AYWyXz)

Dante1995
14-11-2014, 00:12
is not a compression problem in your screenshot, but a conflict of another

texes06
14-11-2014, 00:25
is not a compression problem in your screenshot, but a conflict of another

Thank you...

Gamer009
14-11-2014, 06:12
is not a compression problem in your screenshot, but a conflict of another

conflict with an application or so which is installed on the PC of that user ?

texes06
14-11-2014, 09:36
Please Help ...
I want to create up to 10 DVDs. How do I make an arrangement ... Thank you...
http://i.hizliresim.com/JEmNWW.jpg (http://hizliresim.com/JEmNWW)

zerohunter
17-11-2014, 20:36
OK so how does one use this as I am really confused on using this. Is there a tutorial or steps-by-steps method recommended? :confused: :confused: :confused:

defleppard
19-11-2014, 04:11
Hi there. first at all, i must says .. this is my first repack. so im newbie in this.
I made a repack of NBA 2k15 usin black box script (with slides and videos). I make my setup-1.bin file (about 18 gb) and my setup-2.bin file (around 19 gb).
everything goes perfetc. Indeed setup decompress at 100% and games after all works, but at the end of setup an error appears.
failed to open the archive in the module IS7zipExtract" Isdone.dll.

what it means thisthis?
can you help me to solve it?

thanx

Gamer009
20-11-2014, 12:58
guyz there's a problem while i launch the game from the desktop exe file !

-------------------------------------

also , how i can include a reg file in the installation ?

Razor12911
21-11-2014, 08:42
http://www.fileforums.com/showpost.php?p=410165&postcount=2

Gamer009
21-11-2014, 15:40
http://www.fileforums.com/showpost.php?p=410165&postcount=2

thnx a lot Razor, but any comment on my Desktop shortcut problem ?

Razor12911
21-11-2014, 22:13
It can be workdirectory bro after icon was created, maybe it is because it is incorrect or it was not defined.

zeroco0l
28-11-2014, 01:58
hi guys

i have been using the black box script the only problem i am getting is that
"Setup/Uninstall has stopped working" BEx error

Problem signature:
Problem Event Name: BEX
Application Name: Setup.tmp
Application Version: 51.1052.0.0
Application Timestamp: 53bcf616
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000001
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Thanks in Advance

Razor12911
28-11-2014, 02:26
Give us more information than that.

zeroco0l
28-11-2014, 08:43
I used this script and the final product crashes

details on what more u want

Bilawal
21-12-2014, 06:41
How to Use ISPackzip. It Jumps from 10% to 110% then 210%...
Please Help

Gamer009
23-12-2014, 13:15
It can be workdirectory bro after icon was created, maybe it is because it is incorrect or it was not defined.

hmmm

can you, please show me where i can define it ?

Razor12911
24-12-2014, 04:25
look for #define AppExec
the default value is "Kurutucu.exe"

example:
if the executable is iwsp6.exe then it should be
#define AppExec "iwsp6.exe"

if the is executable is DMC-DevilMayCry.exe and it is located in binaries it should be
#define AppExec "Binaries\DMC-DevilMayCry.exe"

mrcunbeo
25-12-2014, 02:07
Hi guy,
i am stucking at extracting file
when i start extract, it(precomp) pops up: "incorret version of precomp.exe"
and then (ISDone.dll) says
"an error occured while unpacking: does not match checksum!
unarc.dll returend an error code : -12
error: file....
failed CRC check"

I am using win 7 - 32 bit
I used the compress method of : http://fileforums.com/showthread.php?t=96298
may this method not suitable for win 7 - 32 bit?
please help me
merry Christmas !

Razor12911
25-12-2014, 08:26
Just change precomp version, I think you should use 0.42 for this script or just use trial-error method by replace precomp.exe until it works.

palievka
26-12-2014, 00:07
Black_Box_Script_By_Kurutucu_V1.8 as set compression through Inno Setup and not ARC

mrcunbeo
26-12-2014, 00:09
Just change precomp version, I think you should use 0.42 for this script or just use trial-error method by replace precomp.exe until it works.

can you explain more clearly?... i am new :(
my script is attached in this rar, or just follow this link :
http://codepad.org/SoPhVQPU (it says compact mode) and
http://codepad.org/l9epbzgE (it says compact and picture slide)

Bilawal
09-01-2015, 22:24
How To Add A Component Namely "Dual Core Fix"...

Razor12911
09-01-2015, 23:54
You can't do that on this script unless if you choose to edit the script by yourself to make it possible to allow components.

Gamer009
29-01-2015, 16:12
look for #define AppExec
the default value is "Kurutucu.exe"

example:
if the executable is iwsp6.exe then it should be
#define AppExec "iwsp6.exe"

if the is executable is DMC-DevilMayCry.exe and it is located in binaries it should be
#define AppExec "Binaries\DMC-DevilMayCry.exe"

yes, this is what i exactly do

#define AppExec "Binaries\DMC-DevilMayCry.exe"

but still face the same error !

http://fileforums.com/attachment.php?attachmentid=10508&stc=1&d=1416517110

DrakeMcCain
02-02-2015, 05:49
I have a question about BlackBox Inno Setup Script. I am newbie at Delphi. So, how to add licence agreement to BlackBox Script and where should I add required codes into the script?

ShadowEagle
08-02-2015, 06:21
Hi, how to add this?

I want to make a MULTi2 version of a game. For example german and english. There are a few files only for one language. So i want it`s possible to select the language on start of the setup. But how to implent that the specified files only will be copied if a special language is selected. For example: File A only for english language and file B only for german.

Thanks in advance and kindly regards.

GhostSystem
09-02-2015, 02:11
Good joy my friends it works fine. but the compresor did not complete when pack using precomp. It show "general decompression error in precomp". how to solve it.help me..

GhostSystem
09-02-2015, 03:54
how to hide cancel button on welcome page and how to hide back button in second page in kurutucu script..help me please..

pakrat2k2
09-02-2015, 06:11
post question in 1 topic & wait for answer.

Razor12911
09-02-2015, 06:44
Good joy my friends it works fine. but the compresor did not complete when pack using precomp. It show "general decompression error in precomp". how to solve it.help me..

you get that error because:
arc.ini options may be missing or not properly configured.
packjpg_dll.dll may be missing
zlib1.dll may be missing
if using precomp version 0.43, make sure that the option is -cn in arc.ini
if using precomp version 0.43, make sure that the option is -c- in arc.ini
if using precomp 0.38, 0.40 or 0.41, make sure that the option is -slow in arc.ini
switch off antivirus as precomp progresses.
if error shows up about stream error, then never use precomp for that particular file.

ShadowEagle
09-02-2015, 07:22
Hi, how to add this?

I want to make a MULTi2 version of a game. For example german and english. There are a few files only for one language. So i want it`s possible to select the language on start of the setup. But how to implent that the specified files only will be copied if a special language is selected. For example: File A only for english language and file B only for german.

Thanks in advance and kindly regards.

No Answer?

Razor12911
09-02-2015, 07:47
No Answer?
I will try to answer this in a few hours,
watch this post, it will be edited.

GhostSystem
14-02-2015, 03:42
i have a problem into the script.when i run the setup and did not find any ISArcExtrat. then
it did not uninstall automatically. i know there are no use the dll name InnoCallBack.dll.how to put it in the script and solve my problem . please help me....brothers