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
Compressing files

  • 1) Fill the CABFileContents collection with CABFileEntry elements, where Name is the full path to the file that needs to be added to the CAB file. Set the relative path for decompressing in the RelPath property
  • 2) Set the CABFile property to the CAB file that needs to be created Note that the CAB API doesn't allow to add files to an existing CAB file, so you must choose a non-existing file!
  • 3) Call the Compress method