Installshield decompiling is developing into a full-fledged science, after NaTzGUL's 'bahnbrechenden'. In a sofware world where more and more processes are hidden or concealed from the users, the fact that (some) users are re-gaining control is a very positive development. The dynamic installation experience that we create ensures smooth adoption in enterprise environments. This is just as important as the functionality of the software products as a whole. We chose the versatile and robust InstallShield because of Revenera's domain expertise in innovative and flexible software suite products.
innounp, the Inno Setup Unpacker
Version 0.49
Supports Inno Setup versions 2.0.7 through 6.0.2
Inno Setup is a popular program for making software installations. Unfortunately, there is no official unpacker - the only method of getting the files out of the self-extracting executable is to run it. One piece of software that addresses this issue is Sergei Wanin's InstallExplorer, a plug-in for the FAR Manager that unpacks several types of installations, including Inno Setup (IS). But since it is not updated in a timely fashion, and so does not support the latest IS most of the time, this program was born. The advantages over InstallExplorer are:
If you want to report a bug, request a feature, or discuss anything else related to the program, please write to the forum.
Both the source and the executable packages are compressed with WinRar. While the full-featured packer is shareware, the UnRar utility that can only extract files is free. And there are lots of free third-party programs that unpack rar just fine, e.g. 7-Zip.
As a bonus, a simple unpacker for Setup Factory installations is available on the download page. It is ripped from the SynCE project.
Innounp is a console application, and it uses command-line options to find out what to do. For a more human-friendly interface utilizing FAR or Total Commander as a front-end see the MultiArc section below. Windows Explorer fans: nullz has made some .reg scripts to add innounp into the right-click menu and Richard Santaella crafted a graphical wrapper for innounp (get it on the download page).
If an installation has setup.0 (it is made without using SetupLdr), run innounp on setup.0 instead of setup.exe.
To extract all files from a specific directory, use dirname*.*, not just dirname.
By default all files are extracted to the current directory. Use -d to override this behaviour. For example, -dUnpacked will create a directory named Unpacked inside the current directory and put the extracted files there.
The -c option is a little more tricky to explain. Suppose you opened an installation in a file manager and browsed to {app}subdirprogram.exe. Now if you copied program.exe to another location, the entire directory tree ({app}subdir) would be created and program.exe would be extracted there. -c notifies innounp that you are only interested in paths from the current directory and below, so that your file, program.exe, is extracted right where you intended to copy it, not several directory levels deeper. Note that in order to avoid confusion, files must still be specified by their full path names inside the installation.
Note that an installation can contain several identical files (possibly under different names). Inno Setup stores only one copy of such files, and by default innounp will also unpack one file. If you want to have all files that could ever be installed anywhere, regardless of how many identical files this may get you, -a option will do it.
If -m is specified, the file listing includes embeddedCompiledCode.bin which is the code made by the RemObjects Pascal Script compiler. It is possible to disassemble it using the ifps3_disasm.rar package on the download page. The result is not very readable though since it uses the basic 'disassembler' from IFPS3. Anyone wants to write a decompiler?
OK, I know innounp is far from being perfect, but it is my intention to make the program usable. User feedback is a great way to achieve this. Here's what you should do if you find a bug and want it fixed.
Tell me what's wrong with innounp. If you encountered incorrect behaviour, say what you think it should do and what it actually does. If it crashed or gave an error message, say what did that - innounp, Windows, FAR, etc, and include the details.
Describe the exact steps necessary to reproduce the bug. Say what are the preconditions. Is the bug specific to some system settings? To a setup file you have? (include the problem part of the installation script or a link to the compiled setup, if it is small enough) To an IS version? To something else? Or does the bug occur regardless of these things?
Once you have the bug report ready, post it to the forum. Remember, if I can't reproduce the bug using the description you gave, the chances that it will be fixed fall dramatically.
If the above guidelines were not obvious for you, I suggest that you read the following articles.
How to Ask Questions the Smart Way by Eric Raymond
How to Report Bugs Effectively by Simon Tatham
0.49(2019.05.09)
0.48(2019.01.25)
0.47(2018.07.02)
0.46(2016.04.11)
0.45(2015.12.31)
0.44(2015.11.24)
0.43(2015.07.18)
0.42(2015.05.27)
0.41(2015.03.18)
0.40(2013.12.20)
0.39(2013.07.12)
0.38(2013.02.01)
0.37(2012.06.02)
0.36(2011.06.01)
0.35(2010.10.01)
0.34(2010.09.16)
0.33(2010.07.05)
0.32(2010.06.14)
0.31(2010.04.19)
0.30(2010.04.12)
0.29(2010.02.19)
0.28(2010.01.14)
0.27(2009.12.04)
0.26(2009.11.30)
0.25(2009.11.26)
0.24(2009.11.20)
0.23(2009.09.25)
0.22(2009.08.24)
0.21(2009.04.24)
0.20(2008.05.23)
0.19(2007.02.23)
0.18(2006.11.23)
0.17(2005.08.31)
0.16(2005.04.30)
0.15(2005.03.08)
0.14(2004.10.14)
0.13(2004.08.26)
0.12(2004.07.28)
0.11(2004.05.04)
0.10(2004.04.26)
0.09(2004.04.22)
0.08(2004.04.14)
0.07(2004.03.16)
0.06(2004.03.11)
0.05(2004.03.09)
0.04(2004.02.27)
Unless you are a die-hard fan of command line, you may like the idea of working with IS installations like with conventional archives in a file manager. Right now two programs support this: FAR and Total Commander. Below are the instructions how to integrate innounp into each.
Copy innounp.exe to a directory in your PATH and edit your FARPluginsMultiArcFormatsCustom.ini file. There are two alternate settings differing in several aspects and each having its own pros and cons. Try the recommended setting first, if it does not work well for you, try the other setting or even combine them.
If you have InstallExplorer installed (or another plug-in that handles IS, but you will need to adjust the settings accordingly), you might want to let it process all the other types of installations but keep IS installations for innounp. FAR does not provide a means of customizing the plug-in call order; however, an empirical study has shown that it loads plug-ins and applies them to files in lexical order. So the solution is to rename InstallExplorer's dll file from 6InstExpl.dll to e.g. zInstExpl.dll (and restart FAR).
Will not work for IS 5.1.5 and up because new versions no longer have this signature. I guess the version-specific settings from above have to be cloned.
Configuration made up by Gnozal and Maxwish and posted on TC forum. Change the path below to where you have innounp installed and add this to your MultiArc.ini. Note that MultiArc is not included in the default TC installation, instead it is available as a separate download from Siarzhuk Zharski's web site. Refer to the help file for information on any additional configuration necessary.
Copyright © 2004-2019 QuickeneR, 2009-2019 Ariman
This program is licensed under the terms of the GNU General Public License (GPL). A copy of the license is included with the source files.
If you distribute innounp on the WWW, please put a link to its home page, http://innounp.sourceforge.net
Over 90% of code is ripped from Inno Setup which is Copyright © 1997-2010 Jordan Russell. All rights reserved.
Portions Copyright © 2000-2006 Martijn Laan. All rights reserved.
See http://www.jrsoftware.org for details.
Contains zlib code, Copyright © 1995-2005 Jean-loup Gailly and Mark Adler.
Contains bzip2 code, Copyright © 1996-2009 Julian R Seward. All rights reserved.
Contains LZMA code, Copyright © 1999-2009 Igor Pavlov.
Innerfuse Pascal Script is Copyright © 2000-2004 by Carlo Kok, Innerfuse.
StripReloc is Copyright © 1999-2005 Jordan Russell, www.jrsoftware.org
Note: Development on the 'official' version of Universal Extractor has stopped. It's not exactly abandoned, but since I no longer run Windows it's not something I have much of a need for these days. There have been a lot of unofficial forks and continuations released, and while I appreciate the effort and enthusiasm, most of those have been closed source updates that I wouldn't recommend.
That said, I recently discovered a project calling itself Universal Extractor 2. I'm not affiliated with the project in any way, but it seems to be a nice continuation of the project in the original open source spirit as my own creation. I've not used it myself, but if you're having trouble with the official version or not able to get it to extract newer formats and executables, I'd recommend giving Bioruebe's version a try.
Skip to: Download/Screenshots | Installation and Usage | Technical Details | Supported Formats | Credits
Universal Extractor Feedback
If you have any questions about, or find any problems with, Universal Extractor, please post your comments to the UniExtract subforum on the MSFN message board. This has become the main point of discussion for this project.
Universal Extractor is a program designed to decompress and extract files from any type of archive or installer, such as ZIP or RAR files, self-extracting EXE files, application installers, etc. The full list of supported formats can be found in the table below. It's able to support so many varied file formats by utilizing the many backend utilities listed in the credits at the bottom of the page.
Please note that Universal Extractor is not intended to be a general purpose archiving program. It cannot (and never will) create archives, and therefore cannot fully replace archivers such as 7-Zip or WinRAR. What it will do, however, is allow you to extract files from virtually any type of archive, regardless of source, file format, compression method, etc.
The original motivation behind this project was to create an easy, convenient way to extract files from various types of installation packages without the need to remember arcane command line switches or track down separate utilities to handle the unpacking. Over time, and with the encouragement of its many users and the fine folks over on the MSFN forum, it has evolved into a mature and very capable unarchiving utility that many, including myself, find indispensable.
UniExtract Installer (5.3 MB) - This is the recommended download. The installer will automatically install the application and optionally integrate with the Windows Explorer context menu. This package does not contain source code.
UniExtract Binary Archive (4.95 MB) - This archive contains the binaries. Download this if you want a portable version, or just prefer not to use the installer.
UniExtract Source Code (163.13 KB) - This archive only contains the source code, but it includes all support files as well (compiler scripts, installer, etc.). This is best to download (along with the binary archive) if you want to help further development of UniExtract.
ChangeLog, ToDo - UniExtract development details
Universal Extractor Download Archive - archived versions of all official binary and source code releases
Note: If you download Universal Extractor from one of the official links above, it is not infected with a virus. If your anti-virus software tells you otherwise, please see this forum post for details.
As of version 1.4, Universal Extractor supports internationalization. If you're interested in translating Universal Extractor into another language, please download the source archive and follow the instructions in English.ini. Please send me your completed translation and I'll include it in the next version of Universal Extractor. Thanks to all of the contributors!
To use these language files, simply download and copy into the lang
directory of your Universal Extractor installation. The new language will appear as an option the next time you run UniExtract.
Note: The (alt) language files are alternate translations that are not included with the official release. Sometimes I get multiple submissions for a single language, and I like to give everyone credit, but I generally stick with the first one that's submitted out of fairness. Some of the alternate translations may be better than the included ones (or, they may not be), so feel free to give them a try. If you find that an alternate version is better than the included version, please let me know; I may switch them out for the next release.
Language File | Native Name | Contributer | Added/Updated |
---|---|---|---|
Arabic* | العربية | Awadh A Al-Ghaamdi | 10/22/2008 |
Arabic (alt) | العربية | Musab (KooTaa) | 10/12/2008 |
Armenian* | Հայերէն Hayeren | Hrant Ohanyan | 05/11/2010 |
Bulgarian* | Български | Кирил Кирилов (DumpeR) | 10/12/2008 |
Chinese (Simplified) | 简体中文 | phCole | 05/13/2010 |
Chinese (Traditional)* | 繁体中文 | Huang Junwei | 11/21/2006 |
Croatian* | Hrvatski | Tomislav Glušac | 10/22/2008 |
Croatian (alt1) | Hrvatski | Danijel Ivanieviæ | 05/11/2010 |
Croatian (alt2) | Hrvatski | Ivica Hrvoj Ivanić | 10/12/2008 |
Czech* | Čeština | Lubomír Hajda | 05/11/2010 |
Dutch* | Nederlands | Robby Kooken | 10/12/2008 |
English* | English (American) | Default/native language file | 05/12/2010 |
Finnish* | Suomi | Teijo Sakkara | 10/25/2008 |
French* | Français | jacklours | 10/22/2008 |
German | Deutsch | Arno Krumpholz | 05/13/2010 |
Greek* | Ελληνικά | Nick Mattheakis | 10/22/2008 |
Hungarian* | Magyar | Simon László | 03/25/2007 |
Italian* | Italiano | TJL73 / Roberto Boriotti | 05/11/2010 |
Japanese* | 日本語 | Yachuko Nakai | 11/28/2006 |
Japanese (alt) | 日本語 | Nardog | 11/28/2006 |
Korean* | 한국어/조선말 | Sunsuk Kim | 03/21/2007 |
Persian (Farsi)* | فارسی | Sajjad Mohammadi | 05/11/2010 |
Polish* | Język Polski | ULTIMA PRIME | 02/22/2007 |
Portuguese* | Português | José Gonçalves | 03/01/2007 |
Portuguese (Brazilian)* | Português | ZimzuM / Marcio Barbosa | 03/21/2007 |
Romanian* | Limba Română | Cristian Stefan | 02/27/2007 |
Russian* | Русский язык | gora | 05/11/2010 |
Russian (alt) | Русский язык | AVV_UA | 10/12/2008 |
Russian (old) | Русский язык | Polarbond | 02/22/2007 |
Serbian* | Srpski | Ivan Stambolić | 05/11/2010 |
Slovak* | Slovenčina | Peter Žilák | 02/22/2007 |
Spanish* | Español | Mario Ángel / Leonardo Mauro | 02/22/2007 |
Spanish (alt) | Español | Arturo Vergara | 05/13/2010 |
Swedish* | Svenska | Stefan Weber | 05/11/2010 |
Taiwanese* | 臺灣話 | YoYo | 10/12/2008 |
Thai* | ภาษาไทย | Pruthisith (Terry) Prateepavanich | 11/28/2006 |
Turkish* | Türkçe | Onur AYDIN | 03/01/2007 |
Ukrainian* | украї́нська мо́ва, | Warrior | 10/28/2008 |
Valencian (Catalan)* | Valencià (Català) | Rafel Hidalgo i Rangel | 03/25/2007 |
Vietnamese* | Tiếng Việt | Nguyen Nhat Quang | 02/22/2007 |
* = Included in current release
To install UniExtract, download the installer and run it on your system. You will have a few options during installation:
Select Components - These options specify which program components are installed to disk. These options are only really useful if you need to reduce the installation size.
Documentation and licensing information
- This includes all files in the docs
subdirectoryLanguage files for internationalization support
- This includes all files in the lang
subdirectorySupport for ACE files
- Binaries and/or libraries required for ACE archivesSupport for KGB files
- Binaries and/or libraries required for KGB archivesSupport for Pea files
- Binaries and/or libraries required for Pea archivesSupport for StuffIt files
- Binaries and/or libraries required for StuffIt (.sit) archivesSet Program Options - These options adjust the default Universal Extractor behavior. They can be changed after installation through the Preferences menu.
Default Language
- specifies the language used by UniExtractDebug File Location
- specifies the directory to which UniExtract should write its debug fileAppend missing file extensions
- attempt to determine and append the correct extension for improperly named files using TrIDMaintain archive history
- maintain a list of the ten most recent files that were extracted, as well as the destination directoriesRemove duplicate files
- attempt to detect and remove duplicate that may have been created during extractionRemove temporary files
- automatically remove temporary files that may be created during extractionWarn before executing files
- some .exe archives must actually be executed in order to perform the extraction. Since this can be a security risk (executing unknown/untrusted code is always a bad idea), UniExtract will display a warning before extracting these types of files.Select Additional Tasks - These options specify additional actions that can be performed by the installer. They only affects installation of Universal Extractor, and cannot be modified later.
Enable Explorer context menu integration
- allows you to right click on any archive and directly extract its files Add UniExtract Files... to context menu
- adds ability to specify destination directoryAdd UniExtract Here to context menu
- adds ability to quickly extract to current directoryAdd UniExtract to Subdir to context menu
- adds ability to quickly extract to subdirectoryForce association with with all supported archive formats
- Forces UniExtract to associate itself with all supported file extensions; by default, it will only associate itself with native Windows formats (.exe, .msi, etc.) and other formats not currently associated with another programAdd Universal Extractor to your system path
- allows you to run UniExtract (and any related binaries) from the command lineCreate a SendTo icon
- add a shortcut for Universal Extractor to your SendTo context menuCreate a desktop icon
- add a shortcut for Universal Extractor to your desktopCreate a Quick Launch icon
- add a shortcut for Universal Extractor to your Quick Launch barIf you wish to automate installation (for custom or unattended installs), please run uniextractXX.exe /?
to get a detailed description of available command-line options for the installer. All standard Inno Setup command line parameters apply, but also pay special attention to the Components, Tasks, and Custom Parameters detailed at the bottom of the help window.
For manual installation with the binary archive, simply extract the files to the destination folder you would like. By default, this puts UniExtract in 'portable mode'. This means that the globalprefs
option is enabled (see changelog for details) and the history
option is disabled (see Program Options above). The end result is UniExtract can be easily run from portable devices like USB flash drives without leaving any trace of use. Of course, it'll also work just as well if copied to a real hard drive, and all preferences can be modified at any time by editing UniExtract.ini
, or by running UniExtract.exe /prefs
.
Once UniExtract is installed, usage is simple. The easiest way, if you used the installer and enabled context menu integration, is to right-click on any archive and select click one of the UniExtract options. UniExtract Here
will extract files to the current directory, UniExtract to Subdir
will extract files to a subdirectory named after the file, and UniExtract Files
will prompt you for the destination directory.
If you did not enable context menu integration, you may run the Universal Extractor start menu shortcut, or double-click directly on UniExtract.exe. This will launch the UniExtract GUI. Enter (or use the file browser to select) the file you wish to extract and the destination directory, then click OK. It is also possible to drag-and-drop the file you wish to extract onto the icon or main application window to easily extract the dropped file.
UniExtract can also be run from the command line. Run UniExtract.exe /?
for detailed command line parameters.
You can use Add/Remove Programs to uninstall UniExtract, or just delete the directory if you used the binary archive.
When a file is passed to UniExtract, it begins by scanning the file with TrID. If the file format matches one of the supported non-executable formats listed below, it immediately begins extraction from the archive. If it's an executable file, it calls PEiD to analyze the file signature. If the signature indicates that it's a supported format, then it attempts to begin extraction. If it is not a recognized signature, it will try running it through 7-Zip and UnZip as default cases. If 7-Zip or UnZip recognizes it, it will be extracted; otherwise, UniExtract displays an error message and exits.
Note: Filetype scanning with TrID is new as of v1.5. Older versions relied on the file extension to identify the filetype. This behavior is still used if the TrID scan cannot determine the filetype.
If the filetype is supported, UniExtract begins by checking for a valid destination directory and recording the directory size. If necessary, a new directory will be created (with a directory size of zero). UniExtract then spawns a shell and calls the supporting binary to begin extracting files from the selected archive to the destination directory. After completion, UniExtract checks the size and timestamp of the subdirectory to determine if extraction was successful; if the size or timestamp is greater than the initial values, UniExtract assumes success and exits. If extraction fails, UniExtract notifies the user and leaves a log file (uniextract.log
) that (should) contain any error messages.
The uniextract.log
file is created during the extraction process by the tee program. Essentially, all output from the running binary is redirected to tee, which in turn writes the output to the log file as well as echo it to the screen to give the user current progress. Upon successful execution this file is deleted, but if an error is detected it is left alone for the user to review. Note: As of v1.4, the location of uniextract.log can be changed to any user-specified directory.
As of v1.5, UniExtract uses TrID to determine the filetype of any given file. If this detection fails, file extensions are used as a backup identifier. The table below is a reference of known-supported filetypes and common extensions; any supported archive types should work regardless of actual extension.
Archive Type | Common File Extension(s) |
---|---|
7-zip archive | .7z, .exe |
ACE archive | .ace, .exe |
ARC archive | .arc |
ARJ archive | .arj, .exe |
ASpack compressed file | .exe |
BIN/CUE CD-ROM image | .bin, .cue |
bzip2 archive | .bz2, .tbz2, .tar.bz2 |
CPIO compressed file | .cpio |
Debian package | .deb |
DiscJuggler CD-ROM image | .cdi |
Encoded files | .b64, .uu, .uue, .xx, .xxe, .yenc, .ntx |
Gentee package | .exe |
gzip archive | .gz, .tgz, .tar.gz |
IMG floppy disk image | .img |
Inno Setup package | .exe |
Installer VISE package | .exe |
InstallShield Cabinet archive | .cab, .1, .lib |
InstallShield package | .exe |
ISO 9660 CD-ROM image | .iso |
KGB archive | .kgb, kge, .exe |
LZH compressed file | .lzh, .lha |
LZMA compressed file | .lzma |
LZO compressed file | .lzo |
LZW compressed file | .Z, .tz, .tar.Z |
LZX compressed file | .lzx |
MHTML file | .mht |
Microsoft Cabinet archive | .cab, .exe, .imf |
Microsoft Compiled Help file | .chm |
Microsoft compressed file | .??_ |
Microsoft LIT e-book | .lit |
Microsoft Windows Help file | .hlp |
HTC NBH ROM image | .nbh |
Nero CD-ROM images | .nrg |
NSIS package | .exe |
Oasis Document Format (ODF) document | .odt, .odp, .odg, .ods |
Office Open XML (OOXML) document | .docx, .pptx, .xlsx |
Outlook Express mail archive | .dbx |
PEA archive | .pea |
RAR archive | .rar, .001, .exe |
Reflexive Arcade package | .exe |
RoboForm package | .exe |
RPM package | .rpm |
SetupFactory package | .exe |
SIS (SymbianOS) packages | .sis |
StuffIt packages | .sit |
TAR archive | .tar, .tbz2, .tgz, .txz, .tz, .tar.bz2, .tar.gz, .tar.xz, .tar.Z |
UHARC archive | .uha |
UPX compressed file | .exe, .dll |
Windows Imaging Format image | .wim |
Windows Installer merge module | .msm |
Windows Installer package | .msi |
Windows Installer patch | .msp |
Windows Update Standalone patch | .msu |
Wise Installer package | .exe |
XZ compressed file | .xz, .txz, .tar.xz |
ZIP archive | .zip, .jar, .xpi, .wz, .exe |
Zoo archive | .zoo |
Universal Extractor relies heavily on other programs, and would not be possible without the incredible generosity of the Free Software community. This is a list of all of the applications that are used by, or in the creation of, Universal Extractor: