Questions tagged [sfx]

A self-extracting archive (SFX) is a computer executable program which contains data in an archive file combined with machine-executable program instructions to extract this information.

On executing the program under an operating system which supports it, the archive contents are extracted. Non-self-extracting archives contain the data files only, which need to be extracted with a compatible program. Self-extracting archives cannot self-extract under a different operating system, but can be opened with a suitable program.

Several programs can create self-extracting archives.

For Windows there are:

  1. WinZip
  2. 7-Zip
  3. WinRAR
  4. WinUHA
  5. KGB Archiver

For Macintosh there are:

  1. StuffIt
  2. The Unarchiver
  3. 7zX

Read more

89 questions
1
vote
2 answers

extract password protected sfx archive using c#

I have WinRAR SFX file. I know that I can extract archive using following code: Process process = new Process(); process.StartInfo.FileName = "unrar.exe"; process.StartInfo.Arguments = "x file.rar…
Robin.S
  • 21
  • 4
1
vote
1 answer

pass execution path of sfx to batch file

So basically i want to wrap my batch file in an sfx to make a tidy package as I am using multiple files that need to be packaged with the batch file. The problem I am facing is that I need drag and drop functionality so I need to somehow pass the…
1
vote
0 answers

How to create a Self extracting installer for windows from unix

From Windows, using the Iexpress tool, I could create a Self extracting installer, containing an .NET Application and an XML file. On invoking the output file, I could successfully execute the .NET application. But, I want to do this from UNIX. I am…
1
vote
3 answers

How to pack a SFX file created with DotNetZip library without destroy the file?

I've created a self executable with DotNetZip library and now I will pack the exe. I've tried it with UPX, BoxedAPP, .NET Shrink and IlMerge, all of them destroys the SFX file. Important: The reason of why I'm trying to pack the SFX is because I…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
vote
1 answer

How to do Winrar in a batch file

In the actual UI of WinRAR you can create an sfx file and have the following sfx options: Under General Tab: Path to extract: Create in current folder Under Modes Tab: Silent mode: Hide all Under Text And Icon Tab: Load the SFX Icon from the file:…
user959631
  • 1,004
  • 2
  • 14
  • 34
1
vote
0 answers

How to pass sfx settings to the SevenZipSfx class

Does anyone know how to pass the sfx settings for the SevenZipSfx class located at http://sevenzipsharp.codeplex.com/. I need to specify what file to run, etc. I just took one of the samples e.g ;!@Install@!UTF-8! RunProgram="setup.exe…
vince anon
  • 73
  • 1
  • 8
0
votes
0 answers

Which command argument can SFX (self-extracting archives) confirm file replacement

I want to extract an SFX in silent mode from command line. But if there is any existing file, the whole process will not be "silent". A "Confirm file replace" window pops up. Confirm file replace window Is there any argument can just send "Yes to…
0
votes
1 answer

Unpack SFX file using Inno Setup

I'm trying to run Inno Setup to automatically extract my SFX file without having to run extract manually. Is there any way? I leave my script below. Is there also a way to make Inno Setup extract the SFX in the Myprogramfolder created by the…
EnmanuelGo
  • 47
  • 5
0
votes
1 answer

How to run minimized with (RunProgram)

Is it possible to run the installation.bat minimized? And if so, how? RunProgram="waitall:Installation.bat"
JoDo
  • 1
0
votes
2 answers

Can a Self Extracting Zip File read a registry entry?

I'm trying to get my website to talk to a friend's program. Think ITunes - one main program with hundreds of thousands of little things installed into it. We don't want to have to create an InstallShield install program for each of those hundreds of…
Andrea
  • 37
  • 5
0
votes
1 answer

Add VERSIONINFO to SFX installer

I've written a PowerShell script that creates a Self-Extracting Archive (a.k.a. SFX) executable file with WinRAR command-line. The problem is that the VERSIONINFO metadata is completely empty (accessed by right-clicking the *.exe file that was…
Lews Therin
  • 3,707
  • 2
  • 27
  • 53
0
votes
1 answer

Possible to link Launch directory (of an SFX) for use within a script extracted to temp folder?

Most installs unpack to a temp folder. Is there a variable that holds the directory from which a SFX was launched, that can be subsequently used in a script operating from/in the temp folder? A broader scope of this problem is I would like to…
shorterxp
  • 19
  • 1
0
votes
0 answers

7Z SFX Unknow Publisher

i make some 7z sfx and working on my pc after make this sfx but after move to another computer after download and run this sfx get me this error Unknow Publisher and security message ! i read some post oin stackowerflow for sfx manifest and mt.exe…
mo.khorami
  • 79
  • 1
  • 1
  • 7
0
votes
2 answers

Self-extracting file that takes arguments and return exitcode

I want to create a self-extracting file (SFX) named Setup.exe which contains a Windows application with some dependencies. It is possible to start the Windows application with arguments, and I would like to put them at my Setup.exe and then it…
JerryA
  • 153
  • 1
  • 8
0
votes
1 answer

7zip SFX not extracting files

I'm trying to create a SFX file and run a vbs afterwards. Here's my config file: ;!@Install@!UTF-8! InstallPath="c:\\windows\\temp\\" ExecuteFile="cscript.exe" ExecuteParameters="c:\\windows\\temp\\script.vbs" ;!@InstallEnd@! The .7z archive is not…
aperally
  • 1
  • 1