MSIPATCHSEQUENCEINFO structure

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

Syntax


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.

ValueMeaning
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.

Requirements

Version

Windows Installer 5.0 on Windows Server 2012, Windows 8, 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 or Windows XP.

Header

Msi.h

Unicode and ANSI names

MSIPATCHSEQUENCEINFOW (Unicode) and MSIPATCHSEQUENCEINFOA (ANSI)

See also

MsiDetermineApplicablePatches
MsiDeterminePatchSequence
Not Supported in Windows Installer 2.0 and earlier

 

 

Community Additions

ADD
Show:
© 2014 Microsoft