![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
InstallMissingFile Method (product, file)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► InstallMissingFile(String, String)
Installs files that are unexpectedly missing.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public static void InstallMissingFile( string product, string file )
Public Shared Sub InstallMissingFile ( product As String, file As String )
public: static void InstallMissingFile( String^ product, String^ file )
static member InstallMissingFile : product : string * file : string -> unit
![](collapse_all.gif)
Win32 MSI API: MsiInstallMissingFile
![](collapse_all.gif)
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)