Deployment Tools Foundation
InstallMissingComponent Method (product, component, installState)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► InstallMissingComponent(String, String, InstallState)
Installs files that are unexpectedly missing.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static void InstallMissingComponent( string product, string component, InstallState installState )
Public Shared Sub InstallMissingComponent ( product As String, component As String, installState As InstallState )
public: static void InstallMissingComponent( String^ product, String^ component, InstallState installState )
static member InstallMissingComponent : product : string * component : string * installState : InstallState -> unit
Parameters
- product (String)
- Product code for the product that owns the component to be installed
- component (String)
- Component to be installed
- installState (InstallState)
- Specifies the way the component should be installed.
Remarks
Win32 MSI API: MsiInstallMissingComponent
Exceptions
Exception | Condition |
---|---|
InstallCanceledException | the user exited the installation |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)