InstallMissingFile Method (product, file)

DTF API

Copy image CopyHover image
Deployment Tools Foundation InstallMissingFile Method (product, file)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerInstallMissingFile(String, String)
Installs files that are unexpectedly missing.
Declaration Syntax
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 
Parameters
product (String)
Product code for the product that owns the file to be installed
file (String)
File to be installed
Remarks

Win32 MSI API: MsiInstallMissingFile

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)