ExtractPatchXmlData Method (patchPath)

DTF API

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++ F#
public static string ExtractPatchXmlData(
	string patchPath
)
Public Shared Function ExtractPatchXmlData ( 
	patchPath As String
) As String
public:
static String^ ExtractPatchXmlData(
	String^ patchPath
)
static member ExtractPatchXmlData : 
        patchPath : string -> string 
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.11.1.2318)