ReinstallProduct Method (product, reinstallModes)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)