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 |