ApplyMultiplePatches Method (patchPackages, productCode, commandLine)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ApplyMultiplePatches Method (patchPackages, productCode, commandLine)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerApplyMultiplePatches(IList<(Of <<'(String>)>>), String, String)
Applies one or more patches to products that are eligible to receive the patch. For each product listed by the patch package as eligible to receive the patch, ApplyPatch invokes an installation and sets the PATCH property to the path of the patch package.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static void ApplyMultiplePatches(
	IList<string> patchPackages,
	string productCode,
	string commandLine
)
Public Shared Sub ApplyMultiplePatches ( 
	patchPackages As IList(Of String),
	productCode As String,
	commandLine As String
)
public:
static void ApplyMultiplePatches(
	IList<String^>^ patchPackages, 
	String^ productCode, 
	String^ commandLine
)
static member ApplyMultiplePatches : 
        patchPackages : IList<string> * 
        productCode : string * 
        commandLine : string -> unit 
Parameters
patchPackages (IList<(Of <(<'String>)>)>)
The set of patch packages to be applied. Each item is the full path to an MSP file.
productCode (String)
Provides the ProductCode of the product being patched. If this parameter is null, the patches are applied to all products that are eligible to receive these patches.
commandLine (String)
optional command line property settings
Remarks

Win32 MSI API: MsiApplyMultiplePatches

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