GetPatchFileList Method (productCode, patches)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetPatchFileList Method (productCode, patches)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerGetPatchFileList(String, IList<(Of <<'(String>)>>))
[MSI 4.0] Gets the list of files that can be updated by one or more patches.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static IList<string> GetPatchFileList(
	string productCode,
	IList<string> patches
)
Public Shared Function GetPatchFileList ( 
	productCode As String,
	patches As IList(Of String)
) As IList(Of String)
public:
static IList<String^>^ GetPatchFileList(
	String^ productCode, 
	IList<String^>^ patches
)
static member GetPatchFileList : 
        productCode : string * 
        patches : IList<string> -> IList<string> 
Parameters
productCode (String)
ProductCode (GUID) of the product which is the target of the patches
patches (IList<(Of <(<'String>)>)>)
list of file paths of one or more patches to be analyzed
Return Value
IList<(Of <(<'String>)>)>
List of absolute paths of files that can be updated when the patches are applied on this system.
Remarks

Win32 MSI API: MsiGetPatchFileList

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