ExtractPatchXmlData Method (patchPath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ExtractPatchXmlData Method (patchPath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerExtractPatchXmlData(String)
Extracts information from a patch that can be used to determine whether the patch applies on a target system. The method returns an XML string that can be provided to DetermineApplicablePatches(String, array<String>[]()[][], InapplicablePatchHandler, String, UserContexts) instead of the full patch file.
Declaration Syntax
C# Visual Basic Visual C++
public static string ExtractPatchXmlData(
	string patchPath
)
Public Shared Function ExtractPatchXmlData ( 
	patchPath As String
) As String
public:
static String^ ExtractPatchXmlData(
	String^ patchPath
)
Parameters
patchPath (String)
Full path to the patch being queried.
Return Value
String
XML string containing patch data.
Remarks

Win32 MSI API: MsiExtractPatchXMLData

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)