Questions tagged [self-extracting]

A self-extracting archive is an archive that doesn't require any special application to extract its contents.

Unlike "normal" archives, which need a special application to be packed, unpacked or modified, a self-extracting archive is an application that contains both the archived data, and the logic to extract it.

The biggest advantage of this approach is the lack of need to download additional software to unpack the data.

However, such archives may be a security threat, because the user can't really know what is inside of it until he runs the application, which may potentially contain dangerous code.

97 questions
0
votes
0 answers

What script should I use to create a Self Extraction Directive in Innosetup?

I used to use iExpress add-on included in Windows,for years, to create a self extracting (temporary) PowerPoint presentation. However the process is now showing error messages (I suspect the issue might be due to Windows 11 but cannot be certain). I…
0
votes
0 answers

Prevent self extracting application entering sandbox mode on Windows 11

I have a self-extracting c# winforms app (implemented by Ionic.Zip 1.9.2.0) that runs on .NET Framework 4.5. Another winforms application manages the app and exports it to a temp folder for running. After I executed the main program without…
0
votes
1 answer

Run self extracting exe after extraction C# - DotNetZip

I am trying to create a self extracting exe. Creating it is no problem. Where I am facing problems is Setting the extraction path where the exe exists Running the extracted exe. For the second part, it is most probable that I must have the…
user349026
0
votes
1 answer

How to find the name of script that is currently running in R?

I have been trying to get the script name of an R script in R console. For example, I have the name of the R script “example.R”. I want to have this name as an assigned variable. I would like to do this without using basename() because I would like…
Rakakniven
  • 23
  • 6
0
votes
0 answers

How do I create a self-extracting archive that will place some of its contents into one directory and other contents into a different directory

I have a folder filled with games titled "Games", and a folder filled with GDS Reports titled "GDS_Reports". I want to create a self-extracting archive that contains these folders, that when opened, will place the "Games" folder in:…
CaptainCobol
  • 133
  • 1
  • 1
  • 10
0
votes
0 answers

DotNetZip doesn't close the self extractor form until the post extraction run program closes

I'm using DotNetZip to make a self-extracting archive (SFXtest.exe) which runs a program once extracted (testapp.exe) - the problem I'm having is that the form displayed during the extraction remains showing until testapp.exe closes - ideally I…
0
votes
1 answer

How to unzip Self Extracting Zip files in Azure Blob Storage?

I have a zip file(.Exe - Self-extracting zip file) that can be extracted using 7zip. As I want to automate the extraction process, I used the below C# code. It is working for the normal 7z files. But facing this issue 'Cannot access the closed…
Kathir Subramaniam
  • 1,195
  • 1
  • 13
  • 27
0
votes
1 answer

How to programmatically create a self extracting archive?

I was trying to create a utility that generates an self extracting executable, containing a pregenerated executable and a dynamically generated text file. I have looked, i may be looking with the wrong keywords, but i have not been able to find…
0
votes
4 answers

Extracting self-extracting exe archive via php

I have a problem. I have the service which is giving me .exe file which they claim is in fact zip archive. A self-extracting archive. Problem is that I am downloading that with my app (php) to server and need to extract it there witout downloading…
0
votes
0 answers

SED file location is wrong when generate exe using IExpress.exe

I have a project to generate bundled exe using IExpress.exe and run the following command from command prompt iexpress /n "C:\Users\Desktop\Generation\template.sed" which invokes the IExpress UI and pasted automatically with incorrect value in the…
saravana
  • 544
  • 1
  • 7
  • 26
0
votes
2 answers

Scripts executed by a WinRar self-extracting archive not behaving as expected

I have a self-extracting WinRar archive set up to run a powershell script upon completion. The script will launch, but specific commands do not give expected results. In particular, I have the following command to find the installation path of an…
Allotrope
  • 1
  • 1
0
votes
2 answers

Add a directory to a CAB project in Visual Studio 2008

We just recently converted our help file from the CHM format to HTML. Since our installer is Wix, rather than add each new file to the installer, I set up a build of a 7-Zip SFX file that takes every document in our Webhelp folder and packages it…
codewario
  • 19,553
  • 20
  • 90
  • 159
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
2 answers

How to extract a Win32 Cabinet Self-Extractor without executing the extracted file then

For a coursework, I have to analyse a malware. It is a .EXE Win32 Cabinet Self-extractor file. (that's how windows see it, it actually start with 4D 5A 00 03 Hex). When run, it extract all the files in a folder created, run the malware (batch/VBS…
Tosch
  • 1
  • 1
  • 1
  • 3
0
votes
0 answers

Self extracting archive/ Installer with environment variable

I have a website where people can upload their files for other to download. But I want the person who upload the files first create a installer package, and the path will contain some pre-defined environment variable. Are there any programs that…