A wrapper to extract files from CAB files or create CAB files

Feature overview

Wrapper around the Windows CABINET.DLL functions to create CAB files, extract files from CAB files or create self extracting EXE files (not supported on Win9x).

Using TCabFile


procedure GetContents;
procedure ExtractAll;
procedure ExtractSelected;
procedure ExtractFile(const fName:string);
function Compress:boolean;
function MakeSFX:boolean;


property CABFileContents:TCABFileContents;
property CABFile:string;
property CompressionType:TCompressionType; (can be typNone,typMSZIP,typLZX)
property LZXMemory:TLZXMemory; (can be value from lzxLowest to lzxHighest)
property TargetPath:string;
property OnCompressProgress;

Read only public properties (available after Compress)
property CompressionRatio:double
property CompressedSize:integer
property OriginalSize:integer

With TCABFileContents being a TCollection of TCABFileEntry.
TCABFileEntry is a collection item with 4 properties :
Name:string, Size:integer, Date:tdatetime,


What our customers say

Thank you Mr. Fierens for your time and assistance. Just want to say your VCL Pack is fabulous.

- Mark Mihevc

Thank you for this superb tool collection!

- Henning Swiboda

Thanks for the effort to create the VCL grid goodies ! These chunks of outcome-oriented teaching-material are very useful. It's unbelievable how powerful the grid is when one knows how to unveil it's countless options...

- Feichtenschlager Thomas

I don''t know how I could have created and managed so many projects without the AdvStringGrid! And although there is already so much functionality in it I''m using my own derived version with automatic column widths, enhanced export to Excel (including text colors, backround colors, comments, merged cells and more), the possibility to fill in static data at design time and more. This often allows me to build a new tool in hours instead of days! Support is also great! Thanks.

- Raß Jacqueline

Keep up the great work...Every new release of TMS Component Pack is like Xmas. Top quality components! :-)

- Aidan Thomson via email


Single developer license

license for 1 developer
€ 150 yearly renewal *
€ 375

order now
add to cart

Small team license

license for 2 developers
€ 240 yearly renewal *
€ 600

order now
add to cart

Site license

unlimited developers in the company
€ 510 yearly renewal *
€ 1275

order now
add to cart

CreditCards and PayPal Accepted


    Delphi 7, 2007, 2010, 2009, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria, C++Builder 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney, 11 Alexandria (Professional/Enterprise/Architect)