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)

prolatao1993 02-10-2013 06:46

Quote:

Originally Posted by varma1993 (Post 423941)
were can i get it

I don't know. Ask Kurutucu :)

http://a.imageshack.us/img34/4307/42r.png

varma1993 02-10-2013 22:41

Hey U r sharing just a script not a compressing moethod so please post v2

jksengko 04-10-2013 05:37

not working
 
1 Attachment(s)
how to do this not working??

Kurutucu 04-10-2013 06:17

@61n4n74r

1.

Delete SoundCtrlButton.Parent := WizardForm;
or use // in front of SoundCtrlButton.Parent := WizardForm; = //SoundCtrlButton.Parent := WizardForm;

2.
Code:

if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) 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 ISArcExtract ( 0, 34, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

@jksengko


Why don't you read info???

You can edit redist files (Exec2)

Code:

  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;

You can enable NvidiaPhysx and Framework checkbox

Find

Code:

NvidiaPhysx.Checked:= False
NvidiaPhysx.Enabled:= False;

Change to

Code:

NvidiaPhysx.Checked:= True
NvidiaPhysx.Enabled:= True;


jksengko 04-10-2013 07:21

stop install
 
1 Attachment(s)
stop wroking during install ??

61n4n74r 04-10-2013 21:26

thanks mr kurutucu, that's worked...
arc iso ok, but when i try to use rar, i got this pop up...

http://i.imgur.com/YQ81BsV.png

Kurutucu 05-10-2013 19:47

@jksengko

I don't know what's your problem :/

@61n4n74r


For RAR and 7Zip add this:

On top

Code:

#define unrar
#define 7ZIP

and

On CODE

Code:

#ifdef unrar
    ExtractTemporaryFile('Unrar.dll');
#endif
#ifdef 7ZIP
    ExtractTemporaryFile('7z.dll');
    ExtractTemporaryFile('PackZIP.exe');
#endif


Pulcione86 06-10-2013 17:59

Unarc error
 
http://i.imgur.com/7fND57l.png


Guys I added the "DiskSpanning" because I need to split the game that is more than 4 gb, but I get that error.

How should I do?
If I have to edit the file Archives.ini you can email me as I have to change it?

Sorry for the English but is not my mother language

Razor12911 06-10-2013 21:07

Instructions

and don't use diskspanning.

Kurutucu 07-10-2013 01:52

@Pulcione86

Split your files. For example create 2 folder. 1 and 2. Copy line in compress.bat then for 1 change to C:\1\* for 2 C:\2\* etc... Easy. ;)

Code:

arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\1\*"
arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-2.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\2\*"


amd3 07-10-2013 02:22

Hi
Sorry my English is not good too.
I had a question. How Can I Setup-3.bin file that is inside the black box to the outside of the compressed mode. freearc program when I unzip the file I got this error Setup-3.bin could.Extract all the files Setup-1 black box how to How to write commands in the cmd file to extract Setup-3.
Please guide.
http://imageupload.co.uk/files/xzqni67p87jmbf4i0uja.jpg

Pulcione86 07-10-2013 03:02

Thank Razor12911 and Kurutucu but I still do not understand

Unfortunately I am now entering the world inno setup and I have difficulty.
I do not know, someone is willing to give me a full tutorial videos, or show me how to do Team viewer, I would be very grateful.

I'm damning the soul, I want to understand where I'm wrong

EDIT:

I solved that problem, but now when I go to pull out, after a few seconds I get this

http://i.imgur.com/L1c2P1j.jpg

ashyamsundar 11-10-2013 11:24

1 Attachment(s)
How to disable third page during installation ?

pakrat2k2 11-10-2013 12:04

you don't want any (redists ( DX, C++), then just disable them in the script

ashyamsundar 11-10-2013 13:16

Quote:

Originally Posted by pakrat2k2 (Post 424243)
you don't want any (redists ( DX, C++), then just disable them in the script

how to disable totally ?

Razor12911 11-10-2013 14:09

use the shouldskippage function.

Pulcione86

that error occurs if there's an error with script. So it's not you, you are not the cause for this error.

Razor12911 13-10-2013 03:00

it may be the arc.exe you used, it may not be compatible with unarc.dll or you didn't enable precomp and srep, or arc.ini wasn't found or wrong precomp.exe/packjpgdll.dll.

Vatsal Singh 13-10-2013 03:33

can you please upload all the previous versions
thanks in advance

Razor12911 13-10-2013 05:19

before I give you the files, use this method "-m0" and report back what happens.

Razor12911 13-10-2013 08:06

Two method switches?

arc a -ep1 -r -ed -w.\ Data\data01.cab -m0 "C:\Games1\*"

Try this one and report back.
If there is an error then something is totally wrong.

Razor12911 13-10-2013 08:53

ok, confirm that you used the correct precomp version

Kurutucu 13-10-2013 09:13

Quote:

Originally Posted by hsalheen (Post 424304)
yes it is work this method, arc a -ep1 -r -ed -w.\ Data\data01.cab -m0 "C:\Games1\*"
but i need use method Arc+Precomp+Srep+Arc ?? the progress bar doesn't move during extraction using this method and time doesn't count :mad::mad:

TESTED COMPRESSION METHODS:

Code:

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
 
-msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

7zip

RAR

NOTE: 1.8 only freearc, precomp and srep only. Look info for RAR and 7Zip.

Razor12911 13-10-2013 10:11

1 Attachment(s)
All done man, Here is your fix for the problem.
Sent PM for archive password.

Razor12911 13-10-2013 10:39

rename precomp04 to precomp from method.

Razor12911 13-10-2013 10:59

well, then in the archive you are extracting. look in the picture you uploaded.

precomp04 is there. either you create another archive using bat.

Razor12911 13-10-2013 12:43

I give up.

Razor12911 13-10-2013 13:15

Freearc 0.67 Alpha (3,653kb)

Razor12911 13-10-2013 13:29

2 Attachment(s)
Try this fix.

ashyamsundar 13-10-2013 13:48

How to change default installation directory ?

C:\program files\****
to
C:\Users\%USERPROFILE%\Desktop\****

Razor12911 13-10-2013 13:51

[Setup]
DefaultDirName={commondesktop} \****

Razor12911 13-10-2013 13:58

try with different files.

sentinelks 13-10-2013 15:41

limit compression and memory ex:

Code:

[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd  = srep {options} -l25% -l128 -c128 -a4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd  = precomp -f -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp


Kurutucu 13-10-2013 18:55

Quote:

Originally Posted by hsalheen (Post 424338)
error :confused:

Can you see?

http://i41.tinypic.com/k1aqz5.png

0/28 so there is no stream files. And if file don't have stream files precomp not work. Use srep only for Setup-1.bin.

yedkriz 13-10-2013 23:31

Quote:

Originally Posted by kurutucu (Post 419632)
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. ;)

how to download tis update ??
Where is the link ??
Sorry , am new to this

Kurutucu 14-10-2013 00:33

Black_Box_Script_By_Kurutucu_V1.8.7z

D4rkSp4wn 14-10-2013 11:03

Quote:

Originally Posted by Kurutucu (Post 424356)

Heya man, i know u wont be releasing the 2.0 stuff but can u add nanozip support to it and make the script 1.9 version?

Thanks in advance

Kurutucu 14-10-2013 12:56

Quote:

Originally Posted by D4rkSp4wn (Post 424373)
Heya man, i know u wont be releasing the 2.0 stuff but can u add nanozip support to it and make the script 1.9 version?

Thanks in advance

v1.9 changed only theme and music button. v2.0 cancelled. So won't share.

Razor12911 15-10-2013 06:43

make sure that this exists.

[UninstallDelete]
Type: filesandordirs; Name: {app};

sentinelks 15-10-2013 15:49

NeedSize no string Mb.

use example:
Code:

if Float < 1024 then Result:= NumToStr(Float/32*32)+ '00'+' Mb' else
;)

coliotte 15-10-2013 18:42

http://i.imgur.com/IDuW3d6.jpg


All times are GMT -7. The time now is 16:58.

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