A user asked in another post for a free self-extracting compression program for packaging his remote support exe files.
I will show you my method for creating 7zip self extracting exe's.
Here is my folder layout.

1. Download 7zSD. Extract and place the 7zsd.sfx in the folder.
2. Download the latest 7za***.zip (where *** is the version number). Extract and place only the 7za.exe in the same folder as 7zSD.
3. Download UPX, extract and place only the upx.exe in the folder where 7zSD and 7za are placed.
4. Make a subdirectory with the name Bin and copy all your installation files to it. I usually create install.bat and use that to pass parameters to the installer.
5. Create a Config.txt in the same folder as 7zSD, 7za and UPX.
Config.txt
Create.cmd
upx.cmd
More info.
I will show you my method for creating 7zip self extracting exe's.
Here is my folder layout.

1. Download 7zSD. Extract and place the 7zsd.sfx in the folder.
2. Download the latest 7za***.zip (where *** is the version number). Extract and place only the 7za.exe in the same folder as 7zSD.
3. Download UPX, extract and place only the upx.exe in the folder where 7zSD and 7za are placed.
4. Make a subdirectory with the name Bin and copy all your installation files to it. I usually create install.bat and use that to pass parameters to the installer.
5. Create a Config.txt in the same folder as 7zSD, 7za and UPX.
Config.txt
;!@Install@!UTF-8!
GUIMode="2"
Title="Program"
Directory=""
RunProgram="isntall.bat"
;!@InstallEnd@!
Create.cmd
upx --ultra-brute 7zsd.sfx
cd Bin
..\7za a -mx=9 "..\Program.7z" *
cd ..
copy /b 7zsd.sfx + Config.txt + Program.7z Program_Name.exe
del Program.7z
upx.cmd
upx --ultra-brute 7zsd.sfx
More info.
Last edited by a moderator: