FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Glass Black Box Inno Setup Script Unicode (https://fileforums.com/showthread.php?t=95321)

y_thelastknight 29-10-2013 23:29

Glass Black Box Inno Setup Script Unicode
 
2 Attachment(s)
Support
  • Precomp 0.38 - 0.42
  • Srep
  • 7Zip
  • Rar

Tutorials/Instructions
  1. Download attachment file and extract to a folder.
  2. Open Setup.ini file in output folder and change Appname, Publisher, Version, Size, Exec.
  3. Compress your Games and create archives.
  4. In Setup.ini change archive files names.
    Code:

    [FreearcFile1]
    Archive={src}\data.arc
    Output={app}\
    Disk=1
    ;Password=123

    Archive file Number
    Archive name
    Which Disk your Archive is
    Password of your archvie file

  5. In Setup.ini change Redist Name, Command, Parameter (Only 3 Redist Supports)
  6. Copile the Script.iss in main folder


Changelog

Code:

Version v1.4.1_C(Customized Version)
 
-Fixed Some bug.
-Fixed Shortcut error (thanks to hackjack).
-Added 2nd Shortcut to Desktop and Start menu.
-Added Percentage in Tittle.
-Added Video.
-Added Splash.
-Added Some Button Sounds.
-Added Redist ProgressBar

Version v1.4.1(Original Version)
 
-Fixed Some bug.
-Fixed Shortcut error (thanks to hackjack).
-Added 2nd Shortcut to Desktop and Start menu.
-Added Percentage in Tittle.

Script by
y_thelastknight
Razor12911

Special Thanks to pakrat2k2


Note - Try this Tool for Compressing archives. (Updated to 2.2.0)
If you get error when you compile use Inno Setup Enhanced Version

Preview
http://imageshack.us/a/img46/1913/kkcl.jpg
http://imageshack.us/a/img201/1350/l99y.jpg
http://imageshack.us/a/img5/9599/ha85.jpg
http://imageshack.us/a/img542/8355/cb0n.jpg

sentinelks 29-10-2013 23:51

Great job, nice code :)

http://prntscr.com/20pbkk

y_thelastknight 30-10-2013 04:51

@loitha, @varma1993 Chk the 1st post

@sentinelks, im not a pro dude. just a noob trying to improve thing with mistakes so will make a mistakes if your know how to fix it explain me..( it works fine for me )

sentinelks 30-10-2013 06:41

Quote:

y_thelastknight
and oh! I believe that already include with / *. * is a wrong method, the rest I should check your script but I'm busy with my codes for now :)

loitha 30-10-2013 09:33

im sorry im noob here..
how about compressing to 2DVD or more ?

y_thelastknight 30-10-2013 10:11

Quote:

Originally Posted by loitha (Post 425046)
im sorry im noob here..
how about compressing to 2DVD or more ?

For 1dvd
Code:

[FreearcFile1]
Archive={src}\data1.arc
Output={app}\
Disk=1
;Password=123

For 2dvd
Code:

[FreearcFile2]
Archive={src}\data2.arc
Output={app}\
Disk=2
;Password=123

For 3dvd
Code:

[FreearcFile3]
Archive={src}\data3.arc
Output={app}\
Disk=3
;Password=123

Red color are the changes you have to do create multiple dvds

loitha 30-10-2013 16:44

thx sir..
and how to create multiple archive for another DVD?
the compressor just do one archive or is there another setting that i miss?
sorry my eng :)

y_thelastknight 31-10-2013 05:41

Quote:

Originally Posted by loitha (Post 425061)
thx sir..
and how to create multiple archive for another DVD?
the compressor just do one archive or is there another setting that i miss?
sorry my eng :)

compressor doesn't do that. you have to manually separate the files.

jksengko 31-10-2013 06:05

how to set more icon
 
how to set 2 or more icon ?

jksengko 31-10-2013 06:56

add more redist!
 
how to add more redist?

loitha 31-10-2013 07:30

2 Attachment(s)
i have this error when i mount dvd2 of the game..
how to fix?

y_thelastknight 31-10-2013 09:07

Quote:

Originally Posted by jksengko (Post 425083)
how to set 2 or more icon ?

Quote:

Originally Posted by jksengko (Post 425086)
how to add more redist?

Will be added.

Quote:

Originally Posted by loitha (Post 425089)
i have this error when i mount dvd2 of the game..
how to fix?

What did you do.

Razor12911 31-10-2013 09:26

Nice one mate. great team work creating this. Compressor Black Edition is coming and will add all the required features this script has.
Cheers

loitha 31-10-2013 16:00

Quote:

Originally Posted by y_thelastknight (Post 425091)
What did you do.

i make 2 archive(data1.arc on dvd1 and data2.arc on dvd2)
the installer goes well on dvd1 but when it ask for disk 2 i found those error..
edit: my mistake, now works perfect

varma1993 01-11-2013 02:56

how to hide password from setup.ini

y_thelastknight 04-11-2013 00:01

Version v1.2.0 Avaliable


Changes

-Fixed some bug
-Updated Custom Component section
__________________

y_thelastknight 04-11-2013 03:40

Quote:

Originally Posted by varma1993 (Post 425117)
how to hide password from setup.ini

There is no option for it.

ashyamsundar 04-11-2013 23:00

1) Splash screen ?
2) any way to integrate setup.ini to setup.exe ?
3) music ?

sentinelks 04-11-2013 23:34

Quote:

Originally Posted by ashyamsundar (Post 425286)
1) Splash screen ?
2) any way to integrate setup.ini to setup.exe ?

copy file: Splash.png and isgsg.dll, to include folder

triviet4 05-11-2013 11:16

1 Attachment(s)
I want DirectX, Visual C++ ... All Checked Default, how?

How All ready checked?

y_thelastknight 05-11-2013 11:57

Quote:

Originally Posted by triviet4 (Post 425330)
I want DirectX, Visual C++ ... All Checked Default, how?

All ready checked, don't check

i didn't understand you..do you want checked all or don't check

if you want all checked then find these lines

Code:

  ShortcutCB := TNewCheckBox.Create(WizardForm);
  with ShortcutCB do
  begin

  DirectXCB := TNewCheckBox.Create(WizardForm);
  with DirectXCB do
  begin

  VisualCCB := TNewCheckBox.Create(WizardForm);
  with VisualCCB do
  begin

  SocialCB := TNewCheckBox.Create(WizardForm);
  with SocialCB do
  begin

and paste this line under those line..

triviet4 05-11-2013 15:55

i want all checked

i found those line

Code:

  ShortcutCB := TNewCheckBox.Create(WizardForm);
  with ShortcutCB do
  begin
    Parent := WizardPanel;
    Left :=(116);
    Top :=(299);
    Width := ScaleX(14);
    Height := ScaleY(14);
  end;



  DirectXCB := TNewCheckBox.Create(WizardForm);
  with DirectXCB do
  begin
    Parent := WizardPanel;
    Left :=(116);
    Top :=(320);
    Width := ScaleX(14);
    Height := ScaleY(14);
  end;



  VisualCCB := TNewCheckBox.Create(WizardForm);
  with VisualCCB do
  begin
    Parent := WizardPanel;
    Left :=(250);
    Top :=(320);
    Width := ScaleX(14);
    Height := ScaleY(14);
  end;


  SocialCB := TNewCheckBox.Create(WizardForm);
  with SocialCB do
  begin
    Parent := WizardPanel;
    Left :=(410);
    Top :=(320);
    Width := ScaleX(14);
    Height := ScaleY(14);
  end;

but paste what line? under those line..
can you details, please?

SORRY, MY ENGLISH'S BAD

sentinelks 05-11-2013 23:01

triviet4

all checked yes

copy in:
if CurPageID=wpSelectDir then
begin

DirectXCB.Checked:=True;
VisualCCB.Checked:=True;
SocialCB.Checked:=True;
ShortcutCB.Checked:=True;


CheckAll
Code:

DirectXCB.Checked:=True;
VisualCCB.Checked:=True;
SocialCB.Checked:=True;
ShortcutCB.Checked:=True;

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

Enabled True or False
True..
Code:

DirectXCB.Enabled:=True;
VisualCCB.Enabled:=True;
SocialCB.Enabled:=True;
ShortcutCB.Enabled:=True;

False..
Code:

DirectXCB.Enabled:=False;
VisualCCB.Enabled:=False;
SocialCB.Enabled:=False;
ShortcutCB.Enabled:=False;


varma1993 06-11-2013 00:08

please add video to this script

sentinelks 06-11-2013 04:58

Quote:

Originally Posted by varma1993 (Post 425370)
please add video to this script

Test Video and Slides done

sentinelks 06-11-2013 07:30

Sript Video-Slides-Audio by y_thelastknight and Razor1911
http://fileforums.com/showpost.php?p...&postcount=118

triviet4 06-11-2013 07:59

i'm question
i'm DiskSpanning

DiskSpanning=yes
DiskSliceSize=1566000000
SlicesPerDisk=3

DVD1: Setup-1a, 1b, 1c
DVD2: Setup-2a, 2b, 2c

But when setup DVD1, error... Please insert disk 2... (not found File Setup-2c)
How fix this error?

y_thelastknight 06-11-2013 08:31

Quote:

Originally Posted by triviet4 (Post 425383)
But when setup DVD1, error... Please insert disk 2... (not found File Setup-2c)
How fix this error?

dude add you file code under the slides code..

[files]
Source: Include\*.*; Flags: dontcopy;
///Dont put YourCode here//
#define i 0
#ifexist "Slides\1.jpg"
#sub AddFile

Source: Slides\{#i}.jpg; DestDir: {tmp}; Flags: dontcopy;
#endsub
#for {i = 1; FileExists(StringChange("Slides\FileName.jpg", "FileName", Str(i))) != 0; i++} AddFile
#endif

///Put It Here//


Quote:

Originally Posted by varma1993 (Post 425377)
y_thelastknight Accepted for the password of Video & Slides

Please Post The Password

Wait, script will be uploaded.

varma1993 07-11-2013 04:09

Quote:

Originally Posted by y_thelastknight (Post 425374)
LoL, Permission granted.
Also PM me the password.

Thx For The Video-Slides Script

And If Possible please Add the Video&Slides button like shown in the picture

http://s23.postimg.org/lyi0n8ljv/Capture_Copy.jpg

Thx For This Script

sentinelks 07-11-2013 04:16

Quote:

Originally Posted by varma1993 (Post 425457)
Thx For The Video-Slides Script

And If Possible please Add the Video&Slides button like shown in the picture

http://s23.postimg.org/lyi0n8ljv/Capture_Copy.jpg

Thx For This Script



anything is possible .. soon ;)

varma1993 07-11-2013 04:51

Quote:

Originally Posted by sentinelks (Post 425459)
anything is possible .. soon ;)

Plz Include Setup Icon & Splash in that script thx

jksengko 07-11-2013 06:12

set install on desktop
 
how to set install on desktop no by disc ?

georg1136 07-11-2013 06:53

Quote:

Originally Posted by varma1993 (Post 425463)
Plz Include Setup Icon & Splash in that script thx

For the icon just write this to the script:

icon=icon destination folder\your icon name.ico

varma1993 08-11-2013 02:10

Directx& Vcx86 Redists Not Installing

syntax Command Line Error

Plz Help

aj12345 27-11-2013 07:29

1.Its posibile ad 2 or more language
2.Pleas add buton
http://s5.postimg.org/f32ebkzev/Untitled.png
Sori for bad English

aj12345 28-11-2013 14:53

How to rename Configure in Подешаваља
http://s5.postimg.org/awm59zp6v/Untitled.jpg

sentinelks 28-11-2013 15:21

Quote:

aj12345
your language.isl and [CustomMessages]

aj12345 29-11-2013 02:00

I do not understand what I have to do with customMesage my language is SerbianCyrillic.isl.
I have to translate:Configure,Begin Install,<<Welcome to Setup Wizard>>,<<Setup Wizard Configuration>>,From here you can change the setup configuration

sentinelks 29-11-2013 03:09

[Languages]
Name: Serbian; MessagesFile: Include\SerbianCyrillic.isl, Include\SerbianCM.isl; method1


method 2
[CustomMessages]
Serbian.Configure= Configure in your lng
Serbian.BeginInstall=Begin Install in your lng



example:
Default eng is
WizardForm.NextButton.Caption := 'Configure';
Customm is
WizardForm.NextButton.Caption := ExpandConstant('{cm:configure}');





SerbianCM you must create the file with your translation of: Configure,Begin Install,<<Welcome to Setup Wizard>>,<<Setup Wizard Configuration>>,From here you can change the setup configuration

aj12345 29-11-2013 15:30

How to hide Softwares.
http://s5.postimg.org/n1k8tbcjr/Untitled.png


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

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