This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

InnoSetup MultiArc Addon
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Nigurrath
Senior Member
Senior Member


Joined: 05 Feb 2003
Posts: 217

PostPosted: Tue Mar 08, 2005 10:08 am    Post subject: Reply with quote

effectively I have not found an unique solution to handle all the files. Any idea how to combine these two plugs?
_________________
TC9.1b 32b on a WIN10 64b
Back to top
View user's profile Send private message
gnozal8
Junior Member
Junior Member


Joined: 12 Jan 2004
Posts: 83

PostPosted: Wed May 11, 2005 8:45 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
clauderenaud
Junior Member
Junior Member


Joined: 10 Feb 2005
Posts: 49
Location: France

PostPosted: Sun Oct 16, 2005 9:32 am    Post subject: Reply with quote

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,
Back to top
View user's profile Send private message Send e-mail MSN Messenger
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Fri Dec 16, 2005 1:55 pm    Post subject: Reply with quote

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 --
Back to top
View user's profile Send private message Visit poster's website
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Sun Dec 25, 2005 1:24 pm    Post subject: Reply with quote

My entry in WINCMD.INI:
Code:

[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:

; -----------------------------------------------------------------------
; 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 Wed Jan 11, 2006 7:25 am; edited 5 times in total
Back to top
View user's profile Send private message Visit poster's website
Alexx
New Member
New Member


Joined: 08 Jan 2006
Posts: 1
Location: Russia

PostPosted: Sun Jan 08, 2006 4:14 pm    Post subject: Reply with quote

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! Smile And I have some another one: I didn't edit [InnoSetup] section in MultiArc.ini, but made special new:

Code:
[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:
[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 Crying or Very sad can't process 7-Zip SFX files (I will find out why?!), I used Far for this operation.

With best regards,
Back to top
View user's profile Send private message
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Mon Jan 09, 2006 3:06 am    Post subject: Reply with quote

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:

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

Code:
[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:
[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:
Quote:
[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 Thu Jan 12, 2006 6:22 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Wed Jan 11, 2006 7:08 am    Post subject: Reply with quote

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:
; -----------------------------------------------------------------------
; 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:
Quote:
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 Thu Jan 12, 2006 6:21 am; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website
Sir_SiLvA
Power Member
Power Member


Joined: 06 May 2003
Posts: 2785

PostPosted: Wed Jan 11, 2006 7:25 am    Post subject: Reply with quote

@TychoBarfy: thx for your work now it would be nice if you could upload multiarc.ini somewhere complete Smile
Back to top
View user's profile Send private message
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Wed Jan 11, 2006 11:14 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Sat Jan 21, 2006 7:28 pm    Post subject: Reply with quote

One note to Inno Setup section in multiarc.ini. At
Code:
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 Mon Jan 23, 2006 2:14 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Tue Jan 24, 2006 11:59 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
glimmertwins
New Member
New Member


Joined: 24 Jan 2006
Posts: 1

PostPosted: Wed Jan 25, 2006 12:06 am    Post subject: inno.exe Reply with quote

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 Embarassed
Back to top
View user's profile Send private message
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Thu Jan 26, 2006 7:51 am    Post subject: Reply with quote

@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.
Back to top
View user's profile Send private message Visit poster's website
TychoBarfy
Senior Member
Senior Member


Joined: 13 Aug 2005
Posts: 265
Location: Berlin, Germany

PostPosted: Wed Feb 08, 2006 1:40 am    Post subject: Reply with quote

Fixed some errors ... see two posts further.

Last edited by TychoBarfy on Wed Feb 08, 2006 7:39 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group