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)

Kurutucu 03-04-2013 21:26

Blackbox Inno Setup Script
 
BlackBox Script V2 By y_thelastknight HERE

jackstuff 04-04-2013 01:32

This script based on Ansi OR Unicode?

Razor12911 04-04-2013 01:45

this script needs some work and some permissions.

Kurutucu 04-04-2013 03:48

Quote:

Originally Posted by Razor12911 (Post 416595)
this script needs some work and some permissions.

No. Don't need anything. Working...

KING2012 05-04-2013 00:28

why in time remaining : Test Run ?

Adhays 05-04-2013 08:44

are u have tutorial for use this conversion... sorry i'm newbie :)

Razor12911 05-04-2013 09:02

Quote:

Originally Posted by KING2012 (Post 416650)
why in time remaining : Test Run ?

because you didn't specify the progress for each archive you want to extract.

huavancuong098 06-04-2013 07:54

can you explain to me how to compress game, i don't known how to compress with arc file in inno setup!

y_thelastknight 06-04-2013 08:20

1 Attachment(s)
Quote:

Originally Posted by Kurutucu (Post 416707)
Updated to V1.1


Your ISSkinex.dll doesnt support ANSI version of inno setup

Replace with attach file

Kurutucu 06-04-2013 08:21

Quote:

Originally Posted by y_thelastknight (Post 416740)
Your ISSkinex.dll doesnt support ANSI version of inno setup

Replace with attach file

Your ISSkinex.dll not suppport Windows 8!

pakrat2k2 06-04-2013 08:23

1 Attachment(s)
Quote:

Originally Posted by huavancuong098 (Post 416737)
can you explain to me how to compress game, i don't known how to compress with arc file in inno setup!

you use freearc to create them
Code:

www.freearc.org
Quote:

Originally Posted by Kurutucu (Post 416741)
Your ISSkinex.dll not suppport Windows 8!

this version was modified 6 months later ( 2011 ), y_thelastknight's file was 2010. see if it works in win8

huavancuong098 06-04-2013 09:02

thank, Can i use funtion or value arc compress in inno setup?

altef_4 06-04-2013 09:04

there are two versions of isskinex, one for ansi and unicode versions.

Kurutucu 06-04-2013 09:33

Quote:

Originally Posted by altef_4 (Post 416744)
there are two versions of isskinex, one for ansi and unicode versions.

Yes. I'm used for Unicode version.

huavancuong098 06-04-2013 09:37

I want to ask about this script. This script create setup preview or create my repack with bin file? Can i create file compress.bat?

Kurutucu 06-04-2013 16:17

Quote:

Originally Posted by huavancuong098 (Post 416748)
I want to ask about this script. This script create setup preview or create my repack with bin file? Can i create file compress.bat?

Of course. But change ExpandConstant('{src}\arc.arc') to your bin file name. For example: ExpandConstant('{src}\data1.bin')

huavancuong098 06-04-2013 16:42

thank, but i don't known what it mean of thí scrip. Create file bin or use compress.bat to create file. Game have many file. How can i create file bin? Use Inno to create? Sorry for my question, i'm new!

Kurutucu 06-04-2013 17:15

You must look here: INNO TROUBLESHOOT Because my English bad.

adiga 09-04-2013 03:54

hi Friends
help me pliz i have some Problem
i have thes error

compiler error
file: ISDone.iss
Line 91:
Column: 94
UnKnown identifier 'PAnsiChar'

altef_4 09-04-2013 04:59

Quote:

Originally Posted by adiga (Post 416904)
hi Friends
help me pliz i have some Problem
i have thes error

compiler error
file: ISDone.iss
Line 91:
Column: 94
UnKnown identifier 'PAnsiChar'

i think you use ansi version of inno setup, then in [code] section find type and add this
Code:

#ifdef UNICODE
 PChar = PAnsiChar;
#else
 PAnsiChar = PChar;
#endif

or just rename PAnsiChar to PChar in line with error ;)

TsubasaHP 15-04-2013 01:17

Hi, when I press Compile, The Program gave me This Error
------------------------------------------
Compiler Error

Line 44:
Couldn't open include file " C:\Program Files\Inno Setup
5\Languages\English.isl": The system cannot find the file specified.
------------------------------------------------------------------

what's the Problem?

altef_4 15-04-2013 04:52

Quote:

Originally Posted by TsubasaHP (Post 417138)
Hi, when I press Compile, The Program gave me This Error
------------------------------------------
Compiler Error

Line 44:
Couldn't open include file " C:\Program Files\Inno Setup
5\Languages\English.isl": The system cannot find the file specified.
------------------------------------------------------------------

what's the Problem?

this error means that you don't have file english.isl in your inno setup languages folder.

pakrat2k2 15-04-2013 05:00

because its usually called default.isl not english.isl

TsubasaHP 15-04-2013 08:42

Quote:

this error means that you don't have file english.isl in your inno setup languages folder.
Thanks for Answers , But, No, english.isl is exist in languages folder .


Quote:

because its usually called default.isl not english.isl
no, its Called English.isl

Here is Script for languages :

[Languages]
Name: eng; MessagesFile: compiler:Languages\English.isl


I'don't now What's the Problem . Everythings is Ok . But when I Press Compile, I Gave That Error .

altef_4 15-04-2013 09:08

Quote:

Originally Posted by TsubasaHP (Post 417146)
Thanks for Answers , But, No, english.isl is exist in languages folder .




no, its Called English.isl

Here is Script for languages :

[Languages]
Name: eng; MessagesFile: compiler:Languages\English.isl


I'don't now What's the Problem . Everythings is Ok . But when I Press Compile, I Gave That Error .

try reinstall inno setup

amgad_800 15-04-2013 10:29

thanks buddy but i'm new to this
how to add the game image on the top please ?

Kurutucu 15-04-2013 11:05

Quote:

Originally Posted by amgad_800 (Post 417149)
thanks buddy but i'm new to this
how to add the game image on the top please ?

Open Style folder. You can edit images here. Top image size 654x90. Start and finish pages image size 650x330.

Kurutucu 15-04-2013 11:28

Updated 1.2

-Fixed some bugs and extraction problems.

pakrat2k2 15-04-2013 16:07

1 Attachment(s)
Quote:

Originally Posted by TsubasaHP (Post 417146)
Thanks for Answers , But, No, english.isl is exist in languages folder .




no, its Called English.isl

Here is Script for languages :

[Languages]
Name: eng; MessagesFile: compiler:Languages\English.isl


I'don't now What's the Problem . Everythings is Ok . But when I Press Compile, I Gave That Error .

try believing someone who speaks ENGLISH !!! the OP wrote it wrong he wrote english.isl which is WRONG ! Its supposed to be default.isl. But NOT in Languages subfolder, in root folder..

see screenshot.

it should be written:
Code:


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

then it would be correct for english!

Pein46 17-04-2013 02:30

Copy "Black_Box_Script_By_Kurutucu\Languages\English.is l" and paste to "C:\Program Files (x86)\Inno Setup 5\Languages\"

pakrat2k2 17-04-2013 16:34

why ?

its already in its default location, just that OP didnt know what it was properly called, and wrote it wrong in the script.

mikey26 21-04-2013 03:33

what if u just wanna use the normal compression internal compression from inno?

Razor12911 22-04-2013 08:23

@mikey26
hopeless and hopeful at the same time.

He must upgrade script so that feature can work.

Pein46 22-04-2013 18:28

Can you give me script for "compact view"..
http://s21.postimg.org/467zd6tlj/isdonedll.png

Razor12911 22-04-2013 22:00

@Pein46

example:

[Code]
var
NewCheckBox: TCheckBox;

procedure WizardFormResizer(Sender: TObject);
begin
if
NewCheckBox.Checked = True then
begin

WizardForm.Width:=NewWizardFormSizeX
WizardForm.Height:=NewWizardFormSizeY
end else begin
WizardForm.Width:=OldWizardFormSizeX
WizardForm.Height:=OldWizardFormSizeY
end;
end;


procedure InitializeWizard;
begin
NewCheckBox:= TCheckBox.Create(WizardForm);
with NewCheckBox do
begin

Parent:= WizardForm.InstallingPage;
Left:= SetPositionX;
Top:= SetPositionY;
Width:= SetSizeX;
Height:= SetSizeY;
Checked:= False;
OnClick:= @WizardFormResizer;
Caption := 'Compact View';
end;
end;


but you'll have to resize progressbar and lables :D

Pein46 22-04-2013 22:54

@Razor12911

Can you modify it with my script
http://rghost.net/45490901

Razor12911 23-04-2013 00:23

I just showed you what to do.

Post #37

felix1788 23-04-2013 01:00

excusme sir , i'am newbie want to ask, i have error on final extract show me notice like this " It Is Not Found Any File Specified For IsarcExtract "

i dont change compres method just like this Compression=none
and i have file "setup-1a.bin"

and use default method :

Code:

if not ISArcExtract    ( 0, 100, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
what should must i do sir ?

thx

*sorry my bad english :(

Pein46 23-04-2013 01:11

If your arc data = "setup-1a.bin"

Code:

if not ISArcExtract    ( 0, 100, ExpandConstant('{src}\setup-1a.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;

felix1788 23-04-2013 01:34

@pein46
thx for help,
i have "setup-1a.bin - setup-1c.bin" and "setup-2a.bin - setup-2c.bin"
so,must add new code for setup-b,c too ?

have error like this when i change what you said before..
http://s23.postimg.org/yp4poaxd7/Untitled.png


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

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