ReinstallFeature Method (product, feature, reinstallModes)
From Microsoft Deployment Tools
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 |