Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TCabFile
Decompressing files

  • 1) Set the property CABFile to the full path + filename of the CAB file
  • 2) Call the method GetContents. This method fills the collection with details about the files included in the CAB file
  • 3) Call either ExtractAll, ExtractSelected, ExtractFile(filename:string) The first method extracts all files to the TargetPath, regardless of the Selected state in each CABFileEntry in the CABFileContents collection
The ExtractSelected method only extract files with Selected=true in the CABFileContents collection.
ExtractFile extracts only one file, regardless of its Selected state