Minimalist 7-Zip install?

2005-01-12
2012-12-08
  • Nobody/Anonymous

    Greetings all, I'm wondering what is the minimum fileset needed for 7-Zip to work with 7z, CAB, RAR & ZIP, as well as still have the rightclick context menu? So far I have it down to:

    7zC.sfx (for creating self extracting archives?)
    7zFM.exe
    7zg.exe
    7-zip.dll

    Formats\7z.dll
    Formats\cab.dll
    Formats\rar.dll
    Formats\zip.dll

    Codecs\7zAES.dll
    Codecs\AES.dll
    Codecs\Branch.dll
    Codecs\BZip2.dll
    Codecs\Copy.dll
    Codecs\Deflate.dll
    Codecs\Implode.dll
    Codecs\LZMA.dll
    Codecs\PPMD.dll
    Codecs\Rar29.dll
    Codecs\Swap.dll

    Lang\en.ttt

    It seems to be working fine, but I'm not sure what the Codecs are for. The reason I am looking into this is because I am thinking about doing a diskless Win9X, so minimal is best.

    Thanks in advance for any and all replies.

     
    • Igor Pavlov

      Igor Pavlov - 2005-01-12

      7-zipn.dll and 7zFMn.exe for Windows 2000 /XP.
      Lang\en.ttt is not required.

       
    • Ares

      Ares - 2005-01-12

      I have the same fileset on a memory stick.  I did one other thing though, I ran UPX on all the excutables.  I have 39 files, at 1.81MB total.

      http://upx.sourceforge.net/#download

      I ran "upx --best X:\7-zip\*" and also ran it in the codecs and formats path as well.  Saves a lot of space, and works fine.

      -Ares

       
    • Ares

      Ares - 2005-01-12

      Err, actually I guess I have more files than you.  I have:

      D:\Programs\7-Zip\7-zip.chm
      D:\Programs\7-Zip\msvcrt.dll
      D:\Programs\7-Zip\7-zip.dll
      D:\Programs\7-Zip\7-zipn.dll
      D:\Programs\7-Zip\7z.exe
      D:\Programs\7-Zip\7z.sfx
      D:\Programs\7-Zip\7za.exe
      D:\Programs\7-Zip\7zC.sfx
      D:\Programs\7-Zip\7zCon.sfx
      D:\Programs\7-Zip\7zFM.exe
      D:\Programs\7-Zip\7zFMn.exe
      D:\Programs\7-Zip\7zg.exe
      D:\Programs\7-Zip\7zgn.exe
      D:\Programs\7-Zip\7zS.sfx
      D:\Programs\7-Zip\7zSD.sfx
      D:\Programs\7-Zip\Codecs\7zAES.dll
      D:\Programs\7-Zip\Codecs\AES.dll
      D:\Programs\7-Zip\Codecs\Branch.dll
      D:\Programs\7-Zip\Codecs\BZip2.dll
      D:\Programs\7-Zip\Codecs\Copy.dll
      D:\Programs\7-Zip\Codecs\Deflate.dll
      D:\Programs\7-Zip\Codecs\Implode.dll
      D:\Programs\7-Zip\Codecs\LZMA.dll
      D:\Programs\7-Zip\Codecs\PPMD.dll
      D:\Programs\7-Zip\Codecs\Rar29.dll
      D:\Programs\7-Zip\Codecs\Swap.dll
      D:\Programs\7-Zip\Formats\7z.dll
      D:\Programs\7-Zip\Formats\arj.dll
      D:\Programs\7-Zip\Formats\bz2.dll
      D:\Programs\7-Zip\Formats\cab.dll
      D:\Programs\7-Zip\Formats\cpio.dll
      D:\Programs\7-Zip\Formats\deb.dll
      D:\Programs\7-Zip\Formats\gz.dll
      D:\Programs\7-Zip\Formats\rar.dll
      D:\Programs\7-Zip\Formats\rpm.dll
      D:\Programs\7-Zip\Formats\split.dll
      D:\Programs\7-Zip\Formats\tar.dll
      D:\Programs\7-Zip\Formats\zip.dll
      D:\Programs\7-Zip\Lang\en.ttt

      But it's all just 1.81MB after UPX compression, so yeah...

      -Ares

       
    • Ares

      Ares - 2005-01-12

      Ok, now that the newer version is out, I've repackaged 7-zip for my thumb drive.  I used 38 files (got rid of en.ttt).  Original was 3,573,702 bytes, repackaged with UPX was 1,877,958 bytes.

      I want full 7-zip capabilities myself, and I let msvcrt.dll tag along in case I actually come across a system that doesn't have it.  Might be rare but you never know...

      -Ares

       
    • Nobody/Anonymous

      this can be scripted into NSIS:

      1-check windows version..
      2-install required file only..
      3-upx file after installation..

      MAAD

       
    • Nobody/Anonymous

      How i can upx the file after th installation,?
      How execute upx in nsis?

       
    • Ares

      Ares - 2005-01-15

      After installation is easy.  Just run these three commands, substituting your paths correctly.

      X:\upx.exe --best Y:\7-zip\*
      X:\upx.exe --best Y:\7-zip\formats\*
      X:\upx.exe --best Y:\7-zip\codecs\*

      Where X:\ is probably some path like C:\Program Files\UPX\ or wherever you put it, and Y:\ is wherever you have your copy of 7-zip that you want to compress.

      For NSIS, you'll have to wait for MAAD to reply ;)

      -Ares

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks