TZipFile class in RAD Studio does not support
-
LZMA compression method
-
Zip64 archive format
This library add these features to existing System.Zip.pas
via new unit System.Zip2.pas
. User can easily switch between System.Zip.pas
and System.Zip2.pas
in source code.
The repository organizes source code for various RAD Studio release using branches since RAD Studio XE4.
-
RAD Studio 11 Alexandria support Zip64.
Zip64
artifacts has replaced by RAD Studio 11 release.
To enable Zip64
support, replace System.Zip.pas
to System.Zip2.pas
.
To enable LZMA compression method, Add System.Zip.LZMA
to RAD Studio project.
To extract LZMA zip archive:
uses System.Zip2, System.Zip.LZMA;
begin
TZipFile.ExtractZipFile('c:\lzma.zip', 'c:\');
end.