This is a revised version of my previously posted update of the
Inno Setup Addon.
With the current release of MultiArc v1.4.1.7 the new introduced feature "ExcludeIDs" doesn't work properly, so it had to be removed from the Addon again. The Addon now utilizes the previous two-sections model. The IDPos values were converted from decimal to hexadecimal, additionaly one more unsupported Inno Installer is now handled by the filter.
icfu, who kindly assisted me trying to get the "ExcludeIDs" feature in my Addon to work, now is contacting Vserd (MultiArc author) via e-mail in order to get this issue fixed. Though chances are slim since Vserd stated that he would stop further development of the plugin. Let's keep our fingers crossed that not all hope is lost...
NOTE:
Current Innounp.exe v0.19 doesn't support Inno Installer v5.1.13 and up, and my Addon doesn't filter these either. An update of Innounp which covers the latest Inno versions was recently anounced, though.
Code: Select all
; Inno Setup (v3.0.0 beta - v5.1.10)
; MultiArc addon by Gnozal, Maxwish, arsvrn, MultiArc team and deus-ex
;
; Addon: v0.20, August 06 2007, by deus-ex
; Uses : Inno Setup Unpacker v0.19, http://innounp.sourceforge.net
;
;
; NOTE:
; ~~~~~
; MultiArc v1.4x is required for this Addon as it uses several new functions!
;
;
; Inno Setup Unpacker, MultiArc and IDs
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Inno Setup Unpacker detects Inno-Installers by these signatures (without quotes):
;
; "Inno Setup Setup Data ("
; "My Inno Setup Extensions Setup Data ("
;
; Should you come across an Inno-Installer which MultiArc doesn't open you can verify
; that using this commandline:
;
; innounp.exe -v -m <path>installer.exe
;
; If Innounp returns a valid listing you can add support for that Installer version.
; Open the Installer in Total Commanders Lister [F3], switch to Hexadecimal mode [3]
; and search for the signatures listed above [Ctrl+F]. Acquire the signature start
; offset (see left column in Lister).
;
; Add the offset to the IDPos string of the corresponding "INNO" section with a
; leading "0x", values separated by comma (e.g. IDPos=0x1111, 0x2222, 0xCDEF ...).
;
;
; Why two addon sections?
; ~~~~~~~~~~~~~~~~~~~~~~~
; Inno Setup Unpacker supports all Inno-Installers from version v3.x upwards except
; those containing one of these signatures:
;
; "Inno Setup Setup Data (3.0.1) with ISX"
; "Inno Setup Setup Data (3.0.3) with ISX"
; "Inno Setup Setup Data (4.2.2jpe)"
; "My Inno Setup Extensions Setup Data (3.0.4)"
;
; The first section adds support for Inno 3.x Installers and filters those containing
; the "with ISX" or "Extensions Setup Data (3.0.4)" string, the second section adds
; support for Inno 4.x and 5.x Installers and filters those containing a "(4.2.2jpe)"
; string which requires this section to be quite detailed.
;
;
; Handling unsupported Inno-Installers
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Installers unsupported by Inno Setup Unpacker are filtered out and can be handled
; with the IETotal plugin. This requires all MultiArc entries in the PackerPlugins
; section of wincmd.ini to be placed in front of any IETotal entries.
;
; Example
; ~~~~~~~
; [PackerPlugins]
; 7z=69,%commander_path%\wcx\multiarc\multiarc.wcx <- MultiArc entry (in front of IETotal!)
; sqx=95,%commander_path%\wcx\sqx\totalsqx.wcx <- another Plugin entry
; cmp=68,%commander_path%\wcx\ietotal\ietotal.wcx <- IETotal entry
;
;
; Changes
; ~~~~~~~
; 2007-08-06 by deus-ex
; * partially rewrote addon text, fixed spelling
; + converted decimal IDPos values to hexadecimal (requires MultiArc v1.4)
; + enhanced exclude filter to recognize "My Inno Setup Extensions Setup Data (3.0.4)"
; - previously added "ExcludeIDs" removed again since the feature doesn't work properly
;
; 2007-03-08 by ZoSTeR
; + added one more IDPos to support "Inno 5.1.10"
;
; 2006-05-20 by deus-ex
; + added one more IDPos to support another "Inno 4.0.9(UPXed)" variant
;
; 2006-05-18 by deus-ex
; * rewrote addon text, restructured layout, fixed spelling
; * restructured sections to enhance the filter for unsupported Installers
; * increased filename length of formatstring, fixes truncated filenames in listing (e.g. GIMP Installer)
; + added filter for "Inno 3.0.3 with ISX"
; + added filter for "Inno 4.2.2jpe" (e.g. SKYPE Installer)
; + added support for "Inno 3.0.6.1" (previously handled by IETotal)
; + added support for "Inno 4.0.9(UPXed)" (Innounp can't handle those when unUPXed)
; + added support for "Inno 4.0.10(UPXed)" (dito)
; + added ASCII conversions of ID strings (for readability, optional)
; + added hexadecimal conversions of IDPos strings (allows quick IDPos checks, optional)
;
; 2006-04-06 by MultiArc team
; * rewrote ID and IDPos for better archive detection (solution by arsvrn)
;
; 2004-04-02 by Maxwish
; * corrected datestring in "format0"
;
; 2004-04-19 by Maxwish
; + added "-m" parameters (now also shows embedded files)
; + added "BatchUnpack=1" (improves speed)
; - removed { } from {@%LQ} in "extract" strings (unneeded)
;
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[INNO 3.x]
;Filters unsupported "Inno Setup Setup Data (3.0.x) with ISX" and "My Inno Setup Extensions Setup Data (3.0.4)"
Description="Inno Setup 3.x"
Archiver=%commander_path%\util\innounp.exe
Extension=exe
ID=49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 33 2E 30 2E 31 29 00, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 33 2E 30 2E 33 29 00, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 33 2E 30 2E 35 29 00, 49 6E 6E 6F 20 53 65 74 75 70 20 45 78 74 65 6E 73 69 6F 6E 73 20 53 65 74 75 70 20 44 61 74 61 20 28 33 2E 30 2E 36
;ID="Inno Setup Setup Data (3.0.1) ", "Inno Setup Setup Data (3.0.3) ", "Inno Setup Setup Data (3.0.5) ", "Inno Setup Extensions Setup Data (3.0.6"
IDPos=0xD144, 0xD344, 0xD347
BatchUnpack=1
Start="^--"
End="^--"
Format0="zzzzzzzzzz yyyy tt dd hh mm nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -b -m %AAQ
ExtractWithPath=%P -x -b -m %AAQ @%LQ
;
[INNO 4.x, 5.x]
;Filters unsupported "Inno Setup Setup Data (4.2.2jpe)"
Description="Inno Setup 4.x, 5.x"
Archiver=%commander_path%\util\innounp.exe
Extension=exe
ID=49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 30, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 31, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 32 2E 31, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 32 2E 32 29, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 32 2E 33, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 32 2E 35, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 34 2E 32 2E 36, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 35
;ID="Inno Setup Setup Data (4.0", "Inno Setup Setup Data (4.1", "Inno Setup Setup Data (4.2.1", "Inno Setup Setup Data (4.2.2)", "Inno Setup Setup Data (4.2.3", "Inno Setup Setup Data (4.2.5", "Inno Setup Setup Data (4.2.6", "Inno Setup Setup Data (5"
IDPos=0x8F58, 0x8F84, 0x8F88, 0x9188, 0x9388, 0x9588, 0x9788, 0xD93C, 0x5EFCF, 0xB2047, 0x17264E
BatchUnpack=1
Start="^--"
End="^--"
Format0="zzzzzzzzzz yyyy tt dd hh mm nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -b -m %AAQ
ExtractWithPath=%P -x -b -m %AAQ @%LQ
______________
Kind regards,
deus-ex