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

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


View licensing FAQ
  • License for commercial use: Single developer license, Site license
  • Includes full source code
  • Free updates for a full version cycle (from v1.7 to v2.6) or maximum 2 years of free updates
  • Free priority support through email and forum

Single developer license


license for 1 developer € 95


order now
add to cart

Site
license


unlimited developers in the company € 395


order now
add to cart


CreditCards and PayPal Accepted


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

Bookmarks