MSIPATCHSEQUENCEINFO Structure

Windows Installer

MSIPATCHSEQUENCEINFO Structure

The MSIPATCHSEQUENCEINFO structure is used by the MsiDeterminePatchSequence and MsiDetermineApplicablePatches functions.

Syntax

C++
typedef struct _MSIPATCHSEQUENCEINFO {
  LPCTSTR          szPatchData;
  MSIPATCHDATATYPE ePatchDataType;
  DWORD            dwOrder;
  UINT             uStatus;
}MSIPATCHSEQUENCEINFO, *PMSIPATCHSEQUENCEINFO;

Members

szPatchData

Pointer to the path of a patch file, an XML blob, or an XML file.

ePatchDataType

Qualifies szPatchData as a patch file, an XML blob, or an XML file.

Value Meaning
MSIPATCH_DATATYPE_PATCHFILE
0

The szPatchData member refers to a path of a patch file.

MSIPATCH_DATATYPE_XMLPATH
1

The szPatchData member refers to a path of a XML file.

MSIPATCH_DATATYPE_XMLBLOB
2

The szPatchData member refers to an XML blob.

 

dwOrder

Set to an integer that indicates the sequence of the patch in the order of application. The sequence starts with 0. If a patch is not applicable to the specified .msi file, or if the function fails, dwOrder is set to -1.

uStatus

Set to ERROR_SUCCESS or the corresponding Win32 error code.

Remarks

Windows Installer 2.0:  Not supported. The MSIPATCHSEQUENCEINFO structure is available beginning with Windows Installer 3.0.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer 3.0 or later on Windows Server 2003, Windows XP, and Windows 2000
HeaderMsi.h
Unicode and ANSI namesMSIPATCHSEQUENCEINFOW (Unicode) and MSIPATCHSEQUENCEINFOA (ANSI)

See Also

MsiDetermineApplicablePatches
MsiDeterminePatchSequence

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.