well, it depends on wether you are willing to use GUI or command-line.
GUI => right-click the file(s) to archive, from context-menu choose "7-Zip" -> "Add to archive…", on top give in path and archive-name, make your settings and mark "Create self-extracting archive on the right under "Options"
=> you are done
Command-line:
either 1)
create an archive, if you didn't install 7-zip into your path copy "7z.sfx" or "7zCon.sfx" into the folder where the archive is, and create a file "config.txt" as described in 7z.chm (while we are at it => good idea to read it…) and type into a command-line:
copy /b 7z.sfx + config.txt + your-created-archive.7z your-created-archive.exe
or 2)
open a command-line in the folder from where you want to archive the files and type (provided 7z.exe is in your path):
7z a -sfx7z.sfx a.exe *
and a self-extracting archive with Win32-GUI is created.
For the lazy ones -> http://sfx-maker.sourceforge.net/ from http://7-zip.org/links.html
Best regards!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I create a self extracting archive?
Hello everyone,
well, it depends on wether you are willing to use GUI or command-line.
GUI => right-click the file(s) to archive, from context-menu choose "7-Zip" -> "Add to archive…", on top give in path and archive-name, make your settings and mark "Create self-extracting archive on the right under "Options"
=> you are done
Command-line:
either 1)
create an archive, if you didn't install 7-zip into your path copy "7z.sfx" or "7zCon.sfx" into the folder where the archive is, and create a file "config.txt" as described in 7z.chm (while we are at it => good idea to read it…) and type into a command-line:
copy /b 7z.sfx + config.txt + your-created-archive.7z your-created-archive.exe
or 2)
open a command-line in the folder from where you want to archive the files and type (provided 7z.exe is in your path):
7z a -sfx7z.sfx a.exe *
and a self-extracting archive with Win32-GUI is created.
For the lazy ones -> http://sfx-maker.sourceforge.net/ from http://7-zip.org/links.html
Best regards!