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
0
votes
1 answer

Unable to run Zip 2 Secure EXE (Free) Version 14.5.0

I am using free version of Zip 2 Secure EXE and I keep getting the following error. I had done this 2 years ago without an issue. Also the Version created by is stamped as 15.0.0. Is the current download for 14.5.0 or 15.0.0? Can I get older…
PAS
  • 1,791
  • 16
  • 20
0
votes
1 answer

SFX run file after extraction depending on OS bitness

I need to create self-extracting archives that, once extracted, run different executables depending on the bitness of the Operating System. Until now, I have done this by use of WinRAR and BAT files but the quick flash of the Command Prompt window…
mythofechelon
  • 3,692
  • 11
  • 37
  • 48
0
votes
1 answer

How to run exe before or after "RunProgram" from 7zip sfx files setting on config.txt?

I am using 7zip to pack an installation (im using 7z because i need it to work in linux and windows). From what i've been reading the config.txt file can contains this: ;!@Install@!UTF-8! RunProgram="Installer.exe" ;!@InstallEnd@! But what if i…
gtilx
  • 2,055
  • 4
  • 17
  • 21
0
votes
1 answer

Add embedded resources to a command to be executed

I am looking to find the path of files in the resources of a VB application. The application is simple. It will automatically make a .7z file into a self extracting and launching file. 3 parts to this, 7zS.sfx, config.txt and an .7z archive i.e.…
MrAnderson1992
  • 399
  • 1
  • 3
  • 11
0
votes
1 answer

WinRAR SFX from commandline keeps creating a parent folder after extraction

I am trying to program an automatic SFX creator that integrates all the contents (recursively) form a specified folder. I successfully managed to do it thanks to some answers in different posts like this or this. The command I used is the…
Daniel Pereira
  • 391
  • 3
  • 6
0
votes
2 answers

WinRar SFX, extract to dynamic folder

I have RAR SFX with some programs. Depending on some conditions (command line parameter is something i can do), SFX should either extract to TEMP folder, or the current folder. It's basicaly new version of the software. If downloaded from the web,…
kzendra
  • 31
  • 1
  • 5
0
votes
1 answer

Extracting SFX 7-Zip

I want to extract two specific files from a .zip file. I tried the following library: ZipFile zipFile = new ZipFile("myZip.zip"); Result: Exception in thread "main" java.util.zip.ZipException: error in opening zip file I also tried: public void…
BullyWiiPlaza
  • 17,329
  • 10
  • 113
  • 185
0
votes
2 answers

How to find an exe file is a zip SFX file, C#?

In WinRar or 7Zip or ... we have a choice to convert zip file to an exe file(SFX). Now, How can we find, if SomeFile.exe is a SFX file or not? Note: This file can created by any zip applications.
Mohammad Dayyan
  • 21,578
  • 41
  • 164
  • 232
0
votes
1 answer

Create Visual Studio Project for building using command

I have a solution where there is a dependency on 7zip's sfx. Out of desire to keep the entire solution (plus the sfx) managed and coordinated, I want to create a new project to house all the source files that is used by sfx, and when building,…
this
  • 1,406
  • 11
  • 23
0
votes
2 answers

How can I create a 7-zip SFX installer that has double quotes in the parameter string?

I need to create an installer that runs a file called Deploy-Application.exe. Deploy-Application.exe takes a parameter that looks like this: Deploy-Application.exe -DeploymentType "Uninstall" When I put that in my config file, it doesn't work,…
Dbloom
  • 1,302
  • 3
  • 18
  • 45
0
votes
0 answers

How to create a sfx with progressbar by sevenzipsharp in C#

I want to create a sfx file with C# WinForms. I have downloaded sevensharp from https://sevenzipsharp.codeplex.com . I could not get any step by step tutorial for this. Some similar question I got from stackoverflow and other site, but all didn't…
65656565656
  • 91
  • 1
  • 12
0
votes
2 answers

Winrar SFX command line ignoring -iicon switch

I am trying to create a winrar self-extracting archive with a custom icon on the command line. It is all going well so far, except the custom icon is not working. Whenever I build the archive the icon used is the default winrar icon. If I create the…
Raiden616
  • 1,545
  • 3
  • 18
  • 42
0
votes
2 answers

7-zip SFX configuration issue

dI have created an archive in 7zip. (files.7z) i created a config.txt file (I actually created 3 different ones at different times). I use the command line tool to create the sfx which works fine. but when I run the .exe I do not get the expected…
timlint
  • 147
  • 2
  • 10
0
votes
3 answers

WinRAR SFX optional message but not in temp mode

If I am creating an SFX archive, I can set an optional question by enabling Temp Mode (files are unpacked to temporary folder), which presents the user with a nice "Are you sure" type question when they run the extractor program. However, by…
komodosp
  • 3,316
  • 2
  • 30
  • 59
0
votes
1 answer

Make single file with7zip SFX with java jar

Using this tutorial: http://mark.koli.ch/bundle-java-the-jre-and-launch-a-java-app-with-7zip-sfx I'm trying to put the jre and my .jar together,to result of a single executable file, so the JRE will not be required to launch my application. I use…
Synor
  • 333
  • 1
  • 4
  • 13