PDA

View Full Version : How to edit the appearance of a FreeArc sfx archive?


DN8
05-11-2011, 10:16
Hello friends.

I want to know how I can change the appearance of a sfx archive of FreeArc? , I want that when you unzip the exe file looks like this:

http://k15.kn3.net/D8014639D.png:confused:

I've tried with and ResourseTuner ResourseHacker and it was not possible to edit compressed files because they can not.

sulfurum1989
05-11-2011, 17:44
Use th modificable sfx attached.

And replace the bitmap images with which you want

use resourse hacker to open the sfx archive

in Bitmap tab you can replace the image , (bmp)
in Dialog tab , you can resize the extraction window


http://img829.imageshack.us/img829/6436/sfxi.jpg

pakrat2k2
05-11-2011, 19:33
thanks for the info.. only had part of left hand column, but not the program name itself.

Now to incorporate that into INNO + Freearc script?

sulfurum1989
05-11-2011, 19:55
it is possible , call frearc sfx in inno setup whit autoit , no dlls , no codes , only 1 sfx archive , and , 1 auto ok button created with AutoIt

is easy , in inno setup at the final of installation calls the auto ok , the auto ok calls the freaarc sfx

with this method is executed sfx file with AutoIt , in inno setup calls the auto ok , like calls directx for example

I want to learn how to call a FreeArc file with Inno Setup - as peterf conversions but I had to try alternative methods

DN8
06-11-2011, 05:40
Miracle .!!!!! It was what I was looking for. Thank you very much. Greetings from Taringa!

DN8
06-11-2011, 05:54
it is possible , call frearc sfx in inno setup whit autoit , no dlls , no codes , only 1 sfx archive , and , 1 auto ok button created with AutoIt

is easy , in inno setup at the final of installation calls the auto ok , the auto ok calls the freaarc sfx

with this method is executed sfx file with AutoIt , in inno setup calls the auto ok , like calls directx for example

I want to learn how to call a FreeArc file with Inno Setup - as peterf conversions but I had to try alternative methods

(Translated by pakrat2k2)

Look I have the commands needed to make the file executable FreeArc sfx, make unattended installation.

You should only add this:

Filename: {src}\DATA.exe; Parameters: "-x -d""{app}"" -y -s2";

where:

Data = sfx is your executable file prepared by the FreeArc
{app} = Destination Directory. With a *slag(backslash) can be placed more subdirectories

These parameters are necessary for the installation is deatenida. regards

sulfurum1989
06-11-2011, 08:55
: O amazing, , we are close to having a good script, , this day I will make tests with these parameters

pakrat2k2
06-11-2011, 09:31
found this on RU forum too: might help if there are more then 1 freearc files


#define Archives "{src}\1.arc;DestDir:{app}\;Disk:1"
#define Archives Archives + "|" + "{src}\2.arc;DestDir:{app};Disk:2"
#define Archives Archives + "|" + "{src}\3.arc;DestDir:{app};Disk:3"
#define Archives Archives + "|" + "{src}\4.arc;DestDir:{app};Disk:4"

sulfurum1989
06-11-2011, 09:57
@DN8. You Can Be more specific about these parameters, in which section you have to place them?? , (image :))

PD , activate your MPs

pakrat2k2
06-11-2011, 10:29
what I posted #8, those can go i top section of script before [FILES], what DN8 posted #6 that can go in [FILES] section, but not necessary to be there. It can go anywhere.

sulfurum1989
06-11-2011, 11:07
Freearc In Inno More Easier than never

http://img717.imageshack.us/img717/1050/testrpq.jpg


Explaining the tutorial

1 - Do not put your arc sfx in Files & Dirs dont!

2 - Go to Install Run Section and

3 - Create New Item and put these commands ( like in the image )

{src}\DATA.exe
-x -d"{app}" -y -s2


To create subfolders


example ( thanks to pakrat2k2 )

-x -d"{app}"\BmGame\Movies -y -s2



PD : DATA . exe is an example (name of your choice.exe)

4 - Your ARC SFX archive must be in the Output folder of your project Inno Setup

At the end of the installation runs automatically the decompression of The Sfx

pakrat2k2
06-11-2011, 11:19
if you want subdirectories then change to this

Filename: {src}\DATA.exe; Parameters: "-x -d""{app}\xyz\"" -y -s2";

where \xyz\ is the subfolder

sulfurum1989
06-11-2011, 11:31
if you want subdirectories then change to this

Filename: {src}\DATA.exe; Parameters: "-x -d""{app}\xyz\"" -y -s2";

where \xyz\ is the subfolder

I get an error decompression with this line

But the subfolders problems can be solved compressing in your sfx multiple folders at the root folder of the game

pakrat2k2
06-11-2011, 12:00
tried with {app}\xyz ?

sulfurum1989
06-11-2011, 12:16
yes friend,,,

at this moment . the solution is compress multiple folders in the X game instalation folder ,, when the sfx is unpacked creates an exact copy :)

pakrat2k2
06-11-2011, 12:22
that works easiest. unfortunately freearc cannot handle mullti-volume archives. IE where you specify the size limit, so it will be a matter of testing what you want to archive so it fits on DVD5.

sulfurum1989
06-11-2011, 16:06
subfolders works 100%

example

-x -d"{app}"\BmGame\Movies -y -s2

pakrat2k2
06-11-2011, 20:54
good job, bud. Knew you'd figure it out.

going thru the RU forum, translating is such a pain. I'd seen it posted, but couldnt find the right post about it.

sulfurum1989
06-11-2011, 21:53
good job, bud. Knew you'd figure it out.

going thru the RU forum, translating is such a pain. I'd seen it posted, but couldnt find the right post about it.

I hope you can find it :)

Thanks for all the information and help Bud

Well, with this information more users can create their conversions compressed with arc

Thircase
09-11-2011, 14:34
Many thanks for the files and information. I was looking for an easy way to install "arc" files.

Also, to delete all the files when uninstalling, add this line to the script:

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

:D

pakrat2k2
14-11-2011, 20:56
if you want subdirectories then change to this

Filename: {src}\DATA.exe; Parameters: "-x -d""{app}\xyz\"" -y -s2";

where \xyz\ is the subfolder

compiling the ISS script generates compile error saying mismatched "...

correct format is:

Filename: {src}xyz.arc; Parameters: "-x -d ""{app}""\subdir -y -s2"; WorkingDir: {app}\subdir; StatusMsg: Extracting Freearc Archive...

this is of course in the [ RUN ] section of the ISS script.

EDIT: Also need to have

#define Archives "{src}\xyz.arc;DestDir:{app}\xyz;Disk:#" #-can be 1-whatever ( however many disks you end up with.)


IF using Multiple archives / disks then you need more #define statements.


#define Archives "{src}\1.arc;DestDir:{app}\;Disk:1"
#define Archives Archives + "|" + "{src}\2.arc;DestDir:{app};Disk:2"
#define Archives Archives + "|" + "{src}\3.arc;DestDir:{app};Disk:3"
#define Archives Archives + "|" + "{src}\4.arc;DestDir:{app};Disk:4"


hope this helps

pakrat2k2
29-11-2011, 19:11
sulfurum1989

looking back to your screenshot, what is the free.exe & free-1.bin ?? ( free.exe is the freearc.exe renamed ? )

sulfurum1989
30-11-2011, 16:46
Hi , nop

Free.exe is an example name for my inno setup compiled executable :)..

Free.bin is the bin archive when you uses diskspanning

i only use these names for testing inno setup - FreeArc :)

Newbie
21-02-2013, 16:26
I want to change sfx interface a little.

If sfx is created with free arc I will get this message with Resource Hacker

http://cdn.howtogeek.com/wp-content/uploads/2011/12/image13.png

If I create sfx with Winrar, all is fine then.

I can change/modify sfx without any problem.

But I would like to use Free arc, why, logical reason, compression is way better.

Anyone knows what to do.

Thanks

EDIT:

But it seems all is fine with alpha version, somehow I've downloaded 0.66 instead of 0.67

Will check it out and report back.

occan
14-04-2018, 21:56
in english:

Hi, I know this was a while ago, but I've been testing.
I have changed the file of the free arc so the image changes me, and that was barbarous. the problem is that in the inno setup file, I have the line:

filename: {src} \ probando3.exe; Parameters: "-x -d" "{app}" "-y -s2"

and when he calls the file, he throws me an error with which he can not open the file that is compressed (ex: video) that finds it in "c / app / c / my desktop / video.mp4"
So it appears to me, some idea of why ?, when modifying the images had to modify something more freearc?
I do not know why it appears to me that you have to open it, since you only have to unzip it.

I hope you can help me, regards

en espaņol:

hola, se que esto fue hace tiempo, pero he estado probando.
he cambiado el archivo del free arc asi me cambia la imagen, y eso anduvo barbaro. el problema es que en el archivo del inno setup, tengo la linea:

filename: {src}\probando3.exe; Parameters: "-x -d""{app}"" -y -s2"

y cuando llama al archivo, me tira error con que no puede abrir el archivo que esta comprimido (ej:video)que lo encuentra en "c/app/c/mi escritorio/video.mp4"
asi me aparece, alguna idea de por que?, al modificar las imagenes habia que modificar algo mas del freearc?
no se porque me aparece que tiene que abrirlo, ya que unicamente lo tiene que descomprimir.

espero me puedan ayudar, saludos

kj911
14-12-2022, 00:18
My methods using NSIS from running any Custom FreeArc SFX files... (file extension its custom. Likely *.sfxdat or any names. No EXE extensions.)

nsExec::ExecToLog '"$EXEDIR\SetupFiles\bigdata.sfxdat" -y -s2 -d"$INSTDIR"'

Use external compressors?

Variant 1: Put more external decompressors/cls-dll's put to located in any SFX exe file dirs. (ex: "SetupFiles\cls-msc.dll" ...)

Variant 2: Make ONE biggest SFX file, injecting with more external decompressors/dll's using Enigma Virtual Box tools.

Questions: How to increasing using bigger internal BMP files?? (LOGO.bmp on has 388*228px size. Likely bigger size. 104.bmp on has 93*301px size.) And modifyng Progress Bar in Win7 stye? Color changes? No skippeable with ESC buttons and more.. Fully recompiling the making custom SFX stub from source codes?

UPDATE: Checked the Sulfurum1989 posted sfx file, use different sized images, checking and comparing now then original "Freearc.sfx" file. In last Resource Hacker 5.1.7 x86, don't work from compiling, translating the SFX file. In older ~10-12 years ago times use any older version Reshacker its solvely working editing issues. Created many (and translated) variants these SFX modules, sourced from original "Freearc.sfx" and "Freearc-installer-nodelete.sfx" files, with or without visible in last extracted files and progressbar.

Questions part2: More FreeArc SFX modules, not supporting running any file, after extraction process?? (ex: WinRAR SFX, 7zSFX packages and more...)