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)

Razor12911 13-06-2013 08:07

that's easy, learn more on delphi programming, :D.

PM me the setup.exe so that I can make one like it.

sentinelks 13-06-2013 08:50

Quote:

Originally Posted by Razor12911 (Post 419513)
that's easy, learn more on delphi programming, :D.

PM me the setup.exe so that I can make one like it.



which program do you use to open a setup razor .. common ways not read the code delphi and pascal

Razor12911 13-06-2013 09:08

I don't, I create it from scratch. :D

sentinelks 13-06-2013 09:30

Quote:

Originally Posted by Razor12911 (Post 419519)
I don't, I create it from scratch. :D



I know you're good razor
but you said that you need the setup of the game to know .. then what you need the setup my friend
That was what I was saying :rolleyes::D

Razor12911 13-06-2013 09:43

hmm, yeah I know. I just need to see all the pages so that I can create something similar.

Riddle_R 13-06-2013 11:01

Razor..can u make one such installer ???

Razor12911 13-06-2013 11:17

yep. private message me the setup.exe download link.

will do it after I release my designer project.

ashyamsundar 14-06-2013 03:15

How to change music on and off to image

how to add image slideshow or video during installation

in v1.7

sentinelks 14-06-2013 05:52

Quote:

Originally Posted by ashyamsundar (Post 419548)
How to change music on and off to image

how to add image slideshow or video during installation

in v1.7

trial studying this code :)

ashyamsundar 14-06-2013 06:13

Quote:

Originally Posted by sentinelks (Post 419556)
trial studying this code :)

what about music on & off
to image ?

sentinelks 14-06-2013 07:41

Quote:

Originally Posted by ashyamsundar (Post 419558)
what about music on & off
to image ?

erxample:

MartinezPL 14-06-2013 08:44

Firts i want thank you now evrything works great ,installer unpacks evrything nicely
2nd guys don't add any videos etc ,cuz this installer was supposed to be a simple one
this installer is what i was looking for for long time :)

sentinelks 14-06-2013 09:15

is a great script but it's always better .. razor will make a version with videos etc. or we will not use more than its patch for GTA4 :D :D :D

MartinezPL 14-06-2013 09:35

I got question
My .exe from game is located in Binaries\Win32

Quote:

Name: {group}\Uninstall Remember Me; Filename: {app}\unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group}\Remember Me; Filename: RememberMe.exe; WorkingDir: {app}Binaries\Win32; Check: CheckError
Name: {commondesktop}\Remember Me; Filename: RememberMe.exe; WorkingDir: {app}Binaries\Win32; Check: CheckError
Did i do something wrong ? After finished installtion Dektop shortcut is invalid :(

Kurutucu 14-06-2013 09:45

@MartinezPL

Don't change anything.

Code:

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

Code:

#define AppExec "Binaries\Win32\RememberMe.exe"

assassin193 15-06-2013 05:50

hello, i'm from vietnam
i'm a newbie with Inno
and i have just practice with Inno
now i need how to create skin for setup.exe and found this thread
but i don't understand how the code work
so can you teach me how to use Inno and create skin carefully and clearly ???
thank you so much

Pein46 15-06-2013 06:26

@assassin193

check here..

Don't forget to change "Office2007.cjstyles" with your own filename..
Eg: skin.cjstyles

kr0m 15-06-2013 09:20

I'm testing this inno script, change as describe on first step, compile with success but when I execute the setup, forms and text are mess up and I dint change nothing there.
Please, some one now what's happening.

pakrat2k2 15-06-2013 10:03

which script are you using ??

just changing line in script ( to match installed game dir is fine ) BUT
you also must make changes in setup.ini to match game information.

y_thelastknight 15-06-2013 10:11

1 Attachment(s)
Black_Box_Script_By_Kurutucu_V1.8 Based on Black_Box_Script_By_Kurutucu_V1.4_Unicode By Razor12911

Changes
-Changed music button position for better place
-Added Logo+URL.
-Added Unlimited Picture Slideshow
-Added Video Background
-Added Compact Mode
-Added Task Progressbar
-Fixed Bug in Task Installation

Put your video file in the same directory where is main.iss
Support Mp4, avi, mpg, or wmv


For Internal Compression Change this to
Code:

;#define Internal "C:\Program Files\Fileforums\Blackbox Inno Setup Script\"
This
Code:

#define Internal "yourgameinstallationpath\"
Thank to Razor12911 for The Help

http://img826.imageshack.us/img826/9263/kozh.jpg
http://img405.imageshack.us/img405/1166/pb3w.jpg
http://img43.imageshack.us/img43/3817/nyj2.jpg
http://imageshack.us/a/img854/7771/k7x.jpg
http://imageshack.us/a/img856/7953/dki.jpg

Kurutucu 15-06-2013 12:00

@y_thelastknight

It's my work. but you change logo with your name. Reported.

y_thelastknight 15-06-2013 12:17

Quote:

Originally Posted by Kurutucu (Post 419606)
@y_thelastknight

It's my work. but you change logo with your name. Reported.

lol..only logo dude..i just improve ur script :p (i dont want any credit)
there is a psd file in psd folder..it has a gradient like that so everybody can change it..
it just a example no body is going to use my logo or your logo..that is the real fact :)

i will Reupload.

Kurutucu 15-06-2013 12:21

@y_thelastknight

I say to you 2 times. When you editing this script send me with message. Then I will test and share in main post. Sorry but you don't understand this.

sentinelks 15-06-2013 12:24

error:
isdoneprogressbar1.Position:=isdoneprogressbar1.Po sition + 10;


better precompile scripts or someone you can not go wrong :)

y_thelastknight 15-06-2013 12:24

Quote:

Originally Posted by Kurutucu (Post 419609)
@y_thelastknight

I say to you 2 times. When you editing this script send me with message. Then I will test and share in main post. Sorry but kids don't understand this.

sorry dude my mistake..:/

Kurutucu 15-06-2013 12:27

@y_thelastknight

I'm testing v1.8. When test finished I will upload and add your name in credit. However, good job. Thanks.

Kurutucu 15-06-2013 12:27

@sentinelks

I'm testing now. I will upload fixed v1.8.

y_thelastknight 15-06-2013 12:34

Quote:

Originally Posted by Kurutucu (Post 419613)
@sentinelks

I'm testing now. I will upload fixed v1.8.

there is nothing to fix i think :p

Quote:

error:
isdoneprogressbar1.Position:=isdoneprogressbar1.Po sition + 10;
what was the error? Po sition??

Kurutucu 15-06-2013 12:39

@y_thelastknight

Code:

if isdoneprogressbar1.Position = 100 then
  isdoneprogressbar1.Position:=0
  isdoneprogressbar1.Position:=isdoneprogressbar1.Position + 10;
  if WizardForm.ProgressGauge.Position = 100 then
  WizardForm.ProgressGauge.Position:=0
  WizardForm.ProgressGauge.Position:=WizardForm.ProgressGauge.Position + 10;

to

Code:

if isdoneprogressbar1.Position = 100 then
  isdoneprogressbar1.Position:=0;
  isdoneprogressbar1.Position:=isdoneprogressbar1.Position + 10;
  if WizardForm.ProgressGauge.Position = 100 then
  WizardForm.ProgressGauge.Position:=0;
  WizardForm.ProgressGauge.Position:=WizardForm.ProgressGauge.Position + 10;

And splash not work.

sentinelks 15-06-2013 12:46

HTML Code:

#ifexist "Video.avi"
ExtractTemporaryFile('Video.avi');
#endif
#ifexist "Video.mp4"
ExtractTemporaryFile('Video.MP4');
#endif
#ifexist "Video.mpeg"
ExtractTemporaryFile('Video.mpeg');
#endif
#ifexist "Video.mpg"
ExtractTemporaryFile('Video.mpg');
#endif
#ifexist "Video.wmv"
ExtractTemporaryFile('Video.wmv');
#endif
#ifexist "Video.wmv"
ExtractTemporaryFile('Video.wmv');
#endif
#ifexist "Video.swf"
ExtractTemporaryFile('Video.swf');
#endif

Code:

procedure ISFlash_init(Handle:HWND; Ffile: PAnsiChar); external 'isflash_init@files:ISFlash.dll stdcall';
procedure ISFlash_free; external 'isflash_free@files:ISFlash.dll stdcall';

procedure InitializeWizard();
var
FlashPanel: TPanel;
begin
RedesignWizardForm;
FlashPanel := TPanel.Create(WizardForm);
FlashPanel.Parent := WizardForm;
FlashPanel.Top := WizardForm.OuterNotebook.Height + 1;
FlashPanel.Left := -xxx;
FlashPanel.Height := xxx;
FlashPanel.Width := xxx;
ExtractTemporaryFile('video.swf')

ISFlash_init(FlashPanel.Handle, ExpandConstant('{tmp}\video.swf'));
end;

procedure DeinitializeSetup();
begin
ISFlash_free;
end;

also swf file very useful

y_thelastknight 15-06-2013 12:46

Quote:

Originally Posted by Kurutucu (Post 419615)
And splash not work.

oh yeah
find this line
Code:

procedure ShowSplashScreen(p1:HWND;p2:string;p3,p4,p5,p6,p7:integer;p8:boolean;p9:Cardinal;p10:integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
and change string into AnsiString
simple but forget to change :p

Kurutucu 15-06-2013 13:48

@y_thelastknight

Your edited script need fixes.

1. Slideshow seen only 1.jpg and 2.jpg.

2. Setup giving this error with no setup-1.bin.

http://i44.tinypic.com/317fvad.jpg

Here fixed some bugs. But you need to fix 1 and 2. When you fixed send me with message.

y_thelastknight 15-06-2013 13:54

01. there is no 3.jpg in the slide folder :D :(

will chk the error 02 :)

Kurutucu 15-06-2013 14:00

Look at Slides folder. There is 1-8.jpg.

sentinelks 15-06-2013 14:44

just create a small file data1.bin 1mb and place it in the directory where it will load and the problem is solved ...
and give the extraction directory in [source]
not having a file compress.bat is + very fluid to try that code

Kurutucu 15-06-2013 14:47

@sentinelks

Then run uninstall. You can give this error again.

pakrat2k2 15-06-2013 20:58

Quote:

Originally Posted by Kurutucu (Post 419613)
I'm testing now. I will upload fixed v1.8.

update post #1 with the updated, complete 'fixed' version 1.8 ?
you posted some other errors in inno troubleshoot thread .. ??

Kurutucu 15-06-2013 21:05

@pakrat2k2

I will upload. Changed some Instructions :)

pakrat2k2 15-06-2013 21:33

thanks for keeping updated :D

Kurutucu 15-06-2013 21:50

Update 1.8

-Added 4 version [Main.iss, Main(precomp.0.43).iss, Main(Compact.Mode).iss, Main(Compact.Mode-precomp.0.43).iss]

-Added original Blackbox Logo font.

-Fixed buttons.

-Fixed font colors.

-Added compact mode.

-Fixed finish page.

-Fixed Kurutucu Compressor.

-Added Framework redist.

-Skin change fixed. You can change with any skin.

-Disabled Nvidia Physx Checkbox. But you can enable it.

-Other checkboxs selected automatic.

-Watch Dogs Original Soundtrack added. ;)


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