InnoSetup MultiArc Addon

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Again "it is so far", :D
Inno Setup Unpacker was updated a short while ago (and i have a nice excuse for reviving this ol' thread):

Code: Select all

v0.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). 
Download: http://surfnet.dl.sourceforge.net/sourceforge/innounp/innounp018.rar

_______
Regards,
deus-ex
User avatar
Matthias030
Senior Member
Senior Member
Posts: 414
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Inno Setup Unpacker v0.19 is out.

Download: http://innounp.sourceforge.net/
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1008
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Added another IDPos for InnoSetup 5.1.10 (needs InnoUnp 0.19)

Code: Select all

;; -----------------------------------------------------------------------
; Inno Setup (v3.0.0beta - v5.1.2 and up)
; MultiArc addon by Gnozal, arsvrn, MultiArc team and deus-ex
;
; Version addon: 0.19
;
; Uses: Inno Setup Unpacker v0.19
; Homepage: http://innounp.sourceforge.net
;
;
; Inno Setup Unpacker, MultiArc and IDs
; ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
;  Inno Setup Unpacker detects Inno-Installers by the following signatures:
;
;  "Inno Setup Setup Data ("  and
;  "My Inno Setup Extensions Setup Data ("
;
;  Should you come across an Inno-Installer which MultiArc isn't able to
;  open you can verify using following command line:
;
;    innounp.exe -v -m <path\installer.exe>
;
;  If innounp.exe displays a valid listing you can add information to support that
;  Installer version to this addon. Open the file with Total Commanders Lister [F3],
;  switch to Hex mode [3] and perform a search [Ctrl+F] with the signatures listed
;  above (without the quotes).
;
;  Aquire the signature start offset (left column in Hex-view) and convert the value
;  using Windows Calculator. Change Calculator view to scientific (view menu), press
;  [F5], enter the previously aquired Offset (hexadecimal value) and press [F6] to
;  receive the decimal value. Retrieve the result [Ctrl-C] and add it to the end of
;  the IDPos string [Ctrl-V] separated with a comma (eg. IDPos=1, 2, 3).
;
;
; Why two addon sections?
; ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
;  While Inno Setup Unpacker v0.19 supports all Inno-Installers from version v3.x up
;  it cannot handle versions with one of the following 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)"
;
;  First section [INNO 3.x] filters out 'with ISX' Installers and adds additional support
;  for the slightly different signature used in Inno v3.0.6.1 Installers.
;  The second section [INNO 4.x, 5.x] filters out '4.2.2jpe' Installers which required
;  that section to become quite detailed.
;
;  Excursion
;  ¯¯¯¯¯¯¯¯¯
;  MultiArc currently doesn't support wildcards for the ID string which would allow
;  utilization of only one ID signature for the [INNO 4.x, 5.x] section while keeping
;  the unsupported-filter intact, for example:
;
;   ID=49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20  28 ?? 2E ?? 2E ?? 29
;   which translates to "Inno Setup Setup Data (?.?.?)"
;
;  This might change with future versions of MultiArc which is maintained and improved
;  by the MultiArc team.
;
;
; Handling unsupported Inno-Installers using IETotal
; ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
;  Installers unsupported by Inno Setup Unpacker v0.19 are filtered out and can be handled
;  with the IETotal plugin for Total Commander. In order for this to work it is required
;  that all MultiArc related entries in the [PackerPlugins] section of <wincmd.ini> are
;  arranged in front of IETotal related entries, for example:
;
;   [PackerPlugins]
;   7z=69,%commander_path%\wcx\multiarc\multiarc.wcx  <- MultiArc entry, in front of IETotal
;   ...
;   sqx=95,%commander_path%\wcx\sqx\totalsqx.wcx
;   ...
;   cmp=68,%commander_path%\wcx\ietotal\ietotal.wcx   <- IETotal entry, bellow MultiArc
;   ...
;
;
; Changes
; ¯¯¯¯¯¯¯
;  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 (thanks to XPEHOPE3KA)
;
;  2006-05-18 by deus-ex
;   + restructured sections to enhance filter for unsupported Installers
;   + added filter for 'Inno 3.0.3 with ISX'
;   + added filter for 'Inno 4.2.2jpe' (eg. 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 these when unUPXed)
;   + added support for 'Inno 4.0.10(UPXed)' (dito)
;   + increased filename length of formatstring, fixes truncated filenames in listing (eg. GIMP-installer)
;   + added ascii conversions of ID strings (for readability, optional)
;   + added hexadecimal conversions of IDPos strings (allows quick IDPos checks, optional)
;   + rewrote addon-text, restructured layout, fixed spelling
;
;  2006-04-06 by MultiArc team
;   * rewrote ID, IDPos for better archive detection. Solution by arsvrn.
;
;  2004-04-02 by Maxwish
;   * corrected datestring in 'format0' from "yyyy.mm.dd" to "yyyy.tt.dd"
;
;  2004-04-19 by Maxwish
;   * added '-m' parameters (now will also show embedded files)
;   * added 'BatchUnpack=1' (improves speed)
;   * removed { } from {@%LQ} in 'extract' strings (unneeded)
;
; -----------------------------------------------------------------------
;
[INNO 3.x]
Description="InnoSetup 3.x"
;Filters unsupported "Inno Setup Setup Data (3.0.x) with ISX" Installers
Archiver=%commander_path%\util\innounp
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
;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"
IDPos=53572, 54084, 54087
;IDPos=0xD144, 0xD344, 0xD347
IgnoreErrors=0
BatchUnpack=1
SkipLIST=1
Start="^--"
End="^--"
Format0="zzzzzzzzzz  yyyy tt dd hh mm  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -b -m %AAQ %O
Extract=%P -x -b -m %AAQ @%LQ
ExtractWithPath=%P -x -b -m %AAQ @%LQ
;
[INNO 4.x, 5.x]
Description="InnoSetup 4.x, 5.x"
;Filters unsupported "Inno Setup Setup Data (4.2.2jpe)" Installers
Archiver=%commander_path%\util\innounp
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=36696, 36740, 36744, 37256, 37768, 38280, 38792, 55612, 389071, 729159, 1517134
;IDPos=0x8F58, 0x8F84, 0x8F88, 0x9188, 0x9388, 0x9588, 0x9788, 0xD93C, 0x5EFCF, 0xB2047, 0x17264E
IgnoreErrors=0
BatchUnpack=1
SkipLIST=1
Start="^--"
End="^--"
Format0="zzzzzzzzzz  yyyy tt dd hh mm  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -b -m %AAQ %O
Extract=%P -x -b -m %AAQ @%LQ
ExtractWithPath=%P -x -b -m %AAQ @%LQ 
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Addon pulled back until further notice. During tests I found out that the "ExcludeIDs" function doesn't seem to work at all. Please stand by...

__________________
Kind regards,
deus-ex
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

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
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Post by *Jon Canale »

Has anyone tried the new "test020.zip" of innounp link [url] http://innounp.sf.net/test020.rar [/url] on 5.2.1 and 5.2.2 versions of InnoSetup? I can't get it to work under ctrl-pgdn with Multiarc. Have tried a couple different version of the ADDON section for InnoUNP. The test version does seem to work on 5.2.2 files, from the command line.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Works like a charm here. Make sure you're using MultiArc v1.4.1.7 with my latest Inno Setup Addon, also check that you don't have any packer plugin associated to EXE files in the PackerPlugins section of wincmd.ini.

When in doubt, backup your current configuration and remove all packer plugins but MultiArc. Now if that works add back one plugin after the other to find the problem. Note that the order of the plugins int the PackerPlugins section of wincmd.ini does play a important role too.

____________
Kind regards,
deus-ex
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Post by *Jon Canale »

Got it! Thanks!

Thought I had the latest Multiarc, but didn't. That with your addon works now!

Thanks again.
User avatar
buzzlightyear
Junior Member
Junior Member
Posts: 42
Joined: 2004-10-01, 10:46 UTC

Post by *buzzlightyear »

deus-ex, sorry if this is a silly question but where can I download MultiArc v1.4.1.7 ?

The one available on http://wcx.sourceforge.net is labeled 1.4 externally and is said to be 1.4.1.6 in the readme.txt. This is from July, 29th.

Thanks.

Regards,
Martin

---

EDIT: Have finally found the link here:
http://www.ghisler.ch/board/viewtopic.php?t=16534

deus-ex, please update on sourceforge, too.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

The one available on http://wcx.sourceforge.net is labeled 1.4 externally and is said to be 1.4.1.6 in the readme.txt. This is from July, 29th.
And version info says 1.4.1.7.
deus-ex, please update on sourceforge, too.
deus-ex is a MultiArc user, not its developer.

Icfu
This account is for sale
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Version 0.20 of innounp is available now
Supports Inno Setup versions 3.0.0-beta through 5.2.3
#5767 Personal license
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Inno Setup Unpacker 0.22 released..

Post by *Peter »

Hint - User "nsp" wrote:
http://ghisler.ch/board/viewtopic.php?t=23588

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1008
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

For InnoSetup 5.3.(3/4) :

Code: Select all

; Inno Setup (v3.0.0 beta - v5.3.4)
; MultiArc addon by Gnozal, Maxwish, arsvrn, MultiArc team and deus-ex
;
; Addon: v0.21, August 31 2009, by deus-ex, Zoster
; Uses : Inno Setup Unpacker v0.22, 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
; ~~~~~~~
;  2009-08-31 by Zoster
;   + added two more IDPos to support "Inno 5.3.3" standard and Unicode
;
;  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, 0x9988, 0xD93C, 0x15E5C, 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
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

As innounp version 0.22 now supports 2.0.18/2.0.19 installers too, this is my [INNO 3.x] section now.

Code: Select all

[INNO 2.x 3.x]
Description="InnoSetup 2.x, 3.x"
;Filters unsupported "Inno Setup Setup Data (3.0.x) with ISX" and
;"Inno Setup Setup Data (2.0.18/2.0.19) Installers
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 32 2E 30 2E 31 38, 49 6E 6E 6F 20 53 65 74 75 70 20 53 65 74 75 70 20 44 61 74 61 20 28 32 2E 30 2E 31 39, 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 (2.0.18/.19", "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
; -----------------------------------------------------------------------
There are still some problems on Inno Setup versions 2.0.18/.19 with ISX.
Older versions like 2.0.7 or 2.0.11 are handled by Install Explorer.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 414
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Is there a new multiarc addon for innounp 0.23 ?

Thank you,
Matthias
Post Reply