

#Win8usb installer maker incorrect function how to#
How to make a self extracting archive that runs your setup.exe with 7zip -sfx switch Step 1 - Setup your installation folder I have created step by step instructions on how to do this as I also was very confused about how to get this working. If I kept the name a.exe and setup.exe to the a and also added the archive.exe file into it using the previous script, and all it did was extracting the file into the local folder instead of executing it. Do I use archive.exe instead of a.exe? And if I do that, I get an error saying archive.exe is not a supported archive type. I need to compress the setup.exe file so I use the following script.

Now further down in the documentation it tells you how to add a file. Here is how the config.txt file look like: 4.00"īeginPrompt="Do you want to install the 7-Zip will generate archive.exe.

This will generate an archive.exe that will have the config.txt file to run the appropriate program. Here is where I'm stuck first to create an SFX file you need to call the following script: copy /b 7zS.sfx + config.txt + archive.7z archive.exe I'm using the 7-Zip 32 bit and the 7-Zip extra 32 bit. I followed the documentation, but I wasn't able to get any close. I'm playing around with 7-Zip to create a self-extracting archive (SFX) executable.
