Is there any Library in Delphi to handle LZMA (or 7zip)files including creating self extracting EXEs
There are some sources code at 7zip.orgin (c++ java c#) but i want them in delphi
BUT i want something which is stand alone (No DLLs)
there are two solutions:
1) use the into native pascal translated sdk:
2) you can compile the c version of the sdk into obj files and link them to your delphi project. this one requires a translation of the header files to delphi and it requires lots of c knowledge.
Inno setup have delphi source code to encode and decode lzma.
http://www.jrsoftware.org/isdl.php
you could also simply use inno setup to create your self extractor.
try http://www.progdigy.com/?page_id=13 it might be what you need
JCL has JclCompression library which support 7zip and there's Delphi 7 Zip API both of them are open source project.
A patch for Delphi Zip that support both LZMA and Zip64 is ready: delphi-zip
来源:https://stackoverflow.com/questions/4344976/lzma-or-7zip-in-delphi