Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as:

Type = Nsis
Method = LZMA:25
Solid = +

With the command line version 7za I am unable to do this, but it is strange, since it is possible to compress with 7za using -m1=LZMA:d=25

Any idea to decompress or any alternative to 7za?

share|improve this question
    
"With the GUI version of 7zip I am able to do this" - So what's the problem? Are you specifically looking to do this from the command-line only? Isn't using the GUI 7z.exe from the command-line an option? –  Karan Jan 13 '13 at 18:18
    
@Karan: yes I need to automate the task and execute it on a PC where I cannot assume 7zip is installed. –  antonio Jan 13 '13 at 18:32
    
I'm not sure about the legality, but perhaps 7z.exe might work without even being installed? –  Karan Jan 13 '13 at 18:35
add comment

1 Answer

up vote 0 down vote accepted

There is a separate different portable version of 7-zip by a third party. http://portableapps.com/apps/utilities/7-zip_portable

This one can be put on a USB drive and the 7z.exe can be used much like 7za.exe, but it is able to cope with NSIS exe files.

I also found that, after installing the standard 7-zip from http://www.7-zip.org, one can grab and put 7z.exe and 7z.dll in whatever directory and s/he has her/his own light but full fledged command line version of 7-zip.

Pity that there is still to go with the main file plus the dll. Instead 7za.exe has no dependencies.

If you know of a static linked version of 7z.exe (no dll) or a trick to make a single executable out of them, please let me know.

cheers

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.