RequestState Property

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation RequestState Property
Gets or sets the action state of the feature.
Declaration Syntax
C# Visual Basic Visual C++
public InstallState RequestState { get; set; }
Public Property RequestState As InstallState
	Get
	Set
public:
property InstallState RequestState {
	InstallState get ();
	void set (InstallState value);
}
Property Value
Remarks

When changing the feature action, the action state of all the Components linked to the changed Feature records are also updated appropriately, based on the new feature Select state. All Features can be configured at once by specifying the keyword ALL instead of a specific feature name.

Win32 MSI APIs: MsiGetFeatureState, MsiSetFeatureState

Exceptions
Exception Condition
InvalidHandleException the Session handle is invalid
ArgumentException an unknown feature was requested

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