Skip to content

WindowsFeatureSearch element (Util extension)

Detects the existence of a Windows feature.

Attributes

After

string

Id of the search that this one should come after.

Condition

string

Condition for evaluating the search. If this evaluates to false, the search is not executed at all.

Feature

required

The feature to detect. This attribute’s value must be one of the following:

  • sha2CodeSigning: The oldest OS with this feature is Win7 SP1 with KB3033929.

Id

string

Id of the search for ordering and dependency.

Variable

string required

Name of the variable in which to place the result of the search.

Parents