C# Class WixSharp.UI.Forms.FeatureItem

Equivalent of Microsoft.Deployment.WindowsInstaller.FeatureInfo which is read-only and doesn't work anyway (at least in WiX v3.9)
Show file Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
Attributes FeatureAttributes
CurrentState InstallState
Description string
Name string
Parent FeatureItem
ParentName string
RequestedState InstallState
Title string
View object

Public Methods

Method Description
FeatureItem ( ) : System.Collections.Generic

Initializes a new instance of the FeatureItem class.

FeatureItem ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : System.Collections.Generic

Initializes a new instance of the FeatureItem class.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
DetectFeatureState ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : InstallState

Detects the state of the feature.

Method Details

FeatureItem() public method

Initializes a new instance of the FeatureItem class.
public FeatureItem ( ) : System.Collections.Generic
return System.Collections.Generic

FeatureItem() public method

Initializes a new instance of the FeatureItem class.
public FeatureItem ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : System.Collections.Generic
session Microsoft.Deployment.WindowsInstaller.Session The session.
name string The name.
return System.Collections.Generic

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

Property Details

Attributes public property

The defines how the feature should be displayed in the feature tree.
public FeatureAttributes Attributes
return FeatureAttributes

CurrentState public property

The current state. Defines the InstallState of the feature before the MSI execution.
public InstallState CurrentState
return InstallState

Description public property

The description of the Feature
public string Description
return string

Name public property

The name of the Feature
public string Name
return string

Parent public property

The parent FeatureItem
public FeatureItem,WixSharp.UI.Forms Parent
return FeatureItem

ParentName public property

The name of the parent Feature
public string ParentName
return string

RequestedState public property

The requested state. Defines the InstallState of the feature to be achieved as the result of the MSI execution.
public InstallState RequestedState
return InstallState

Title public property

The title of the Feature
public string Title
return string

View public property

The view of the Feature. Typically a TreeNode
public object View
return object