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
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

effectively I have not found an unique solution to handle all the files. Any idea how to combine these two plugs?
always latest 32b TC on a WIN10 64b
gnozal8
Junior Member
Junior Member
Posts: 83
Joined: 2004-01-12, 11:14 UTC
Contact:

Post by *gnozal8 »

InnoSetup MultiArc Addon UPDATE : Version 0.16

Uses InnoUnp, the Inno Setup Unpacker Version 0.16 (supports Inno Setup versions 3.0.0-beta through 5.1.2-beta) wich is included.

http://people.freenet.de/gnozal/InnoSetup_MultiArc_Addon.zip
clauderenaud
Junior Member
Junior Member
Posts: 49
Joined: 2005-02-10, 06:01 UTC
Location: France

Post by *clauderenaud »

Hi Gnozal8,

I'm currently working with your multiarc addon for innosetup and encounter problem to handle password-protected innosetup executables in tc.
Do you know a solution to handle those protected executables ?
IS there a switch we can add in your addon code to solve this ?

Greetings,
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Now innounp.exe verion 0.17 is out with possibility to unpack up to version 5.1.5. But only works in far plugin.

Would be great if someone could find a solution for Inno Setup versions higher then 5.1.2-beta.


Could someone explain where to find the IDPos value for TC multiarc settings.

Edit: OK, got this.

Btw, IDPos is the char position of an identification strings first letter (i.e. "I" from Inno) from top of the file.

See post below.
-- TB --
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

My entry in WINCMD.INI:

Code: Select all

[PackerPlugins]
...
exe_is=223,%COMMANDER_PATH%\plugins\wcx\packer_plugins\multiarc\multiarc.wcx
...

My entry in multiarc.ini (you DON'T have to rename the exe extension):

Code: Select all

; -----------------------------------------------------------------------
; Inno Setup (3.0.0-beta through 5.1.x)
; Uses: Innounp v0.17 and higher
; Home page: http://innounp.sourceforge.net/
; Download latest version: http://innounp.sourceforge.net/get-latest-innounp.php
; -----------------------------------------------------------------------
[InnoSetup]
Description="Inno Setup (3.0.0-beta to 5.1.x)"
Extension=EXE_IS
Archiver=D:\tcmd\multiarc_packer\innounp.exe
ID=49 6E 6E 6F, 73 74 72 69 6E 67 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3C 10 40
IDPos=48, 1026
Start="^--------------------------------------"
End="^--------------------------------------"
Format0="zzzzzzzzzz yyyy.tt.dd hh:mm nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -m %AQ
Extract=%P -e -m -c%R %AQ @%LQ
ExtractWithPath=%P -x -m -c%R %AQ @%LQ
IgnoreErrors=
SkipEmpty=0
SkipDirsInFileList=0
SearchForUglyDirs=0
BatchUnpack=1
UnixPath=0
AskMode=0
SkipLIST=1
Debug=0
; -----------------------------------------------------------------------
NOTE: My previously posted solution was to greedy. This now works with every kind of Inno Setup file. Tested it with any old and new inno files and it nomore conflicts with upx section (see two posts below) in multiarc.ini or other exe headers.

Have a lot of fun!
Last edited by TychoBarfy on 2006-01-11, 13:25 UTC, edited 5 times in total.
Alexx
New Member
New Member
Posts: 1
Joined: 2006-01-08, 21:03 UTC
Location: Russia

Post by *Alexx »

On Dec 25, 2005 TychoBarfy posted:
...
ID=49 6E 6E 6F, 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 BA 10 00 0E 1F B4 09 CD
IDPos=48

An excellent solution! :) And I have some another one: I didn't edit [InnoSetup] section in MultiArc.ini, but made special new:

Code: Select all

[InnoSetup512]
Description="InnoSetup 5.1.2 and up"
Archiver=C:\Arch\Win\InnoUnp.exe
Extension=exe_is
ID=BA 10 00 0E 1F
IDPos=64
...
I agree that this type of ID solution is not ideal, but non-InnoSetup EXEs with this hex sequence are rather rare - I tested.

I also suggest a new section for *.0 InnoSetup installation files, which may be found, for example, in some 7-Zip SFX archives:

Code: Select all

[InnoArch]
Description="InnoSetup Archive"
Archiver=C:\Arch\Win\InnoUnp.exe
Extension=0
ID=49 6E 6E 6F
IDPos=0
Start="^--------------------------------------"
End="^--------------------------------------"
Format0="zzzzzzzzzz  yyyy.tt.dd hh:mm  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -v -m %AQ
Extract=%P -e -m -c%R %AQ @%LQ
ExtractWithPath=%P -x -m -c%R %AQ @%LQ
IgnoreErrors=0
SkipEmpty=0
SkipDirsInFileList=0
SearchForUglyDirs=0
BatchUnpack=1
UnixPath=0
AskMode=0
SkipLIST=1
Debug=0
Unfortunately, you must unpack all the files from 7-Zip SFX archive for InnoUnp work, because the archive may be divided into parts. And my TotalCmd :cry: can't process 7-Zip SFX files (I will find out why?!), I used Far for this operation.

With best regards,
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

For unpacking self extracting 7zip archives I use 7Zip Plugin (NOT 7z plugin!!) http://www.totalcmd.net/plugring/7zip_plugin.html with 7z.sfx from the 7zip package in the plugins folder.

Works fine with even Inno EXEs (or *.0 or something else) packed in a self extracting archive. No problems with that. Don't have to create an extra section.


You wrote also:
I didn't edit [InnoSetup] section in MultiArc.ini, but made special new:

Code: Select all

[InnoSetup512]
Description="InnoSetup 5.1.2 and up"
Archiver=C:\Arch\Win\InnoUnp.exe
Extension=exe_is
ID=BA 10 00 0E 1F
IDPos=64
...

This works also fo new and old (in one section now):

Code: Select all

[InnoSetup]
Description="Inno Setup (3.0.0-beta to 5.1.2 and up)"
Extension=EXE_IS
Archiver=D:\tcmd\multiarc_packer\innounp.exe
ID=49 6E 6E 6F, 73 74 72 69 6E 67 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3C 10 40
IDPos=48, 1026
...

However, if you set IgnoreErrors=1 in the [InnoSetup] section of
multiarc.ini you even don't get error messages if you try to open
an inno file version smaller than 3.0.0-beta.

The only effect is that in the opened archive there's to see something like that
in TC file window:
[cified file "Z:]
ddress 0043F654
up Setup Data (2.0.18) This is not a supported version.
withmessage:1
This could be usefull. Firstly you don't have to close any annoying popup
message; secondly you get an information about the version and you see
that you tried to open an inno file; and last not least all innos newer
or equal version 3.0.0-beta can be extracted as before.

By the way. I extracted an Inno Setup Setup Data (3.0.0a). This seams to
be a version higher 3.0.0-beta. Old innos and 3.0.0a I found on a CD from 2002.
Last edited by TychoBarfy on 2006-01-12, 12:22 UTC, edited 2 times in total.
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

I think I now found a allround solution for old and new inno files. See my postings above.
My previously posted solution was to greedy. This now works with every kind of Inno Setup file. Tested it with any old and new inno files and it nomore conflicts with upx section in multiarc.ini or other exe headers.

string................<.@
This is a common string in every inno file (new and old) starting at the same position. And till now I didn't find any other non inno exe with this string at that pos.

And if someone's interrested, here's the upx section in my multiarc.ini:

Code: Select all

; -----------------------------------------------------------------------
; UPX 124 compressed files (Ver 1.1)
; Unpacker: upx v1.24 stable
; http://web.cefriel.it/~frumento
; -----------------------------------------------------------------------
[UPX_Compress_124]
TypeName=UPX
ID=31 2E 32 34 00 55 50 58
IDPos=987
Extension=EXE_UP
Archiver=D:\tcmd\multiarc_packer\upx124.exe
Start="--------------------"
Format0="zzzzzzzzzzzzzzzzzzzzzz -> pppppppppppppppppppppp nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract="%P -d %FQ -o%AQAW"
;Extract="%P -d %AQAW"
List="%P -q -l --no-color %AQA"
Test="%P -t -q --no-color %FQ"
Add="%P --best -q --no-color --compress-icons=1 %FQ -o%AQ"
IgnoreErrors=0
Debug=0
UnixPath=0
SkipDirsInFileList=1
SkipEmptyNames=1
BatchUnpack=0
SearchForUglyDirs=0
AskMode=0
SkipLIST=0
; -----------------------------------------------------------------------
Here my WINCMD.INI entries for upx and inno two posts above:
exe_up=223,%COMMANDER_PATH%\plugins\wcx\packer_plugins\multiarc\multiarc.wcx
exe_is=223,%COMMANDER_PATH%\plugins\wcx\packer_plugins\multiarc\multiarc.wcx
Last edited by TychoBarfy on 2006-01-12, 12:21 UTC, edited 6 times in total.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

@TychoBarfy: thx for your work now it would be nice if you could upload multiarc.ini somewhere complete :)
Hoecker sie sind raus!
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Multiarc files without the packers
------------------------------------------

EDIT 18.01.2006:
The archive contains my multiarc folder and in addition the [xxxxxxPlugins] sections of my
WINCMD.INI to demonstrate how I use to extract my other files and how the multiarc
entries in WINCMD.INI should be. I made a lot of changes in multiarc.ini and [Packerplugins]
section of WINCMD.INI.

A small tcmd.dir is included to show my TC's internal plugin structure.

Instead of extract.exe for DDI images I want to implement UNDDI from
http://www.ii.pw.edu.pl/~borkowsm/unddi.htm

I'm in contact with the author. He said, he has less time for programing and I could compile
the EXE myself. If someone tells me what compiler to use and where to get it I would do it.
I found the lines in the source code which must be modified to let it work properly in Multiarc.

The tool works fine. But because there are empty lines at the start and at the end of the files
list it's inpossible to get it work in Multiarc.

Some remarks to gaup.wcx (Game Archive UnPacker).
If you also want to open bin images in TC delete the string ",BIN "
(without quotes) in plugininst.inf of GAUP and open BIN's with iso.wcx.
If you have already installed GAUP than change the BIN line in WINCMD.INI
and instead point to iso.wcx plugins dir.


For those who didn't use Rapidshare before.

If you enter the site after clicking the link below, scroll down and click at the Free button.
Than wait a few seconds until the little picture with the chars on it appears.

Type in these chars into the textbox (lower/upper case doesn't matter).
Note: The char which looks like zero is an o. If it's a zero its marked with a point in it.

Don't use dowload managers!!!

Here the actual multiarc.ini:
http://rapidshare.de/files/11257998/multiarc_ini.zip.html
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

One note to Inno Setup section in multiarc.ini. At

Code: Select all

Format0="zzzzzzzzzz  yyyy.tt.dd hh:mm
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
all in one line AND put 2 spaces between hh:mm AND nnnnnnn...
So date/time of files/dirs will be displaied correctly again.
Last edited by TychoBarfy on 2006-01-23, 08:14 UTC, edited 1 time in total.
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Fixed some errors in multiarc.ini and WINCMD.INI and
added some new features. Now everything works including
UNDDI. Mariusz, the author of UNDDI was so kind to
make a new compilation.

Included in this file is multiarc.ini, plugin sections
of WINCMD.INI and the Multiarc compatible UNDDI. He plans
an other release with more comprehensive commanders-integration
and other improvements.
NOTE: Do not use unddi from athors homepage. It doesn't
work with Multiarc.


Please ignore my previous download links above.

http://rapidshare.de/files/11738388/multiarc_ini.zip.html
glimmertwins
New Member
New Member
Posts: 1
Joined: 2006-01-25, 05:55 UTC

inno.exe

Post by *glimmertwins »

Hello...for some reason I now have inno in my files somewhere...
My problem is that it overrides all my winzip files and it will not
open or install any of my winzip file and downloads...'I have scanned my pc but cannot find this exe anywhere...I cannot delete what I cannot find...
Any suggestions..
thanks
Greg :oops:
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

@glimmertwins, to find Inno Setup files in TC go to
Command -> Search
Search for:*.exe
Enable "Search archives (...)" if you want to search for exes in archives
Search in: -> go to Drives -> local harddisks -> OK
Find text:Inno
Enable "Case sensitive" and "UTF8"

What do you mean with "it overrides all my winzip files"? overwrites?
What is overwriting your winzip files and what should install and open your
winzip files and downloads?
What do you want to delete? Winzip files, downloads, inno setup exes?
:confused: Don't know exactly what you want.
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Fixed some errors ... see two posts further.
Last edited by TychoBarfy on 2006-02-08, 13:39 UTC, edited 1 time in total.
Post Reply