JVCL Help:TJvCABFile.ExtractAll

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Extracts files in a cabinet file to a specified path.


Pascal

 functionExtractAll(DestPath: string): Boolean;


Parameters

Parameters Description
DestPath: string The path where extracted files will be stored.


Return Value

The return value for ExtractAll is True when SetupIterateCabinet completes successfully, or False if FileName does not exist or another Win32 error is encountered in the callback function.


Description

ExtractAll is a Boolean function that iterates over all files stored in a cabinet file, and extracts the files to the path specified in DestPath. ExtractAll insures that DestPath has a trailing path delimiter, and stores the value in the internal member variable reserved for that purpose.
ExtractAll calls the SetupIterateCabinet function from the Setup API using the cabinet file identified in FileName and the internal callback function for file extraction.
Use Files to access the file names stored in the cabinet file identified by FileName.
Use ExtractFile to extract a specific file from the cabinet file identified in FileName to a specific destination path.


See Also

TJvCABFile.Files, TJvCABFile.FileName, TJvCABFile.ExtractFile


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page