ReinstallProduct Method (product, reinstallModes)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ReinstallProduct Method (product, reinstallModes)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerReinstallProduct(String, ReinstallModes)
Reinstalls a product.
Declaration Syntax
C# Visual Basic Visual C++
public static void ReinstallProduct(
	string product,
	ReinstallModes reinstallModes
)
Public Shared Sub ReinstallProduct ( 
	product As String,
	reinstallModes As ReinstallModes
)
public:
static void ReinstallProduct(
	String^ product, 
	ReinstallModes reinstallModes
)
Parameters
product (String)
Product code for the product to be reinstalled
reinstallModes (ReinstallModes)
Reinstall modes
Remarks

Win32 MSI API: MsiReinstallProduct

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)