SPFILENOTIFY_FILEEXTRACTED message

The SPFILENOTIFY_FILEEXTRACTED notification is sent to a callback routine by SetupIterateCabinet to indicate either that a file was extracted from the cabinet or that an extraction failed and cabinet processing has been canceled.

SPFILENOTIFY_FILEEXTRACTED
  Param1 = (UINT) FilePathInfo;
  Param2 = (UINT) 0;
            

Parameters

Param1

Pointer to a FILEPATHS structure that contains path information for the extracted file. The SourceFile member of the FILEPATHS structure contains the full source path of the cabinet. The TargetFile member supplies the full target path of the file to be installed on the system.

Param2

Unused.

Return value

The cabinet callback routine should return one of the following values.

Return code Description
NO_ERROR
No error was encountered, continue processing the cabinet.
ERROR_XXX
An error of the specified type occurred. SetupIterateCabinet will return zero. GetLastError will return the specified error code.

Note

There is no default cabinet callback routine supplied with the Setup API. Your setup application should supply a callback routine to handle the notifications sent by the SetupIterateCabinet function.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Setupapi.h

See also

Overview

Notifications

FILEPATHS

SetupIterateCabinet