Menu

#124 Can't extract NSIS archives

open
nobody
None
5
2012-03-11
2012-03-11
rmenessec
No

NSIS archives appear to be relatively 7-Zip archives with an SFX, and they extract fine under Windows 7-Zip (and have for some time). However, there appear to be several problems with extracting them with p7zip. I'm using foobar2000 ( http://www.foobar2000.org/download ) as an example:

* First, there are two packed entries for "/", which causes p7zip to ask if I'd like to overwrite "/". It appears to Do The Right Thing, insofar as "/" is converted to the cwd "./".

* Whether or not I allow overwriting "/", I end up with two directories in cwd, both apparently named "??".

* Finally, it's not possible to extract the files by name, as in "7z x ../foobar2000_v1.1.11.exe *components/\* -- I get "No files to process". If I correctly prepend / (the stored names are "/components/*.dll"), I get "Cannot use absolute pathnames for this command".

I realize the NSIS packer is doing one or more semi-insane things here, but 7-Zip seems to have no trouble working around the problem.

Thanks for all your great work on p7zip!

Discussion


Log in to post a comment.