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)

r4ll 17-01-2014 19:54

1 Attachment(s)
Quote:

Originally Posted by y_thelastknight (Post 428344)
file is not available to extract.
file name is different or dir is different.

Code:

if not IS7ZipExtract    ( 0, 25, ExpandConstant('{src}\data1.7z'),  ExpandConstant('{app}\data1.srep'), false, '') then break;
{src} = where you archive file is.
data1.7z = Your archive file name.

Thanks I got my problem solved but there is now another problem with precomp.Hope you can again help me regarding this.

Thanks,

y_thelastknight 17-01-2014 21:22

Quote:

Originally Posted by r4ll (Post 428357)
Thanks I got my problem solved but there is now another problem with precomp.Hope you can again help me regarding this.

Thanks,


Im sorry mate i don't know about precomp :/

pakrat2k2 18-01-2014 00:22

Quote:

Originally Posted by r4ll (Post 428343)
I am getting this error.I have also renamed Data1 to My Data name:(

check the script, is it expecting precomp.exe or precomp041.exe. You might have to rename the exe to what its looking for.

r4ll 18-01-2014 01:04

1 Attachment(s)
:(:(

pakrat2k2 18-01-2014 01:12

look at the error picture you posted.. it tells you what the error is...

your installing / extracting into C:\Program Files x86\Fileforums\Kurutucu ??

is that where you want it to extract too ??

Razor12911 18-01-2014 01:48

if not IS7ZipExtract ( 0, 25, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}\'), false, '') then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'), ExpandConstant('{app}\data1.pcf'), true) then break;
if not ISPrecompExtract ( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}\'), '', true, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

7Zip can contain more than 1 file.

and there might something wrong.

when compressing

7Zip > Precomp > Srep > Arc

when decompressing it has to be in reverse

Arc > Srep > Precomp > 7Zip

The steps either compressing or decompression may be incorrect.

I suggest to replace 7Zip with Arc

r4ll 18-01-2014 22:36

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 428368)
if not IS7ZipExtract ( 0, 25, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}\'), false, '') then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'), ExpandConstant('{app}\data1.pcf'), true) then break;
if not ISPrecompExtract ( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}\'), '', true, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

7Zip can contain more than 1 file.

and there might something wrong.

when compressing

7Zip > Precomp > Srep > Arc

when decompressing it has to be in reverse

Arc > Srep > Precomp > 7Zip

The steps either compressing or decompression may be incorrect.

I suggest to replace 7Zip with Arc

Thanks for replying.I started everything from scratch but i found this precomp error while installing and if i remove precomp during compression installer runs nicely.:o

Razor12911 18-01-2014 23:49

you may wanna check precomp version used.

r4ll 19-01-2014 01:09

Quote:

Originally Posted by Razor12911 (Post 428388)
you may wanna check precomp version used.

Sorry but i don't understand what you are saying

mmhsagor 21-01-2014 12:26

precomp .42 keeps crassing. Trying to use precomp .43 and creating the setup.exe using Main(Compact.Mode+Slideshow & Video).iss but when I try to install it says wrong version of precomp.
Copied precomp .43 and arc.ini from Black_Box_Script_By_Kurutucu_V1.8\Precomp Versions\0.43 directory to include directory. nothing good happened. Any help????

y_thelastknight 21-01-2014 13:09

Quote:

Originally Posted by mmhsagor (Post 428477)
precomp .42 keeps crassing. Trying to use precomp .43 and creating the setup.exe using Main(Compact.Mode+Slideshow & Video).iss but when I try to install it says wrong version of precomp.
Copied precomp .43 and arc.ini from Black_Box_Script_By_Kurutucu_V1.8\Precomp Versions\0.43 directory to include directory. nothing good happened. Any help????

you have to use Main(Compact.Mode-precomp.0.43).iss to use precomp0.43.

r4ll 22-01-2014 23:57

@y_thelastknight
could you tell me what should i write for lzma in archive.ini

thanks,

y_thelastknight 23-01-2014 02:18

Quote:

Originally Posted by r4ll (Post 428539)
could you tell me what should i write for lzma in archive.ini

lzma Mean arc compression?

nhinchihap3 03-02-2014 07:54

How to change orther language
Thx

Razor12911 03-02-2014 14:50

you need to first add language file then translate some parts to your language.

nhinchihap3 03-02-2014 20:23

Quote:

Originally Posted by Razor12911 (Post 428855)
you need to first add language file then translate some parts to your language.

yeah i add Inno Setup\deafaul.isl but can't edit

pakrat2k2 03-02-2014 20:34

open it with notepad.. translate it into your own language, if there isn't one already in your language there for it.
( look in any of the conversions Language subfolder for the isl for your language ( then copy it to the script location
and rename it to what it expects ) will still say English/default but be in your language ??

mmhsagor 03-02-2014 23:25

Tried using Main(Compact.Mode-precomp.0.43).iss . Still the same. "Wrong precom version". Am I doing something wrong?

Rajeev07 05-02-2014 06:14

Hello Kurutucu I am the new user here and i wanted to ask you that how we will
add the main executable file which we have to install I have Change the PSD Files and done everything and my setup is also running just I am not getting one thing thst when i run the setup and when it start installing at that page error is coming and that is because the setup do not have an executable file.



............
Thank You

Tell me the solution when you are online

Can anyone tell me how to do that

Is anyone online to tell me

3 posts in less then 10 mins, WAIT for someone
to respond BEFORE posting again...

Lonelywarriors 05-02-2014 06:40

Rajeev: did you compressed game using kurtuchu compressor or winrar ,7zip ..etc ?

GloverK1911 07-02-2014 22:39

What about password?

GloverK1911 08-02-2014 00:26

my arc file has password

rxlord 10-02-2014 00:14

passowrd protect archives
 
hey can u tell me how can i passowrd protect the archives with your compressor and use protected archives in your installer

GloverK1911 10-02-2014 01:12

Quote:

Originally Posted by rxlord (Post 428991)
hey can u tell me how can i passowrd protect the archives with your compressor and use protected archives in your installer

You just edit file Archives.ini like this :
PHP Code:

if not ShowChangeDiskWindow ('Please Insert Disk To Continue...'ExpandConstant('{src}'),'Data-1.ctit'then break;
ISArcExtract050ExpandConstant('{src}\Data-1.ctit'), ExpandConstant('{app}\'), '', false, 'Your Password', '', '',false );
if not ShowChangeDiskWindow ('
Please Insert Disk 2 To Continue...', ExpandConstant('{src}'),'Data-2.ctit') then break;
ISArcExtract( 0, 50, ExpandConstant('
{src}\Data-2.ctit'), ExpandConstant('{app}\'), '', false, 'Your Password', '', '',false ); 


r4ll 12-02-2014 04:48

1 Attachment(s)
I don't know but why from today i am getting this error.i also used inno unicode and enhanced version both.

TsubasaHP 15-02-2014 06:05

Hi;Guys, I have a question

I want to add a Splash Screen at the end of the Installation ( After Redist Installed)...to show some important Note that i want to write...and I want this Splash screen shown about for example 1 minute .

How can I do This?

LuzhinE 20-02-2014 09:17

hello because not play videos with the format mp4?

Razor12911 20-02-2014 09:18

might be codecs, try XVid formatted mp4

LuzhinE 22-02-2014 21:09

Quote:

Originally Posted by Razor12911 (Post 429228)
might be codecs, try XVid formatted mp4

XVid if it works, you must install codecs to play the format. Mp4 where can I download these codecs mp4

Razor12911 22-02-2014 22:44

Install K-lite Codec Pack

LuzhinE 23-02-2014 06:08

Quote:

Originally Posted by Razor12911 (Post 429309)
Install K-lite Codec Pack

I'll try, thanks for your quick response

Lyrinx 23-02-2014 17:10

How can I get a slideshow of the page for the progressbar?
Like this for example:

http://yuq.me/users/29/145/JQgUMsW9Tv.png

http://yuq.me/users/29/145/70vDNK4qZk.png

Razor12911 26-02-2014 09:13

you don't get it, you make that. you use isslideshow and botva2 for progressbar else cjstyle theme for progressbar

acidburn666 02-03-2014 19:06

Quote:

Originally Posted by ashyamsundar (Post 419908)
How to change default as compact mode ?

Quote:

Originally Posted by Razor12911 (Post 419909)
make the TCheckBox checked.

Adding Line "CompactCheckbox.Checked := True" in Installation Chapter gives "Null Pointer Exception".

Any Ideas how to fix that? Want to build a nice clean Installer only in Compact Mode.

thx

Razor12911 02-03-2014 20:22

maybe you need to add that line after the checkbox is created.

Lyrinx 06-03-2014 06:12

About that Slideshow again, let me rephrase the Question "How do I make that?" I can only find incomplete stuff or the finished script for the Background Slideshow. Tutorials etc. for Inno are lackluster at best

Razor12911 06-03-2014 13:58

1 Attachment(s)
here is an example.

Lyrinx 06-03-2014 14:44

Thank you

EDIT: Sigh I still can't get it to work, I have no clue how to implement the code

Lyrinx 07-03-2014 19:42

I Just creaed 5 setup.bin's using precomp43 because 42 gave me an error everytime. Then I added precomp43 to includeand compiled the Main 43 version, it compiled fine but the installer does not extract anything and just closes after a while

shimura 10-03-2014 10:31

got 1 question is it possible to make an progress bar for arc+precomp+arc version
i got around 2,4gb and while it uncompresin and precomping (around 2min) progress stuck on 0% after precomp'ing it goes up

nvm solved: downloaded lastest CLS-precomp.dll with injected precomp + dll version


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

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