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++ |
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 )
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.9.1006.0)