NSIS unpacker?

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Add 51208 to IDPOS.
Doesn't crash here, opens normally.

Icfu
This account is for sale
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Yes, now its OK.

I removed following IDPOSes 34824, 36872, 40968, 50696.
Before removing MultiArc returned Error: E:\Temp\nsis-test\bla.exe is not supported archive.
While after removing everything is working.

This are my new IDPOSes:

Code: Select all

IDPOS=21000, 21512, 23560, 25096, 26632, 32264, 32776, 33288, 33800, 34312, 35336, 36360, 37384, 38408, 39432, 41480, 43016, 44552, 45576, 46088, 46600, 47112, 47624, 48136, 48648, 49160, 49672, 50184, 51208, 52744, 56840, 57864, 58376, 58888, 59400, 59912, 60936, 135688, 136712, 141320, 147976
Last edited by TychoBarfy on 2006-05-07, 10:02 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I thought you are an multiarc expert after you have created your archive? :)

Search for "nullsoftinst" in Sylpheed-2.2.4-win32_setup.exe in lister hex mode, convert the resulting offset 0xc808 to decimal.

Icfu
This account is for sale
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Yea, was a silly question.
Edit with a hex editor, search for the occurrencies of the hex string, point the cursor to the first letter or hex value of the string and you've got it :)
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

EDIT: Removed 333800, 34312, 34824, 36872, 37384, 40968, 47624, 49160, 50696, 58888.
Now it looks like this:

Code: Select all

IDPOS=21000, 21512, 23560, 25096, 26632, 32264, 32776, 33288, 35336, 36360, 38408, 39432, 41480, 43016, 44552, 45576, 46088, 46600, 47112, 48136, 48648, 49672, 50184, 51208, 52744, 56840, 57864, 58376, 59400, 59912, 60936, 135688, 136712, 141320, 147976
Last edited by TychoBarfy on 2006-05-07, 10:33 UTC, edited 1 time in total.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Why removed? Those values are valid, at least those I have posted above... Ah well, your choice. ;)

Icfu
This account is for sale
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

I know, but after removing, those exes which returned an error before worked than.
I wonder too, I have no plausible explanation for this behaviour.

Removed 25096, 34312, 34824, 36872, 37384, 40968, 47112, 47624, 49160, 50696, 58888, 333800
Added 35848

Code: Select all

IDPOS=21000, 21512, 23560, 26632, 32264, 32776, 33288, 35336, 35848, 36360, 38408, 39432, 41480, 43016, 44552, 45576, 46088, 46600, 48136, 48648, 49672, 50184, 51208, 52744, 56840, 57864, 58376, 59400, 59912, 60936, 135688, 136712, 141320, 147976
There are still problems with setup packages from Slysoft. But only because they are
packed with UPX 1.24. After unpacking with UPX 1.25 everything is OK.
vserd
Junior Member
Junior Member
Posts: 27
Joined: 2005-04-26, 13:30 UTC

Post by *vserd »

Try with for version MultiArc 1.2 or high

Code: Select all

IDPOS=8
SkipSfxHeader=1
ID=4E 75 6C 6C 73 6F 66 74 49 6E 73 74
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Try with for version MultiArc 1.2 or high ...
This doesn't work.
To many Errors "Error: xxxxx is not supported archive"
Some exes work some not.
vserd
Junior Member
Junior Member
Posts: 27
Joined: 2005-04-26, 13:30 UTC

Post by *vserd »

This doesn't work.
To many Errors "Error: xxxxx is not supported archive"
Url/name and version not working installation?
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

I told you that there are too many exes which return this error and which
don't work after pasting your code into multiarc.ini.
I can't find out or don't feel like searching for the url of all those files
which don't work with your code. They are just too many.
With your code I only have to test 5 files to see that it doesn't work.
Believe me.

May be there has to ne one or more additional IDPOS together with
SkipSfxHeader=1 to work with all files.

With the IDPOS string I posted before everythings works fine and I
tested it with about 60 or more different files so far.

If I'll find another exe that doesn't work, I'll update the IDPOS string.
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

OK, try it with Daemon Tools 32bits version 4.03 .
http://www.daemon-tools.cc/dtcc/download.php?mode=ViewCategory&catid=5
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2TychoBarfy
Can you, please, write here the addon you're using, and then tell if you can open 7z440.exe with it.
I guess I'm doing something wrong and I receive only two "files", one of which is ".exe is not supported archive" :wink:
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

2XPEHOPE3KA, 7z440.exe works with the code of vserd AND with mine.

n*256 means 256 times n one after the other.

Code from vserd:

Code: Select all

[7Z_NSIS]
Description=7-Zip 3.40 Beta
Archiver=%TCMDPATH%\packer\7-zip\7z.exe
Extension=exe_NSIS,exe
IDPOS=8
SkipSfxHeader=1
ID=4E 75 6C 6C 73 6F 66 74 49 6E 73 74
BatchUnpack=1
Start="^-------------------"
End="^-------------------"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp n*256"
List=%P l %AQA
Extract= %P e -y %AQA @%LQ
ExtractWithPath=%P x -y %AQA @%LQ
My code:

Code: Select all

[7Z_NSIS]
Description=7-Zip 3.40 Beta
Archiver=%TCMDPATH%\packer\7-zip\7z.exe
Extension=exe_NSIS,exe
ID=4E 75 6C 6C 73 6F 66 74 49 6E 73 74
IDPOS=21000, 21512, 23560, 26632, 32264, 32776, 33288, 35336, 35848, 36360, 38408, 39432, 41480, 43016, 44552, 45576, 46088, 46600, 48136, 48648, 49672, 50184, 51208, 52744, 56840, 57864, 58376, 59400, 59912, 60936, 135688, 136712, 141320, 147976
BatchUnpack=1
Start="^-------------------"
End="^-------------------"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp n*256"
List=%P l %AQA
Extract= %P e -y %AQA @%LQ
ExtractWithPath=%P x -y %AQA @%LQ
EDIT: I'm in the garden now until late evening.
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

I guess, 7z is 4.40 beta :wink: . But, well, this doesn't matter.
And that was not working for me, because I've copied only 7z.exe, codecs\LZMA.dll
and formats\nsis.dll to my %commander_path%\plugins\arc\7z (retaining folder structure). But it seems that all other files are needed.
Thanks, TychoBarfy!
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
Post Reply