|Top Previous Next|
IN PACKAGE_HANDLE hPkg,
IN LPCWSTR FileName,
IN LPCWSTR TargetDir )
Extracts a specific file from the virtual application package, and saves it somewhere on the disk.
Virtual application package handle, returned by PackageOpen.
Name of the file to be deleted from package, in a virtual format (i.e. "%Program Files%\MyApp\File.ext").
Returns APIRET_SUCCESS if successful, APIRET_NOT_FOUND if the file was not found, or APIRET_FILE_CREATE_ERROR if the file could not be saved.