

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

C# | Visual Basic | Visual C++ |
public static void ReinstallFeature( string product, string feature, ReinstallModes reinstallModes )
Public Shared Sub ReinstallFeature ( product As String, feature As String, reinstallModes As ReinstallModes )
public: static void ReinstallFeature( String^ product, String^ feature, ReinstallModes reinstallModes )

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

Win32 MSI API: MsiReinstallFeature

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)