VCL

TCabFile

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


Release

v1.5.5.1 (May 10, 2016)

Version history

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

Interface

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


Properties

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,
Selected:boolean

Help

VCL

Buy online

TMS VCL UI Pack


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


View licensing FAQ
  • License for commercial use: Single developer license, Small team license, Site license
  • Includes full source code
  • Free 1 year updates and new releases
  • After 1 year, a 70% discount renewal is offered for a one year extension (offer valid for 30 days)
  • Free priority support through email and forum

Single developer license


license for 1 developer € 295


order now
add to cart

Small team license


license for 2 developers € 495


order now
add to cart

Site license


unlimited developers in the company € 995


order now
add to cart


CreditCards and PayPal Accepted


This product is also available in the following bundle(s):

Bookmarks