NSIS unpacker?
Moderators: Hacker, petermad, Stefan2, white
NSIS unpacker?
Is there a plugin (or Multiarc addon) that can unpack NSIS (Nullsoft Install System)?
Thanks.
Thanks.
Interested plugin developers can found the sources here:
http://prdownloads.sourceforge.net/nsis/nsis-2.09-src.tar.bz2?download
http://prdownloads.sourceforge.net/nsis/nsis-2.09-src.tar.bz2?download
But make sure that you get the old version I have uploaded, you can find the reason in the comments section:
http://rapidshare.de/files/3133324/IETotal_2004-05-26.zip.html
Icfu
http://rapidshare.de/files/3133324/IETotal_2004-05-26.zip.html
Icfu
This account is for sale
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Try this, works great but see ***:
Universal Extractor
http://www.msfn.org/board/index.php?showtopic=62418&st=0&gopid=451189
I use it like this:
Command:%COMMANDER_PATH%\packer\uniextract\bin\UniExtract.exe
Params:%P%N %T%O
Path:<empty>
Extract to target panel into a folder named "filename without extension"
Also 7zip v4.40 beta now supports NSIS: http://www.7-zip.org/
I use it in my MultiArc with 7zg.exe in 7z.addon only to list the contents
of the exe because there I can see the right directory structure but if I
unpack with MultiArc either TC crashes or the files are not unpacked
correctly.
Or if I use 7-zip like this:
Command:%COMMANDER_PATH%\packer\7-zip\7zg.exe
Params:x -y -r -o%T%O %P%N
Path:<empty>
Extract to target panel into a folder named "filename without extension"
*** I get the same result as with Universal Extractor. But there's one problem.
If I leave out -y 7-zip asks me several times whether it should overwrite
some files with one of different sizes. This is because 7-zip doesn't create
subfolders in $outdir. So the results are not trustworthy.
But this happens only with the ATI driver installation. With other NSIS setups
it works better but not allways perfekt. For the moment better than nothing.
May be someone could write a UnWise UnNSIS plugin for TC
Or 7-zip.wcx or 7z.wcx takes the new code of 7-zip to handle nsis
packed exes too.
Universal Extractor
http://www.msfn.org/board/index.php?showtopic=62418&st=0&gopid=451189
I use it like this:
Command:%COMMANDER_PATH%\packer\uniextract\bin\UniExtract.exe
Params:%P%N %T%O
Path:<empty>
Extract to target panel into a folder named "filename without extension"
Also 7zip v4.40 beta now supports NSIS: http://www.7-zip.org/
I use it in my MultiArc with 7zg.exe in 7z.addon only to list the contents
of the exe because there I can see the right directory structure but if I
unpack with MultiArc either TC crashes or the files are not unpacked
correctly.
Or if I use 7-zip like this:
Command:%COMMANDER_PATH%\packer\7-zip\7zg.exe
Params:x -y -r -o%T%O %P%N
Path:<empty>
Extract to target panel into a folder named "filename without extension"
*** I get the same result as with Universal Extractor. But there's one problem.
If I leave out -y 7-zip asks me several times whether it should overwrite
some files with one of different sizes. This is because 7-zip doesn't create
subfolders in $outdir. So the results are not trustworthy.
But this happens only with the ATI driver installation. With other NSIS setups
it works better but not allways perfekt. For the moment better than nothing.
May be someone could write a UnWise UnNSIS plugin for TC

Or 7-zip.wcx or 7z.wcx takes the new code of 7-zip to handle nsis
packed exes too.
Peace of cake...
For old NSIS installers (non-7zip compression) temporarily disable the ID string (e.g. ;ID=4E 75 6C...)
Regards,
deus-ex

- add [NSIS] section to Multiarc.ini
- adjust <path> of 7-Zip executable (e.g. c:\util\7z)
- replace "n*256" with 256 times the letter n (e.g. nnnnnnnn...)
Code: Select all
[NSIS]
ID=4E 75 6C 6C 73 6F 66 74 49 6E 73 74
IDPos=34312, 37384, 44552, 45576, 48648, 52744, 58888, 59400, 59912
;Extension=exe
Archiver=<path>\7z
BatchUnpack=1
SkipLIST=1
Start="^--"
End="^--"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp n*256"
List=%P l %AQ %O
Extract=%P e -y %AQ @%LQ
ExtractWithPath=%P x -y %AQ @%LQ
Regards,
deus-ex
Thanks, TychoBarfy & deus-ex! 
I have added some more values to IDPOS string (add some more if you find them please) and have added an additional "A" to correct ANSI encoding, important for paths with non ASCII chars:
Icfu

I have added some more values to IDPOS string (add some more if you find them please) and have added an additional "A" to correct ANSI encoding, important for paths with non ASCII chars:
Code: Select all
[NSIS]
ID=4E 75 6C 6C 73 6F 66 74 49 6E 73 74
IDPOS=21000, 21512, 23560, 25096, 26632, 32264, 32776, 33288, 33800, 34312, 34824, 35336, 36360, 36872, 37384, 38408, 39432, 40968, 41480, 43016, 44552, 45576, 46088, 46600, 47112, 47624, 48136, 48648, 49160, 49672, 50184, 50696, 52744, 56840, 57864, 58376, 58888, 59400, 59912, 60936, 135688, 136712, 141320, 147976
Extension=exe
Archiver=<path>\7z.exe
BatchUnpack=1
SkipLIST=1
Start="^--"
End="^--"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp n*256"
List=%P l %AAQ
Extract=%P e -y %AAQ @%LQ
ExtractWithPath=%P x -y %AAQ @%LQ
This account is for sale
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Thanks for all those ID-Positions ifuicfu wrote:Thanks, TychoBarfy & deus-ex!
Here is an enhanced IDPOS string including those values given till now, please add some more if you find them:
IcfuCode: Select all
IDPOS=21000, 21...

With MultiArc ther's no problem, it is able to search for the IDPOSitions.
Means at this moment Strg+PageDown is perhaps a bit faster may be.
I only told MultiArc to search for Hex ID=4E 53 49 53

Pretty old quote... You should refresh more often. 

Icfu

Those IDPOS values are obligatory(!) if you have assigned MultiArc to the EXE extension like I had done originally. If you leave them out you can't open the archive. If you are using dummy extensions only, they are optional but as they will improve speed in both cases, who cares.With MultiArc ther's no problem, it is able to search for the IDPOSitions.
Means at this moment Strg+PageDown is perhaps a bit faster may be.

The less chars, the more erroneous detections. Ah well, NSIS string is pretty unique I think, that's true.I only told MultiArc to search for Hex ID=4E 53 49 53
Icfu
This account is for sale
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Icfu, try to look into Sylpheed Installer with MultiArc, TC crashes
http://sylpheed.good-day.net/en/download.html#win32
Sylpheed-x.x.x-win32_setup.exe
With the non-MultiArc methode it wprks.
autoit-v3-setup.exe works fine using MultiArc.

http://sylpheed.good-day.net/en/download.html#win32
Sylpheed-x.x.x-win32_setup.exe
With the non-MultiArc methode it wprks.
autoit-v3-setup.exe works fine using MultiArc.
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, 25096, 26632, 32264, 32776, 33288, 33800, 34312, 34824, 35336, 36360, 36872, 37384, 38408, 39432, 40968, 41480, 43016, 44552, 45576, 46088, 46600, 47112, 47624, 48136, 48648, 49160, 49672, 50184, 50696, 52744, 56840, 57864, 58376, 58888, 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