Menu

7za x setup.exe not working

Help
2006-11-29
2012-12-07
  • Robert Riebisch

    Robert Riebisch - 2006-11-29

    Hi!

    I'm trying to unpack a NSIS setup.exe with 7-Zip 4.42. I don't have any problems when using the 7-Zip file manager, but calling "7za x setup.exe" gives "setup.exe is not supported archive".

    Is there no NSIS unpack logic in 7za.exe? Why?

     
    • Nobody/Anonymous

      What about reading the help file ?

      According to the chapter "Command Line Version User's Guide"

      7z.exe is command line versions of 7-Zip. 7z.exe uses other modules from 7-Zip package.

      7za.exe is a standalone version of 7-Zip. 7za.exe supports only 7z, zip, gzip, bzip2, Z and tar formats. 7za.exe doesn't use other modules.

      So if you want to use the command line, use 7z.exe instead of 7za.exe

      Remark : 7z.exe uses the same plugins as the 7-Zip file manager.

       
    • Nobody/Anonymous

      I've also had some similar issues, I discovered it was unpacking the files to where it had be called from, meaning that you might need to use the -o [output] switch to make it work..

      Something like:
      c:\7z.exe x -o c:\temp c:\downloads\setup.exe

      Temp is folder where you want to extract files, and downloads is the folder where setup.exe is located. Don't forget to add "" to avoid issues because of spaces in paths like "Documents and Settings"

      Hope this helps!

      --nuno brito

       

Log in to post a comment.