Decompressie – Inno Setup Unpacker (software)
Informatie (ENG):
Version 0.41 supports Inno Setup versions 2.0.7 through 5.5.5
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:
- Innounp is open source and based on IS source. Therefore, it is more likely to support future IS versions.
- It recovers portions of the installation script (.iss file), including the registry changes and the compiled Innerfuse/RemObjects Pascal Script, if available.
Usage
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).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
innounp [command] [options] <setup.exe or setup.0> [@filelist] [filemask ...] Commands: (no) display general installation info -v verbosely list the files (with sizes and timestamps) -x extract the files from the installation (to the current directory, also see -d) -e extract files without paths -t test files for integrity Options: -b batch (non-interactive) mode - will not prompt for password or disk changes -q do not indicate progress while extracting -m process internal embedded files (such as license and uninstall.exe) -pPASS decrypt the installation with a password -dDIR extract the files into DIR (can be absolute or relative path) -cDIR specifies that DIR is the current directory in the installation -n don't attempt to unpack new versions -fFILE same as -p but reads the password from FILE -a process all copies of duplicate files -y assume Yes on all queries (e.g. overwrite files) |
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}\subdir\program.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 embedded\CompiledCode.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?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
0.43 (2015.07.18) * Added support for IS 5.5.6. 0.42 (2015.05.27) * Added support for IS 1.3.21 and 1.3.25. * Experimental support for some custom IS versions. * Fixed encoding of several entries in reconstructed script. 0.41 (2015.03.18) * All slashes in file paths are converted to Windows style for consistency. * Improved some error messages. * Fixed several parameter names in [INI] section of the script. 0.40 (2013.12.20) * Synchronized Description fields encoding in reconstructed script. * Minor changes. 0.39 (2013.07.12) * Fixed CRC32 calculation during unpacking (regression bug). 0.38 (2013.02.01) * Added InstallDelete and UninstallDelete sections to reconstructed script. * Added some more values to Setup section of reconstructed script. * Several minor reconstructed script improvements. 0.37 (2012.06.02) * Added support for IS 5.5.0. * Fixed problem with reading of large files. * Added some more values to reconstructed script. * Improved FAR MultiArc settings. 0.36 (2011.06.01) * Fixed support for IS 5.4.2. * Fixed issue with '{' symbol in file names. 0.35 (2010.10.01) * Added support for IS 5.2.5 (wasn't released, but such installers can be found). * Added command to test files for integrity. 0.34 (2010.09.16) * Less technical text in some error messages. * Added dump of password hash to reconstructed script. * Added some more values to reconstructed script. 0.33 (2010.07.05) * Fixed encoding for custom messages in reconstructed script. * Fixed several parameters in [LangOptions] section. * Fixed language names in *.isl files for Unicode-based installers. * Added support for legacy IS versions 2.0.8 - 2.0.10. 0.32 (2010.06.14) * Added support for IS versions 5.3.10 (both ANSI and Unicode). * Added support for INI section in reconstructed script. 0.31 (2010.04.19) * Fixed issue with endless decompression loop on incompatible files. 0.30 (2010.04.12) * Fixed issue with password processing for Unicode versions. * Added support for IS versions 5.3.9 (both ANSI and Unicode). * Added support for LZMA2 compression, introduced in 5.3.9. 0.29 (2010.02.19) * Added support for IS versions 5.3.8 (both ANSI and Unicode). 0.28 (2010.01.14) * Added support for IS versions 5.3.7 (both ANSI and Unicode). * Added support for legacy IS versions 2.0.11 - 2.0.17. * Fixed renaming of duplicate files. If we do not use -a then don't append numbers to names (this switch does not affect different files with same name, only duplicates with same content). 0.27 (2009.12.04) * Yet another tuning for file mask processing. * Added overwrite prompt for files extraction (and option for auto-overwrite). * Several tweaks to reconstructed script. 0.26 (2009.11.30) * Added manifest resource to resolve Vista/Win7 UAC issue. * Added restored %n formatter to custom messages. * Added default OutputBaseFilename value if one from header is empty. 0.25 (2009.11.26) * Added support fro [Dirs] section in reconstructed script. * Moved version parameter in script to comment (since it is not original IS parameter). * Fixed ArchitecturesInstallIn64BitMode and ArchitecturesAllowed flags in script. * Fixed file mask processing in some cases. 0.24 (2009.11.20) * Added support for IS versions 5.3.6 (both ANSI and Unicode). * Added version information resource. * Fixed extraction of multiple files with same name. 0.23 (2009.09.25) * Added support for IS versions 5.3.5 (both ANSI and Unicode). * Added Inno Setup version info to reconstructed install script. 0.22 (2009.08.24) * Added support for Unicode versions. * Added support for IS versions 5.3.0 - 5.3.4 (both ANSI and Unicode). * Fixed rare issue with double backslashes in file path. 0.21 (2009.04.24) * Supports legacy IS versions 2.0.18 - 2.0.19 0.20 (2008.05.23) * Supports IS up to version 5.2.3 * Several bugs fixed. 0.19 (2007.02.23) * Supports IS up to version 5.1.10 * Fixed wrong representation of Unicode characters in LanguageName. * Another fix to the handling of duplicate file names. * New option -a to extract all copies of duplicate files. 0.18 (2006.11.23) * The reconstructed script now includes the [Types], [CustomMessages], and [Languages] sections. * ROPS disassembler updated to support the latest build of ROPS. * New option -f to read the password from file. This way it can include any special characters. Be sure to save the file in the correct character encoding as no translations are applied. * Fixed the bug that caused the file timestamps to be inconsistently reported and applied (UTC vs. local). * Updated the decompression libraries: zlib to version 1.2.3, bzip2 to version 1.03, and LZMA to version 4.43 (optimized for speed). 0.17 (2005.08.31) * Supports IS up to version 5.1.5. * Supports Martijn Laan's My Inno Setup Extensions 3.0.6.1 (by request). * The Types parameter is now space-separated, as required by the IS script specification. 0.16 (2005.04.30) * Supports IS up to 5.1.2-beta. * Innounp will try to unpack new versions of IS to handle the cases when the binary format is compatible with one of the previous versions. Use -n to disable this attempt. 0.15 (2005.03.08) * Supports IS up to 5.1.0-beta. * The old bug that prevented innounp from working properly with {reg:...} constants and the like has got another fix. * Preliminary support for the 64-bit extensions that appeared in IS 5.1.0. 0.14 (2004.10.14) * Supports IS up to 5.0.4-beta. * It is now possible to specify the destination directory to extract files into using the -d option. This directory will be created if necessary. * New option -c specifies the current directory inside an installation and prevents the creation of the upper-level directories. MultiArc settings are updated accordingly. * The old -c command is removed. To get the compiled Pascal script, use -m and extract it like a normal file. 0.13 (2004.08.26) * Supports IS up to 5.0.3-beta. * Supports the Components and Tasks sections. 0.12 (2004.07.28) * Supports IS up to 5.0.0-beta. * Improved processing of big installations with many files. * Innounp now supports a certain level of user interaction - it prompts the user for password and disk changes as necessary. To switch this functionality off (e.g. in batch mode), use the -b option. * If no command is specified, innounp displays a brief summary of the specified installation. The old -i command is removed. To get the setup script, extract it like a normal file. 0.11 (2004.05.04) * Supports IS 4.2.2. * Supports ArcFour encryption. Use the -p switch to specify a password if files are encrypted 0.10 (2004.04.26) * Fixed (again): filenames containing invalid characters could not be specified on the command line or in a list file. 0.09 (2004.04.22) * Fixed (again): invalid characters in filenames (such as ':' and '|') made innounp crash. * Updated TC MultiArc settings. 0.08 (2004.04.14) * Added support for IS versions up to 4.2.1. * Added MultiArc settings for Total Commander (thanks to Gnozal). * Fixed a bug in MultiArc settings that prevented shells from displaying file dates and times (thanks to Maxim Ryazanov). * The reconstructed setup script (.iss ) is now included together with the 'normal' files. Using -m option it's possible to view/extract other internal files in the same way. 0.07 (2004.03.16) * Multiple files with the same name are not overwritten now, instead they are appended with numbers. * -c command extracts the compiled Innerfuse Pascal Script code to a file. It can then be 'disassembled' with a separate tool. Get one on the download page. * The output of -i command now looks more like .iss script. More data is included. 0.06 (2004.03.11) * Added support for IS versions 3.0.0 - 4.0.0. * Supports installations that were not packaged into a single exe using SetupLdr (these can be identified by the presence of setup.0 which is appended to setup.exe in packaged installations). * -i command displays registry changes made by an installation. * Supports (displays and reads from filelists) filenames with national characters (single-byte character encodings only, Unicode/MBCS was not tested). The correct code page must be set in Windows for this function to work properly. * [fix] File dates and times were not set during extraction. 0.05 (2004.03.09) * Improved batch processing. Now it's possible to browse and extract IS installations in FAR using the supplied settings for the standard MultiArc plug-in. * Removed isbunzip.dll . Bzip2 library is linked statically. 0.04 (2004.02.27) * Initial release. Supports IS versions 4.0.1 - 4.1.8. MultiArc settings |
Download Inno Setup Unpacker @ sourceforge.net
[#/software/innounp” ]