FileForums

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

altef_4 20-08-2014 09:20

Quote:

Originally Posted by Adonix (Post 433470)
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

Quote:

Originally Posted by Adonix (Post 433470)
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

Quote:

Originally Posted by Adonix (Post 433470)
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

Quote:

Originally Posted by altef_4 (Post 433471)
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

Quote:

Originally Posted by ZeD1818 (Post 433490)
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:

Code:

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

Quote:

Originally Posted by Adonix (Post 433502)
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

Quote:

Originally Posted by Razor12911 (Post 433503)
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

Quote:

Originally Posted by Adonix (Post 433531)
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..
Quote:

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

Quote:

Originally Posted by Adonix (Post 433630)
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..

Code:

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

Quote:

Originally Posted by y_thelastknight (Post 433631)
red color text are you have to change..

Code:

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

Quote:

Originally Posted by y_thelastknight (Post 433631)
red color text are you have to change..

Code:

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
Code:

setup-1.bin to data1.bin or dgf1.bin
What means DGF?

Answer:
Code:

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

Quote:

Originally Posted by pakrat2k2 (Post 434552)
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

Quote:

Originally Posted by pakrat2k2 (Post 434552)
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 ?

Quote:

[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

Quote:

#define AppExec "setup.exe"

so it will be

Quote:

#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

Quote:

Originally Posted by Gamer009 (Post 434591)
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

Quote:

Originally Posted by TsubasaHP (Post 434593)
Help me too, please.
I really need your help.

What's your Problem?
Code:

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

Quote:

Originally Posted by pakrat2k2 (Post 434594)
test & report back if it worked

:rolleyes:


ok

thanks for help :o


Quote:

Originally Posted by TsubasaHP (Post 434605)
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

Quote:

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

Quote:

Originally Posted by TsubasaHP (Post 434605)
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

Quote:

Originally Posted by TsubasaHP (Post 434607)
I make compression by this tool : Conversion Quick Archive Packer by Razor12911

You can use my program it: Mini Compressor


TsubasaHP 05-10-2014 03:41

Quote:

Originally Posted by Carldric Clement (Post 434608)
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

Quote:

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

Quote:

Originally Posted by pakrat2k2 (Post 434619)
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

Quote:

Originally Posted by TsubasaHP (Post 434613)
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
Code:

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

Quote:

Originally Posted by Gamer009 (Post 434651)
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

Quote:

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
Code:


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
Code:

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
Code:

[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
Code:

[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.exe'),'/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

2 Attachment(s)
^^

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


All times are GMT -7. The time now is 19:31.

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