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)

kostaskaraivalis 10-06-2013 05:50

Hi, I keep getting this error everytime ISPrecompExtract tries to extract any .pcf file

for instance:
http://i.imgur.com/Wn1rE2x.jpg

Everything works fine till the moment to begin extracting .pcf
I even went to installation path and I confirmed that last extracted file was .pcf unable to extract it


My Extraction code is:
Code:

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

I would appreciate if you could help me out with this issue.

Compressing sequence I used:
1) Arc -m0 -dm0
2) precomp -cn (as none compression, I used 0.4.3 version)
3) srep -m3f
4) Arc -mlzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Thanks in advance!

y_thelastknight 10-06-2013 06:39

@kostaskaraivalis
try with precomp v0.42

Kurutucu 10-06-2013 07:20

Quote:

Originally Posted by ashyamsundar (Post 419395)
i got this error in v1.5

Your compression method precomp04. Open in my script include and ISDone/include folder. Open arc.ini. Change precomp to precomp04. Then try.

Kurutucu 10-06-2013 07:22

@kostaskaraivalis

My script don't support precomp 0.43 version. Use precomp 0.42 version.

Razor12911 10-06-2013 07:52

Quote:

Originally Posted by Kurutucu (Post 419405)
Your compression method precomp04. Open in my script include and ISDone/include folder. Open arc.ini. Change precomp to precomp04. Then try.

And also replace precomp.exe with the 0.4 version exe

Quote:

Originally Posted by Thang (Post 419222)
I want create 2 process bar looks like the picture
http://s21.postimg.org/467zd6tlj/isdonedll.png

my script

Will add this function for v2 unicode.

Quote:

Originally Posted by AHRIMANSEFID (Post 419393)
inno setup enhanced edition 5.5.1 does not work ,plz help me how can i protect my setup source.
if this program works explain something about it or give an example thanks........

IS Enhanced disallows this from happening , unless you are talking about something else.

kostaskaraivalis 10-06-2013 07:56

Quote:

Originally Posted by Kurutucu (Post 419407)
@kostaskaraivalis

My script don't support precomp 0.43 version. Use precomp 0.42 version.

Okay, it worked! One last question, But I know that in 0.43 version for 0 compression is -cn. What option should I use in precomp042?

Kurutucu 10-06-2013 09:11

@kostaskaraivalis

Change to -c

kostaskaraivalis 10-06-2013 09:49

Quote:

Originally Posted by Kurutucu (Post 419419)
@kostaskaraivalis

Change to -c

I tried
Code:

precomp042 -c test.arc
But it doesn't work either.

Kurutucu 10-06-2013 10:02

@kostaskaraivalis

Download and extract it somewhere. Open compress.bat with notepad. Change C:/* to your files directory. Close and save then open compress.bat.

Use this:

ashyamsundar 10-06-2013 10:04

2 Attachment(s)
Quote:

Originally Posted by Kurutucu (Post 419405)
Your compression method precomp04. Open in my script include and ISDone/include folder. Open arc.ini. Change precomp to precomp04. Then try.

not woking bro

compressed by this cmd line

c:\window\system32>arc.exe a -ep1 -r -ed -lc- -s; -w.\ "Output\setup-1.bin" -mprecomp+srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "Folder\*"

freearc 0.67
precomp042
srep 3.0

now two error

Kurutucu 10-06-2013 10:09

I sended to you message. Add me on Facebook. I will help ashyamsundar and kostaskaraivalis with Team Viewer.

kostaskaraivalis 10-06-2013 10:12

Quote:

Originally Posted by Kurutucu (Post 419426)
@kostaskaraivalis

Download and extract it somewhere. Open compress.bat with notepad. Change C:/* to your files directory. Close and save then open compress.bat.

Use this:

Thank you! I've figured out, none compression:
for precomp040 is -c1
for precomp042 is -c-

thanks again!

Kurutucu 10-06-2013 10:13

@ashyamsundar

Kurutucu Compressor.

Kurutucu 10-06-2013 10:16

@kostaskaraivalis

Nice. For more question look at message.

AHRIMANSEFID 10-06-2013 10:20

guide add for me.
thanks

Razor12911 10-06-2013 10:39

Quote:

Originally Posted by ashyamsundar (Post 419427)
not woking bro

compressed by this cmd line

c:\window\system32>arc.exe a -ep1 -r -ed -lc- -s; -w.\ "Output\setup-1.bin" -mprecomp+srep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "Folder\*"

freearc 0.67
precomp042
srep 3.0

now two error

attach arc.ini file.

ashyamsundar 10-06-2013 10:49

Quote:

Originally Posted by Razor12911 (Post 419434)
attach arc.ini file.

now working with Kurutucu Compressor

Kurutucu 10-06-2013 11:31

Compressor added.

Razor12911 10-06-2013 11:39

how do you packzip?

Kurutucu 10-06-2013 12:00

I don't add packzip.

y_thelastknight 10-06-2013 12:09

im going to update the script with

Internal
Picture Slideshow
Video Background
Music
Compact Mode
Logo URL


@Razor12911 how do i add multiple pic to slideshow..

Kurutucu 10-06-2013 12:22

@y_thelastknight

What you say Internal or Internal Compression?

Razor12911 10-06-2013 13:06

Quote:

Originally Posted by Kurutucu (Post 419439)
I don't add packzip.

but base post reads, tested the following methods. Blah, blah, blah and there was packzip and i'm asking how do you use it.

@y_thelastknight will send a pm on how to do it.

Kurutucu 10-06-2013 13:08

Quote:

Originally Posted by Razor12911 (Post 419442)
but base post reads, tested the following methods. Blah, blah, blah and there was packzip and i'm asking how do you use it.

I used KaOs repack files for packzip extraction test.

Kurutucu 10-06-2013 17:32

Update 1.6

-Changed music button position.

-Added Logo+URL.

-Included Kurutucu Compressor(precomp 0.42+srep 3.0).

Riddle_R 10-06-2013 22:40

Can anybody help me in making an installer with a video embedded in it ?:D Such an installer was made by blackbox for Assassins Creed - Revaltions

AHRIMANSEFID 10-06-2013 22:42

We want to do something to prevent extract the setup file. to do something to not allow anybody to see the scripts,and files. Can we do this with inno setup enhanced edition??

Newbie 11-06-2013 01:39

EDITED.

I had some question but I decided Not to use Inno.

So, I'm back to program I'm using for a while.

Cheers

hydefromt70s 11-06-2013 08:07

Hi there,

Thanks for a great gaming setup - well done!
But I have one question - how to add NEW components of the installation, such as NET Framework 4?

Ok, I handle it already! :D

sentinelks 11-06-2013 13:53

just duplicate entries and the code that brings with it another component and change the name of the new copy
ex: VisualCCB in NetF4CB etc.

kostaskaraivalis 12-06-2013 03:33

Also the script would be pretty awesome if supported latest version of freearc http://freearc.org/download/0.666/Fr....666-win32.exe as well as precomp043 http://schnaader.info/precomp.zip. Keep in mind for a future update. Thanks again for this script!

nicola16 12-06-2013 07:46

Code that opens the link at the end of installation

should be placed at the end of the file iss


HTML Code:

procedure CurStepChanged(CurStep: TSetupStep);
var
    ErrCode: integer;
begin
    if (CurStep=ssDone) then
    begin
        ShellExec('open', 'http://fileforums.com/', '', '', SW_SHOW, ewNoWait, ErrCode);
    end;
end;


Kurutucu 12-06-2013 07:57

@nicola16

I added this already!

@kostaskaraivalis

Use precomp 0.42 or use my compressor.

sentinelks 12-06-2013 13:35

Kurutucu check your versions unicode .. are not operating at 100%
only 1.4 razor script works perfectly on all versions unicode

Kurutucu 12-06-2013 16:12

I will update later.

Kurutucu 12-06-2013 18:43

Update 1.7

-Converted for Unicode.

-Fixed extraction problems.

-Added precomp 0.43 and srep 3.2.

-ISDone.iss included to Main.iss.

-Added Precomp Versions folder for replace precomp.exe in include folder.

-You can edit archives in Archives.ini.

sentinelks 13-06-2013 00:24

Update 1.7

Unicode perfect :)

MartinezPL 13-06-2013 03:14

Can someone post a compression comparison
between packzip and free arc+srep+precomp? :D

nicola16 13-06-2013 06:03

nice thanks for unicode.

Riddle_R 13-06-2013 06:55

Installer with a video embedded in it ???
 
How can one make an installer like this, with a video embed in it ????

http://www.freeimagehosting.net/newuploads/pyy4m.jpg


Be VERY careful what you post, this forum does NOT toleate WAREZ of any kind !!!
you have BOTH warez group & website name in your Image !!


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

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