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
62
votes
3 answers

How do I make a self extract and running installer

So currently my users download a zipfile, unzip it and then run setup.exe - I would like them to do this with one click. Using http://www.wikihow.com/Use-7Zip-to-Create-Self-Extracting-excutables i can make a self-extracting exe, but it doesn't…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
12
votes
1 answer

How can I create an auto-executing, WinRar SFX file from a batch file?

I have a 3rd-party installer program that I would like for my users to be able to download and run as a pre-requisite to an application that I have written. The installer can take parameters that allows for a passive installation, where the user…
RLH
  • 15,230
  • 22
  • 98
  • 182
12
votes
1 answer

How to create self-extracting RAR archive not showing anything on execution?

I am trying to create a self-extracting archive that extracts to "%USERPROFILE%\Desktop" with WinRar. However, when I run it, it extracts to the SFX's current directory, not my desktop. Does the path to extract option work at all? I'm using the…
magicbennie
  • 423
  • 3
  • 8
  • 20
11
votes
7 answers

7zip Self Extracting Archive (SFX) without administrator privileges

I use 7zip to create the SFX as follows: 7z.exe a -r archive.7z * Then I do a binary copy with the 7zS.sfx file (used to create a self extracting installer), config file "build.config", and the archive. The contents of config file are as…
Ruslan Gilmutdinov
  • 1,217
  • 2
  • 9
  • 20
9
votes
2 answers

Why does 7zip Ignore my InstallPath when making a SFX installer?

Currently, I am making a SFX with 7zip using the following config: ;!@Install@!UTF-8! InstallPath="C:\\test" GUIMode="2" RunProgram="7z465.exe" ;!@InstallEnd@! I then package 7z465.exe into Setup.7z, and then call the following line in a batch…
Ben
  • 7,692
  • 15
  • 49
  • 64
6
votes
1 answer

Creating automated Installer for any Program

How can I create an automated Installer for a program that has a regular Installer with questions like: Install Directory, Accepting License, Creating Icon on Desktop etc... Assuming that I am OK with building an Automated Installer for every…
WolfyD
  • 865
  • 3
  • 14
  • 29
6
votes
2 answers

7zS.sfx does not exist in the 7-Zip folder

I want to use the sfx module to create a .exe file of an installer On reading up online i found that we need this particular file : 7zS.sfx According to the instructions here this particular file should be available in 7-Zip folder (program files…
Meghana
  • 93
  • 1
  • 1
  • 10
6
votes
2 answers

7zip Self Extracting Archive (SFX) and .Net Installer

I am trying to create a self extracting archive for a windows application I have written. My app uses the latest .Net 4.0, and I want to include the .Net setup in the SFX installer. However, if the computer needs to install the .Net framework and…
L.J.
  • 131
  • 2
  • 2
  • 5
5
votes
1 answer

How can I automate the building of this Winrar Sfx File

After building my appplication on Windows using maven (and a little bit of ant) I manually create a Winrar Sfx Installer as follows: Select files, right click and select Add to Archive Use Browse.. to create the archive in the folder above Change…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
5
votes
2 answers

Why sfx sevenzipsharp '7-zip : unsupported method' when extract?

I have created hallo.7z and used 7zxSD_LZMA.sfx as module. I think my configuration is right but while extracting sfx I receive 7-zip : unsupported method void CreateExeFile() { try { SfxModule mdl = SfxModule.Extended; …
sloqye
  • 101
  • 1
  • 3
  • 11
4
votes
1 answer

how to create a wix bootstrapper application that runs self extracting exe as an exepackage

I have 2 installation packages that are prerequisites for our application. Both of these are downloaded from the vendor as self extracting executables containing the actual setup.exe and hundreds of files and folders required for the installation.…
Solar Serpent
  • 41
  • 1
  • 5
3
votes
0 answers

SFX archive created with 7zip (7zS.sfx) triggers program compatibitity assistant

Today I created an SFX archive running a custom embedded program (not really an installer). It works quite well in Windows 10. When I run it from Windows 7 and close the embedded program window, I obtain the following error message : I get an error…
Kiruahxh
  • 1,276
  • 13
  • 30
3
votes
2 answers

How to get WinRar SFX to launch a bat file after extraction

So I need to get the SFX to extract to the location and then automatically launch the bat file from the folder it's just extracted to. Hope someone can help. Thanks, Tom
OfficiallyFrex
  • 33
  • 1
  • 1
  • 3
3
votes
1 answer

How to set file properties 7zS.sfx self extracting executable

Is it possible to set the file version property on an exe that was created from 7zS.sfx? It seems the default implementation is to tag the exe with the properties of the 7zS.sfx.exe (see below)
invertigo
  • 6,336
  • 5
  • 39
  • 64
3
votes
2 answers

Passing command line arguments to SFX created with DotNetZip

I created a self-extracting zip using DotNetZip with the following options: var opts = new SelfExtractorSaveOptions(); opts.RemoveUnpackedFilesAfterExecute = true; opts.PostExtractCommandLine = "TestApp.exe"; opts.Flavor =…
jhewlett
  • 324
  • 3
  • 9
1
2 3 4 5 6