InnoSetup MultiArc Addon
Moderators: Hacker, petermad, Stefan2, white
Why not just use the only special IDPos <SeekID> like in my addon, it solves all problems with newer versions. Also single ID (containing common part of IDs) would be enough since unpacker tool is common for all InnoSetup versions. I haven't changed my addon since 2009 and it is still 100% working (I only need to update InnoUnp time to time).
/edit: ah cool, it now works also with tc x64. my old settings did not.MVV wrote:Why not just use the only special IDPos <SeekID> like in my addon, it solves all problems with newer versions.
licenced and happy TC user since 1994 (#11xx)
Works fine for me in TCx64 too. My current addon:
(requires ConPaste.exe in MultiArc dir)
Code: Select all
[InnoSetup]
Description="InnoSetup"
ID=49 6E 6E 6F
IDPos=<SeekID>
Archiver="%COMMANDER_PATH%\Plugins\Packer\Multiarc\Archivers\InnoUnp\InnoUnp.exe"
List="ConPaste.exe /s /h%AQ /c%AWQ /p\"Type in a password:\" \"Type in a password\" %PQA -v -m %AQA"
Start="^--------------------------------------"
End="^--------------------------------------"
Format0="zzzzzzzzzz+ +yyyy.tt.dd hh:mm +n++"
Extract="ConPaste.exe /s /h%AQ /c%AWQ /p\"Type in a password:\" \"Type in a password\" %PQA -e -m %AQA {@%LQA}"
ExtractWithPath="ConPaste.exe /s /h%AQ /c%AWQ /p\"Type in a password:\" \"Type in a password\" %PQA -x -m %AQA {@%LQA}"
Debug=0
BatchUnpack=1
Re: InnoSetup MultiArc Addon
Code: Select all
; Addon : Inno Setup
; Version : 3.0, 2021-01-24 by deus-ex
; Authors : Gnozal, Maxwish, arsvrn, MultiArc team, ZoSTeR,
; XPEHOPE3KA, icfu, TychoBarfy, MVV, deus-ex
; Required: Total Commander v9.5x, https://www.ghisler.com
; MultiArc v1.4.3.162, http://totalcmd.net/plugring/MultiArc2012.html
; Latest MultiArc release, https://yadi.sk/d/EtSssI_ZuFRtRQ
; Inno Setup Unpacker v0.50, http://innounp.sourceforge.net
;
;
; Inno Setup Unpacker, MultiArc, IDs:
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Inno Setup Unpacker supports listing and unpacking the content of software
; installers created with the free installer solution Inno Setup, available
; at https://jrsoftware.org/isinfo.php
;
; Inno Setup Unpacker offers support for most Inno Setup releases ranging from
; v1.3.x to v6.1.x with a few exceptions.
;
; Inno Setup installers usually contain one of two signatures (without quotes):
;
; 'Inno Setup Setup Data ('
; 'My Inno Setup Extensions Setup Data ('
;
; First this script searches the executable header for the string 'Inno Setup'.
; If a match is found, the executable then is checked for several exclusion
; strings to filter unsupported versions:
;
; '1.3.6' = Inno Setup v1.3.6
; '1.3.9' = Inno Setup v1.3.9
; '1.3.1' = Inno Setup v1.3.10-v1.3.19
; '4.2.5' = Inno Setup v4.2.5
; 'with ISX' = any Inno Setup version
; 'jpe)' = any Inno Setup version
;
; Should you encounter any Inno Setup installer currently unsupported by this
; script, you can verify with the Inno Setup Unpacker using this command-line:
;
; innounp.exe -v -b -m <path>[inno-setup.exe]
;
; Please report any issues and suggestions in the related forum thread at
; https://ghisler.ch/board/viewtopic.php?t=3810
;
;
; Unsupported Inno Setup Installers:
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Any Inno Setup Installer version unsupported by Inno Setup Unpacker
; is excluded by this script. Optionally any Inno Setup Installer can
; be accessed with the packer plugin InstallExplorer, available at
; https://totalcmd.net/plugring/IETotal.html (32-bit only).
;
;
; History:
; ~~~~~~~~
; v3.0, 2021-01-24 by deus-ex
; * revised and simplified script, based on InnoUnp's broadened support of
; Inno Setup versions and MultiArc's fixed 'ExcludeIDs' function (many thanks to MVV)
; + adds support for Inno Setup Installer versions 1.3.x to 6.1.x
; + includes previously unsupported versions from v1.3.x, v2.x, and manny more
; * improved handling of unsupported versions and variants
; * rewrote addon text, improved descriptions
; + added links to referenced software
;
; v2.1a, 2007-12-22 by deus-ex
; * updated info for Inno Setup Unpacker
; * rewrote addon text
;
; v2.1, 2007-08-06 by deus-ex
; + converted decimal IDPos values to hexadecimal, requires MultiArc v1.4.x
; + enhanced exclude filter to detect 'My Inno Setup Extensions Setup Data (3.0.4)'
; - removed 'ExcludeIDs', feature doesn't work properly
; * rewrote addon text, fixed spelling
;
; v2.0b, 2007-03-08 by ZoSTeR
; + added IDPos to support 'Inno 5.1.10'
;
; v2.0a, 2006-05-20 by deus-ex
; + added IDPos to support a 'Inno 4.0.9(UPXed)' variant (thanks to XPEHOPE3KA)
;
; v2.0, 2006-05-18 by deus-ex
; * restructured sections to improve exclusion of unsupported Inno Setup Installers
; * increased file name length in 'Format0', fixes truncated file names in listing
; * rewrote addon text, restructured layout, fixed spelling
; + added filter for 'Inno 3.0.3 with ISX'
; + added filter for 'Inno 4.2.2jpe'
; + added support for 'Inno 3.0.6.1', previously handled by InstallExplorer
; + added support for 'Inno 4.0.9(UPXed)', InnoUnp cannot handle when unUPXed
; + added support for 'Inno 4.0.10(UPXed)', InnoUnp cannot handle when unUPXed
; + added ASCII conversions of ID strings for comprehensibility
; + added hexadecimal conversions of IDPos strings for quick checking in executables
;
; v1.1, 2006-04-06 by MultiArc team, arsvrn
; * rewrote ID and IDPos for improved archive detection
;
; v1.0.1, 2004-04-19 by Maxwish
; + added '-m' parameters, to also show embedded files
; + added 'BatchUnpack=1' for speed improvement
; - removed { } from {@%LQ} in 'extract' strings, not required
;
; v1.0a, 2004-04-02 by Maxwish
; * corrected datestring in 'Format0'
;
; v1.0, 2004-04-02 by Gnozal
; * innitial release
;
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[INNO SETUP]
Description="Inno Setup"
Archiver=InnoUnp.exe
Extension=exe
ID=49 6E 6E 6F 20 53 65 74 75 70
;ID=Inno Setup
IDPos=<SeekID>
ExcludeIDs=(31 2E 33 2E 31, 23), (31 2E 33 2E 36, 23), (31 2E 33 2E 39, 23), (77 69 74 68 20 49 53 58, 30), (77 69 74 68 20 49 53 58, 31), (6A 70 65 29, 28), (34 2E 32 2E 35, 23)
;ExcludeIDs=(1.3.1, Offset 23), (1.3.6, Offset 23), (1.3.9, Offset 23), (with ISX, Offset 30), (with ISX, Offset 31), (jpe), Offset 28), (4.2.5, Offset 23)
Start="^--"
End="^--"
Format0="zzzzzzzzzz yyyy tt dd hh mm +n++"
List=%P -v -b -m -q %AAQ
BatchUnpack=1
ExtractWithPath=%P -x -b -m -q %AAQ @%LQ
Re: InnoSetup MultiArc Addon
2deus-ex
Where is the download link?
Where is the download link?
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: InnoSetup MultiArc Addon
@Usher
You simply copy/paste it (click the blue "select all").
You simply copy/paste it (click the blue "select all").
Re: InnoSetup MultiArc Addon
2deus-ex
Oh, it's only the .addon description changed. I thought you provided some binary files as well.
I assume that all needed files are linked in the comments in the .addon.
Oh, it's only the .addon description changed. I thought you provided some binary files as well.
I assume that all needed files are linked in the comments in the .addon.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: InnoSetup MultiArc Addon
@Usher
Exactly. I added the links mainly for beginners to get them a good start, and for the sake of completeness.
Exactly. I added the links mainly for beginners to get them a good start, and for the sake of completeness.
Re: InnoSetup MultiArc Addon
I've updated package on totalcmd.net. 

Re: InnoSetup MultiArc Addon
Hi MVV,
many thanks. I couldn't have done the new release without your great support for MultiArc.
many thanks. I couldn't have done the new release without your great support for MultiArc.
-
- Senior Member
- Posts: 348
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Re: InnoSetup MultiArc Addon
There are Inno Setup installers using lzma2 instead of lzma compression,
where ExtractWithPath produces 0 byte files on extraction.
Using Extract with BatchUnpack set to 0 works, but it is very slow.
Is there anyone knowing a solution or workaround in MultiArc?
I know solutions like Uniextract, InnoExtractor or InnoUnpack
but preferre the easy of use of MultiArc?
File example with Inno Setup Setup Data (6.0.0.0):
https://fileforum.com/detail/Highlight-for-Windows/1028713443/1
I use ad-don provided by deus-ex since today.
EDIT: May be that's a question for InnoUnp developer?!
where ExtractWithPath produces 0 byte files on extraction.
Using Extract with BatchUnpack set to 0 works, but it is very slow.
Is there anyone knowing a solution or workaround in MultiArc?
I know solutions like Uniextract, InnoExtractor or InnoUnpack
but preferre the easy of use of MultiArc?
File example with Inno Setup Setup Data (6.0.0.0):
https://fileforum.com/detail/Highlight-for-Windows/1028713443/1
I use ad-don provided by deus-ex since today.
EDIT: May be that's a question for InnoUnp developer?!
Re: InnoSetup MultiArc Addon
Have you tried the latest InnoUnp v0.50? It should support Inno Setup 6.0 and 6.1.TychoBarfy wrote: 2021-04-10, 14:05 UTC There are Inno Setup installers using lzma2 instead of lzma compression,
File example with Inno Setup Setup Data (6.0.0.0):
EDIT: May be that's a question for InnoUnp developer?!
See this discussion: https://sourceforge.net/p/innounp/discussion/353235/thread/23cf78c92c/?limit=25#57d5
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: InnoSetup MultiArc Addon
The issue remains with InnoUnp v0.50. Actually, I didn't think of setting BatchUnpack=0 until TychoBarfy mentioned it. Also, wouldn't have guessed this to be an issue because of the LZMA2 compression. Good find, TychoBarfy.
-
- Senior Member
- Posts: 348
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Re: InnoSetup MultiArc Addon
InnoUnp can handle lzma2 compressed installers.
Following command extracts all files and dirs correctly:
MultiArc's %L list creation method works fine and MultiArc unpacks all files as it
should too but doesn't stop processing when decompression is finished (I have to kill TC),
if I change ExtractWithPath method as follows:
Following command extracts all files and dirs correctly:
Code: Select all
c:\totalcmd\Pack>innounp -x -b -m -q "f:\Test\Installers\lzma2\highlight-setup-4.0.exe" -d"f:\Test\Installers\lzma2\Extracted\"
; Version detected: 6000 (Unicode)
should too but doesn't stop processing when decompression is finished (I have to kill TC),
if I change ExtractWithPath method as follows:
Code: Select all
ExtractWithPath=%P -x -b -m -q %AAQ -d"f:\Test\Installers\lzma2\Test\"
Last edited by TychoBarfy on 2021-04-12, 14:29 UTC, edited 3 times in total.