FeatureInstallation Class
Represents an instance of a feature of an installed product.
Properties
Section titled “Properties”| Property | Description |
|---|---|
| FeatureName | Gets the name of the feature. |
| Parent | Gets the parent of the feature, or null if the feature has no parent (it is a root feature). |
| State | Gets the installed state of the feature. |
| Usage | Gets the usage metrics for the feature. |
WixToolset.Dtf.WindowsInstaller.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
FeatureName Property
Section titled “FeatureName Property”Gets the name of the feature.
Declaration
Section titled “Declaration”public string FeatureName { get; set; }Parent Property
Section titled “Parent Property”Gets the parent of the feature, or null if the feature has no parent (it is a root feature).
Declaration
Section titled “Declaration”public FeatureInstallation Parent { get; set; }Remarks
Section titled “Remarks”Invocation of this property may be slightly costly for products with many features, because it involves an enumeration of all the features in the product.
State Property
Section titled “State Property”Gets the installed state of the feature.
Declaration
Section titled “Declaration”public InstallState State { get; set; }Remarks
Section titled “Remarks”Win32 MSI API: MsiQueryFeatureState
Usage Property
Section titled “Usage Property”Gets the usage metrics for the feature.
Declaration
Section titled “Declaration”public FeatureInstallation+UsageData Usage { get; set; }Remarks
Section titled “Remarks”If no usage metrics are recorded, the «see P:WixToolset.Dtf.WindowsInstaller.FeatureInstallation.UsageData.UseCount» value is 0. Win32 MSI API: MsiGetFeatureUsage