

Deployment Tools Foundation
Features Property
Gets the set of published features for the product.

C# | Visual Basic | Visual C++ |
public IEnumerable<FeatureInstallation> Features { get; }
Public ReadOnly Property Features As IEnumerable(Of FeatureInstallation) Get
public: property IEnumerable<FeatureInstallation^>^ Features { IEnumerable<FeatureInstallation^>^ get (); }


Because features are not ordered, any new feature has an arbitrary index, meaning this property can return features in any order.
Win32 MSI API: MsiEnumFeatures

Exception | Condition |
---|---|
InstallerException | The installer configuration data is corrupt |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)