
innoextract
A tool to unpack installers created by Inno Setup
About
Inno Setup is a tool to create installers for Microsoft Windows applications. innoextract
allows to extract such installers under non-windows systems without running the actual installer using Wine. innoextract
currently supports installers created by Inno Setup 1.2.10 to 5.6.1. (details)
Author: Daniel Scharrer (daniel@constexpr.org)
License: zlib/libpng
In addition to standard Inno Setup installers, innoextract
also supports some modified Inno Setup variants including Martijn Laan's My Inno Setup Extensions 3.0.6.1 as well as GOG.com's Inno Setup-based game installers. innoextract
is able to unpack Wadjet Eye Games installers (to play with AGS), Arx Fatalis patches (for use with Arx Libertatis) as well as various other Inno Setup executables. See the list of limitations below.
While developed on Linux, innoextract
is meant to work with any C++03
to C++17
compiler, architecture and operating system supported by CMake, Boost, liblzma and (optionally) iconv.
Announcements
innoextract 1.7 released
- Added support for Inno Setup 5.6.0 installers
- Added support for new GOG installers with GOG Galaxy file parts
- Added support for encrypted installers
- Added
--list-sizes
and--list-checksums
options to print file information - Adde a
--data-version
(-V
) option to check if an executable is an Inno Setup installer - Fixed case-sensitivity in parent directory when creating subdirectories
- Fixed issues with names used to load .bin slice files
Download
The current version of innoextract
is 1.7 (changelog):
-
innoextract Source Code
(mirror)
innoextract-1.7.tar.gz
191 KiB
MD5:4c6fb595d42c7e411aae992472888be6
signature
-
innoextract Windows Binaries
(mirror)
innoextract-1.7-windows.zip
469 KiB
MD5:b801b0740b4ab19d69a739ab4a9180ae
signature -
innoextract FreeBSD Binaries
(mirror)
innoextract-1.7-freebsd.tar.xz
682 KiB
MD5:03d3d04c4357efb35b36a9cce657f887
signature
The files have been signed with this OpenPGP key (28555A66D7E1DEC9).
Windows binaries should work on XP or newer.
FreeBSD binaries are built against FreeBSD 9.1, but will likely also work on other versions.
All 32-bit binaries are compiled for i686
(Pentium Pro or newer). 64-bit binaries are included for some platforms.
Older versions are still available for download.
There is also a port of innoextract
to Android by Alan Woolley.
macOS
There are no pre-builtinnoextract
binaries for macOS (formerly OS X), but there are also MacPorts and Homebrew packages.You can also build it yourself by downloading the source code and then following these instructions.
Packages
innoextract
packages are available for the following operating systems and Linux distributions:
If your distribution is not listed, first check Repology's package version list as well as the appropriate repositories in case someone already created a package for your distribution. If you create your own packages or find one that isn't listed here, please let me know so that I can add them.
Other Binaries
For distributions where no package is available, you can either build from source code or use the following distribution-agnostic binaries. Using a distribution-specific package, if available, is recommended for better integration with the rest of the system.
-
innoextract Linux Binaries
(mirror)
innoextract-1.7-linux.tar.xz
918 KiB
MD5:7f352f697052d67e83d3dc7d8a9242ef
signature
The Linux tarball includes x86, amd64 and ARMELv6j+hardfloat+vfp (Raspberry Pi compatible) binaries.
Usage
To extract a setup file to the current directory run:
$ innoextract <file>
A list of available options can be retrieved using
$ innoextract --help
Documentation is also available as a man page:
$ man 1 innoextract
Compatibility
innoextract
cannot guarantee good forward compatibility as the Inno Setup data format changes frequently. The following table lists the supported versions:
innoextract 1.7 or newer | Inno Setup 1.2.10 to 5.6.1 |
innoextract 1.6 | Inno Setup 1.2.10 to 5.5.9 |
innoextract 1.5 | Inno Setup 1.2.10 to 5.5.6 |
innoextract 1.3 to 1.4 | Inno Setup 1.2.10 to 5.5.5 |
innoextract 1.0 to 1.2 | Inno Setup 1.2.10 to 5.4.3 |
GOG.com Installers
GOG.com installers with a 2.x.x version number on the download page or in the filename use Inno Setup 5.5.0 and cannot be extracted by innoextract
1.2 and older. Older installers use Inno Setup 5.2.3 and usually have no version in the filename.
Some GOG.com multi-part installers with version 2.1.x or higher use RAR archives (renamed to .bin
) to store the game data. These files are not part of the Inno Setup installer. However, innoextract
1.5 or newer can extract them using the --gog
option if either unrar
or unar
is installed.
Other newer GOG.com installers don't include the raw files directly but instead store them in GOG Galaxy format: split into small parts which are then individually compressed. These files are named after their MD5 hash and stored in the tmp directory, for example "tmp/ab/d7/abd72c0dddc45f2ce6098ce3a286066a". innoextract
1.7 or newer will automatically re-assemble these parts and extract the original files unless the --no-gog-galaxy
option is used.
Some multi-part GOG.com installers use .bin slice files larger than 2 GiB - extracting these requires innoextract
1.8 or newer on 32-bit platforms. Older versions failed with a "bad chunk magic" error.
Limitations
- There is no support for extracting individual components and limited support for filtering by name.
- Included scripts and checks are not executed.
- The mapping from Inno Setup constants like the application directory to subdirectories is hard-coded.
- Names for data slice/disk files in multi-file installers must follow the standard naming scheme.
Also see the list of planned/requested enhancements on the issue tracker.
Another (Windows-only) tool to extract Inno Setup files is innounp
.
Development Information
- source code repository on GitHub
- bug tracker on GitHub
- Travis CI page
- Coverity Scan page
- build logs
- Doxygen documentation
- Open Hub source code statistics
- Debian popularity contest statistics
- packaging scripts on GitHub
- Launchpad project
- openSUSE Build Service package
- fresh(code) page
- Repology package version list
Projects using innoextract
- Inno Setup Extractor for Android uses
innoextract
as the backend - Debian's
game-data-packager
usesinnoextract
to extract the data for some games. - the ./play.it project uses
innoextract
to extract the data for some games. - The arch-gog project uses
innoextract
in many PKGBUILD scripts - vcmibuilder uses
innoextract
when installing from a GOG.com setup file - arx-install-data from Arx Libertatis uses
innoextract
to extract GOG.com installers and Arx Fatalis patches - The Linux version of the Daikatana 1.3 patch uses
innoextract
in its GOG.com install script - The FreeSpace Open Installer uses
innoextract
to extract data from the FreeSpace 2 GOG.com setup. - The defunct gogonlinux project used
innoextract
to unpack GOG.com installers - The Play on Linux/Mac project has scripts to extract installers using
innoextract
Related Projects
- Inno Setup
innounp
- alternative toinnoextract
for Windowsuninno
- portable unpacking tool for Inno Setup installers, written in Perlinno2john
- cracks password protected Inno Setup generated installers using John the Rippercabextract
- unpacker for .cab files used in Microsoft installersunshield
- unpacker for .cab files used in InstallShield installers