SelF eXtract Maker for Windows.
✅ Tested on Windows 10 / Visual Studio 2013 (Minimum build WindowsXP)
WinSFXMaker is a very super simple install-sheild GUI tool for creating self-extracting (SFX) executables on Windows. It allows users to bundle ZIP archives into standalone .exe files that automatically extract and optionally run an installer or other program.
- ✅ Easy-to-use SFX archive generator
- ✅ Custom post-extraction command support
- ✅ Lightweight and dependency-free portable exe binary.
- ✅ Intuitive GUI with file pickers
- ✅ ZIP file bundling into a Windows EXE
- ✅ Custom post-extraction execution (e.g., launch installer.exe)
- ✅ Logging support via log4cpp
- ✅ Resource management using
SFXTemplateandres/
- Platform: Windows (32-bit / 64-bit)
- Language: C+ +ISO 14 with MFC and GDI+
/
├── Dialog/ # Dialog UI logic
├── Helper/ # Utility functions
├── SFXTemplate/ # Template EXE and metadata
├── UI/ # Icons and GUI resources
├── ZipArchive/ # ZIP compression/decompression (minizip-based)
├── log4cpp/ # Integrated log4cpp source
├── res/ # Resource files (icons, templates, etc.)
├── WinSFXMaker.* # Core application logic
└── README.md # Project documentation
-
Clone the repository:
git clone https://github.com/ahnshy/WinSFXMaker.git cd WinSFXMaker -
Open the solution:
- Launch
WinSFXMaker.slnin Visual Studio 2013 or later
- Launch
-
Choose build config:
- Select
ReleaseorDebugmode - Choose x64 or Win32 platform
- Select
-
Build:
- Build
ALL_BUILDor theWinSFXMakertarget
- Build
- Launch
WinSFXMaker.exe - Select the input ZIP file (e.g.,
setup.zip) - Specify output EXE file name (e.g.,
installer.exe) - Enter post-extraction command (e.g.,
setup.exe) - Click "Create SFX" to generate a standalone installer
- Ensure your post-extraction executable exists inside the ZIP archive
- Some commands may require elevated privileges (UAC prompt)
- You can customize the icon and stub using the
res/folder
-
Product Design and Developed by
ahnshy -
Built with:
- Microsoft Win32 / MFC & GDI+
- log4cpp for logging
- minizip for archive management
-
Inspired by traditional SFX packaging workflows
This project includes components like log4cpp and minizip, which are licensed under their respective open-source licenses.
Please verify usage rights before redistribution.
log4cpp LGPL 2.1 (Lesser General Public License v2.1)
minizip zlib/libpng License