VCL
TCabFile
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
Interface
Methodsprocedure 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
Trial Downloads
Site license
unlimited developers in the company
€ 510 yearly renewal *
€ 1275

Compatibility
- 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)
Licensing
- Licensing FAQ
- License for commercial use: Single developer license, Small team license, Site license
- Includes full source code
- Ask questions to our engineers related to purchased product via Support Center
- Free 1 year updates and new releases
- After 1 year, a discount renewal is offered for a 1 year extension. *
* offer valid for 30 days after end of license. Discount price is subject to change.
Bookmarks
×