InapplicablePatchHandler Delegate
Receives an exception from «see M:WixToolset.Dtf.WindowsInstaller.Installer.DetermineApplicablePatches(System.String,System.String[],WixToolset.Dtf.WindowsInstaller.InapplicablePatchHandler,System.String,WixToolset.Dtf.WindowsInstaller.UserContexts)» indicating the reason a particular patch is not applicable to a product.
Invoke(patch, exception) Method
Receives an exception from «see M:WixToolset.Dtf.WindowsInstaller.Installer.DetermineApplicablePatches(System.String,System.String[],WixToolset.Dtf.WindowsInstaller.InapplicablePatchHandler,System.String,WixToolset.Dtf.WindowsInstaller.UserContexts)» indicating the reason a particular patch is not applicable to a product.
Declaration
public void Invoke(
string patch,
Exception exception
)
Parameters
Parameter | Type | Description |
---|---|---|
patch | string | MSP file path, XML file path, or XML blob that was passed to |
exception | Exception | exception indicating the reason the patch is not applicable |
Remarks
If exception is an «see T:WixToolset.Dtf.WindowsInstaller.InstallerException» or subclass, then its «see P:WixToolset.Dtf.WindowsInstaller.InstallerException.ErrorCode» and «see P:WixToolset.Dtf.WindowsInstaller.InstallerException.Message» properties will indicate a more specific reason the patch was not applicable. The exception could also be a FileNotFoundException if the patch string was a file path.
Remarks
If exception is an «see T:WixToolset.Dtf.WindowsInstaller.InstallerException» or subclass, then its «see P:WixToolset.Dtf.WindowsInstaller.InstallerException.ErrorCode» and «see P:WixToolset.Dtf.WindowsInstaller.InstallerException.Message» properties will indicate a more specific reason the patch was not applicable. The exception could also be a FileNotFoundException if the patch string was a file path.
WixToolset.Dtf.WindowsInstaller.dll
version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78