ReinstallFeature Method (product, feature, reinstallModes)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ReinstallFeature Method (product, feature, reinstallModes)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerInstallerReinstallFeature(String, String, ReinstallModes)
Reinstalls a feature.
Declaration Syntax
C# Visual Basic Visual C++ F#
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
)
static member ReinstallFeature : 
        product : string * 
        feature : string * 
        reinstallModes : ReinstallModes -> unit 
Parameters
product (String)
Product code for the product containing the feature to be reinstalled
feature (String)
Feature to be reinstalled
reinstallModes (ReinstallModes)
Reinstall modes
Remarks

Win32 MSI API: MsiReinstallFeature

Exceptions
Exception Condition
InstallCanceledException the user exited the installation

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)