Deployment Tools Foundation
RequestState Property
Gets or sets the action state of the designated Component.

C# | Visual Basic | Visual C++ |
public InstallState RequestState { get; set; }
Public Property RequestState As InstallState
public: property InstallState RequestState { InstallState get (); void set (InstallState value); }

Win32 MSI APIs: MsiGetComponentState, MsiSetComponentState

Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentException | an unknown Component was requested |
InstallCanceledException | the user exited the installation |