Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
310 views

create self-extracting archive (sfx exe) in-memory with python

I need to create a self-extracting archive exe file in-memory and upload it to GCS. I know 7zip can do that but as far as I see, py7zr doesn't support SFX files. Does someone know how to do that?
Omer Daniel's user avatar
1 vote
0 answers
783 views

How to execute a 7zip sfx with extra command line parameters

I have an installer (installer.msi) and I made a self-extracting 7zip with a config file. Here's my config file : ;!@Install@!UTF-8! ExecuteFile="Installer.msi" ExecuteParameters="TARGETDIR=\"[...
Alec Daraiche's user avatar
3 votes
0 answers
620 views

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 ...
Kiruahxh's user avatar
  • 1,996
0 votes
2 answers
632 views

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 ...
JerryA's user avatar
  • 163
1 vote
2 answers
5k views

Error Creating a 7-zip installer package

If this is not the correct place to ask this, I apologize. I use 7zip to create an installer package. Recently, my computer was updated, and I can no longer get it to work. I use a Windows Installer ...
Tim's user avatar
  • 2,901
2 votes
1 answer
6k views

How to execute an exe created with 7zip sfx with parameters

We are in process of creating an self extract exe with help of 7zs.sfx, following instructions provided here Works well till this point, but we are unable to run the exe via command prompt that ...
Santhosh's user avatar
  • 751
0 votes
1 answer
2k views

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\\...
aperally's user avatar
-3 votes
1 answer
1k views

7zip command line update command not working

I have a simple command in batch to update a single exe in a sfx pack I made (using sfx maker, third party) . There are a few sfx'that need the same file updating to new version / or older, if having ...
Tika9o9's user avatar
  • 425
0 votes
1 answer
488 views

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 ...
MrAnderson1992's user avatar
1 vote
0 answers
3k views

Applying code signing for 7zip SFX (self extracting exe)

I have code signing applied to the windows exe. And then we create an SFX (self extracting exe) with that windows exe and a json data file using the following commands. "C:\Program Files\7-Zip\7z....
AeJey's user avatar
  • 1,457
2 votes
2 answers
2k views

7zs.sfx unsupported method

I have setup project that I need to sfx him . first I zip the .msi and .exe files : %path7zip% a "%~dp0% %setup.7z" "%~dp0% %Output\Setup\*" that work fine . then I sfx the 7z file : copy /b %...
user1595351's user avatar
0 votes
1 answer
115 views

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 ...
this's user avatar
  • 1,426
0 votes
2 answers
2k views

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 ...
Dbloom's user avatar
  • 1,402
0 votes
0 answers
599 views

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 ...
65656565656's user avatar
1 vote
2 answers
8k views

7-zip SFX configuration issue [closed]

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 ...
timlint's user avatar
  • 157
1 vote
1 answer
4k views

SFX with 7-zip : Is it possible to run a included .bat file *before* extracting the files?

I'm creating a SFX executable with 7-zip (command line version) and the 7zsd.sfx module. My current config file looks like this : ;!@Install@!UTF-8! Title="Test" BeginPrompt="Test" CancelPrompt="Do ...
electrotype's user avatar
  • 8,786
66 votes
4 answers
185k views

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 ...
Paul Taylor's user avatar
  • 13.2k
0 votes
1 answer
942 views

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 ...
Synor's user avatar
  • 353
1 vote
2 answers
2k views

7zip sfx is executing RunProgram before it extracts all the files

I have a 7 zip self extracting exe, it is archived as shown below: [mainfolder] start.exe (a C++ bootstrapper) [subfolder] (contains all my applications assemblies and executable ...
Suraj Rajendrakumar's user avatar
3 votes
1 answer
8k views

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's user avatar
  • 6,426
0 votes
0 answers
301 views

Does the 7zip SFX or SevenZipSharp provide the in memory operation

I've investigated SFX components used in C#, I found Sevenzipsharp.dll may be a good chooice. But there are few dobuts in the 7zip beofre I go for it. Here are my questions: Does Sevenzipsharp ...
user3472080's user avatar
5 votes
2 answers
13k views

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 { ...
sloqye's user avatar
  • 111
11 votes
7 answers
21k views

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 ...
Ruslan Gilmutdinov's user avatar
2 votes
3 answers
5k views

How to run Multiple exe with “RunProgram” from 7zip sfx with config.txt?

Ive Tried this it only ever runs which ever instance of run program is first. ive also tried with ExecuteFile. ;!@Install@!UTF-8! Title="Title" RunProgram="one.exe" RunProgram="two.exe" ;!@InstallEnd@...
Chumbawamba's user avatar
6 votes
2 answers
12k views

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 ...
L.J.'s user avatar
  • 131
1 vote
0 answers
270 views

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 ;!@...
vince anon's user avatar
1 vote
1 answer
624 views

Problem extracting SFX during WiX-based install

I have the following code in my WiX project <CustomAction Id="ExtractHelp" Directory="DocFolder" Execute="commit" Impersonate="no" ExeCommand="[MYAPPINSTALLFOLDER]Doc\help_zip.exe" /> &...
codewario's user avatar
  • 21.3k
0 votes
1 answer
2k views

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=...
gtilx's user avatar
  • 2,055
9 votes
2 answers
11k views

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,...
Ben's user avatar
  • 7,782