

Deployment Tools Foundation
ReinstallProduct Method (product, reinstallModes)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► ReinstallProduct(String, ReinstallModes)
Reinstalls a product.

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 )

- product (String)
- Product code for the product to be reinstalled
- reinstallModes (ReinstallModes)
- Reinstall modes

Win32 MSI API: MsiReinstallProduct

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)