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)

pakrat2k2 15-06-2013 22:14

thanks for update again... V1.8

You can edit redist files line 835 (Exec2)

hopefully you can have more then just the 3 that are there now ? Some games have 4-5 requisites that they want to install. ( yes DX is always one of them & shouldnt be counted, same goes for physx drivers ( video card drivers should install latest version anyways )).

if @y_thelastknight is doing V1.9 for slideshow & video ( that version should be posted seperately at bottom of first post
the whole blackbox script initially was for a slick looking installer ( that didnt need a bunch of fancy work done to display images etc.)
some people just want a simple installer ( maybe display a game background during install, & thats all, much like compact mode )

Kurutucu 15-06-2013 22:17

@pakrat2k2

For more Redists they use Winrar. For example 4 redists need. DX, VC and Physx included. For 4. redist using winrar. For example disaplay driver and physx compressed with winrar sfx type. And they will edit sfx for silent and opening physx.msi and disaplaydriver.exe. Then open main.iss. Find Exec2(ExpandConstant('{src}\Redist\physx.exe'),'/q',false) change to Exec2(ExpandConstant('{src}\Redist\redists.exe'),'/q',false).

or

They can add [Run] section for other redists. :)

pakrat2k2 15-06-2013 22:20

thanks for the added info, didnt see that far into script.

Kurutucu 15-06-2013 22:47

Quote:

Originally Posted by pakrat2k2 (Post 419636)
the whole blackbox script initially was for a slick looking installer ( that didnt need a bunch of fancy work done to display images etc.)
some people just want a simple installer ( maybe display a game background during install, & thats all, much like compact mode )

In fact, a good idea. I will add this one week later. Because I have final exams :D

assassin193 16-06-2013 01:37

excuse me, up to now i still use Inno Setup Complier to repack soft, just few days ago i've known i can change skin setup.exe through InnoIDE ..... :)
and this is the first time i use InnoIDE for repacking game, i open the main.iss and i don't know which i can and have to change to repack, so anyone can help me, please ???

i'm from viet nam and if i say anything hard to understand, please forgive me :)

thank you so much :)

and does anyone have instruction about InnoIDE for newbie like me ???
i want to use this app but dont know how to create code :(

Kurutucu 16-06-2013 09:43

Instructions on blackbox script (Thanks Razor12911)

sentinelks 16-06-2013 10:24

even something so it would not hurt to include
example:

sentinelks 16-06-2013 22:00

toggle pause
or you had to click for each archive :)

gamesbox796 17-06-2013 03:35

I am not getting this particular point 2. Compress files with your method (Look at tested compression methods ). Then open Archives.ini . Edit for your compression method.
Examples: Code: i f n o t I S A r c E x t r a c t ( 0 , 1 0 0 , E x p a n d C o n s t a n t ( ' { s r c } \ S e t u p - i f n o t I S 7 Z i p E x t r a c t ( 0 , 1 0 0 , E x p a n d C o n s t a n t ( ' { s r c } \ S e t i f n o t I S R a r E x t r a c t ( 0 , 1 0 0 , E x p a n d C o n s t a n t ( ' { s r c } \ S e t For more files copy and paste
line. If files more CD or DVD: Code: i f n o t I S A r c E x t r a c t ( 0 , 5 0 , E x p a n d C o n s t a n t ( ' { s r c } \ S e t u p - 1 i f n o t S h owC h a n g e D i s kW i n d ow ( ' P l e a s e I n s e r t D i s k 2 T o C o n t i f n o t I S A r c E x t r a c t ( 0 , 5 0 , E x p a n d C o n s t a n t ( ' { s r c } \ S e t u p - 2 i had already used Inno setup for repacking games will you please explain me in brief or short video to be attached how did you do that.

mikey26 17-06-2013 04:34

i put my directx folder in the redist folder but i get a Invalid command line switch.

pakrat2k2 17-06-2013 05:15

for which redist? if directx try change /q to /silent ..

assassin193 17-06-2013 05:23

if i just want create an installation, not include any thing like directx, redist....... just install a game, how to do that ???

assassin193 17-06-2013 12:22

phew, at last i've found some threads about Inno in my country, that's lucky for newbie like me :) bụt they don't really good like you guys in here :) that's true !!!


uhmmm, now i need add logo (such as Assassin's Creed) in any corner of the setup window, what should i do with the script ???

sentinelks 17-06-2013 13:55

assassin193
this is a poor question to understand what to do, better screenshots of your problem

nicola16 18-06-2013 03:07

you should speak only English.

bgsyc 18-06-2013 03:38

/my-images/266/6rz.png/]http://img266.imageshack.us/img266/7786/6rz.png[/URL]

bgsyc 18-06-2013 03:39

http://img266.imageshack.us/img266/7786/6rz.png

please help me

Kurutucu 18-06-2013 04:02

@bgsyc

You forget to change Archives.ini.

Please use English language only :)

assassin193 18-06-2013 04:24

Quote:

Originally Posted by sentinelks (Post 419712)
assassin193
this is a poor question to understand what to do, better screenshots of your problem

sorry for what i say that you don't understand, i'm form vietnam and i don't know much english :(
now i want to add logo (such as logo Assassin's Creed) like in this image, so what should i do with the script ???

http://img515.imageshack.us/img515/9282/13rn.png

y_thelastknight 18-06-2013 04:29

Quote:

Originally Posted by assassin193 (Post 419731)
sorry for what i say that you don't understand, i'm form vietnam and i don't know much english :(
now i want to add logo (such as logo Assassin's Creed) like in this image, so what should i do with the script ???

There is a logo.bmp in the style folder replace with your logo.bmp file

assassin193 18-06-2013 07:10

err , i see the folder named 'Slide'
so how does it work ???

sentinelks 18-06-2013 09:16

Quote:

Originally Posted by sentinelks (Post 419738)
no Slide..
change logo.bmp in Style folder to you logo.bmp

adjustments logo
WizardForm.WizardBitmapImage2.Width := ScaleX(230);
WizardForm.WizardBitmapImage2.Height := ScaleX(55);
WizardForm.WizardBitmapImage2.Top:=340;
WizardForm.WizardBitmapImage2.Left:=5;

add you logo in forum .rar :)

image optmizated

assassin193 18-06-2013 12:40

i have trouble, how can i fix it ???
http://i.minus.com/ibbK5O9UFyz3ZM.png

sentinelks 18-06-2013 13:55

Quote:

Originally Posted by assassin193 (Post 419753)
i have trouble, how can i fix it ???
http://i.minus.com/ibbK5O9UFyz3ZM.png

http://fileforums.com/showpost.php?p...&postcount=229

assassin193 18-06-2013 14:15

Quote:

Originally Posted by sentinelks (Post 419754)

thank you so much, it works :X

assassin193 18-06-2013 14:25

now i have a question
i open the setup.exe, i see my logo and when i click my logo, it take me to fileforums.com
now i want to change another link or remove that link, what should i do ???

sentinelks 18-06-2013 14:52

Quote:

Originally Posted by assassin193 (Post 419757)
now i have a question
i open the setup.exe, i see my logo and when i click my logo, it take me to fileforums.com
now i want to change another link or remove that link, what should i do ???

#define AppURL "https://www.facebook.com/cemal93" change in:

#define AppURL "your link"

nicola16 18-06-2013 15:37

Open main.iss look for the red words on top
//----------This Installer Uses Inno Setup Unicode Version----------\\
#define AppURL "https://www.facebook.com/cemal93"

assassin193 18-06-2013 19:09

thank you so much, and if i want to add vietnamese in, where should i do ??? i have a file named Vietnamese.isl

and in Slide folder, can i change another image ??? and more pictures than in that folder (example 9 pictures) ???

pakrat2k2 18-06-2013 19:15

edit main.iss and look for

[Languages]
Name: eng; MessagesFile: compiler ; default.isl ( without spaces to avoid emotion icons showing up )

change it to vietnamese, the isl chould be in placed is inno dir languages subfolder.
C:\Program Files (x86)\Inno Setup 5\Languages

assassin193 18-06-2013 21:11

Quote:

Originally Posted by pakrat2k2 (Post 419772)
edit main.iss and look for

[Languages]
Name: eng; MessagesFile: compiler ; default.isl ( without spaces to avoid emotion icons showing up )

change it to vietnamese, the isl chould be in placed is inno dir languages subfolder.
C:\Program Files (x86)\Inno Setup 5\Languages

i follow your instruction and ... :(
http://i.minus.com/ibx5wzbSDaUqVG.png
but i create folder Languges in folder Black_Box_Script_By_Kurutucu_V1.8 it actually works !!! but when i open setup.exe, font error :(

red01 18-06-2013 23:56

i run the script Main(Compact.Mode).iss

it gives me an error
Line 40:
column 1:
Identified Expected.

gamesbox796 19-06-2013 00:59

I had already use Inno setup unicode in which we can add files,folders,licence agreement directly but how to add folder of the game directly in this script which has to be extracted after installation is completed (for example in c: /program files/ubisof]

y_thelastknight 19-06-2013 01:18

Quote:

Originally Posted by red01 (Post 419776)
i run the script Main(Compact.Mode).iss

it gives me an error
Line 40:
column 1:
Identified Expected.

can you check the Error again Line 40 or 140?

what is your inno setup version ANSI or UNICODE?

red01 19-06-2013 01:31

Quote:

Originally Posted by y_thelastknight (Post 419778)
can you check the Error again Line 40 or 140?

what is your inno setup version ANSI or UNICODE?

my Bad
it was line 140..
sorry again

I am using Ansi version of Innoset up.

y_thelastknight 19-06-2013 01:40

Quote:

Originally Posted by red01 (Post 419779)
my Bad
it was line 140..
sorry again

I am using Ansi version of Innoset up.

i thought

find this line and change this to
Code:

type
#ifdef UNICODE
 PChar = PAnsiChar;
#endif

this
Code:

#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif


kostaskaraivalis 19-06-2013 02:31

Quote:

Originally Posted by y_thelastknight (Post 419780)
find that line and change it into
Code:

#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif


I was getting the exact same error, but I was waiting for someone else to make that question..
Many thanks y_thelastknight!

red01 19-06-2013 02:58

Quote:

Originally Posted by y_thelastknight (Post 419780)
i thought

find this line and change this to
Code:

type
#ifdef UNICODE
 PChar = PAnsiChar;
#endif

this
Code:

#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif


Thanks @thelastknight,
this solved my problem.


I have a little question to ask again.

I use classical method of compression
i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup.

lets assume my data file is data1.arc (after final -mx compression).

What changes i have to make in archieves.ini for this method of compression.?

sentinelks 19-06-2013 05:43

Quote:

Originally Posted by assassin193 (Post 419783)
someone help me :(



you need to add the language file -> yourlanguage.isl

sentinelks 19-06-2013 05:57

Code:

[Languages]
Name: vtm; MessagesFile: Vietnamese.isl

you should edit some things that are not there (this is only for inno setup) no script mod


All times are GMT -7. The time now is 17:04.

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