Share via


Dependencies (Standard 8)

7/8/2014

Review module dependencies, and dependency groups in Windows Embedded 8 Standard (Standard 8).

Dependencies and dependency groups both describe a type of relationship between modules and groups of modules.

Dependencies

A dependency is a requirement of one module upon another module. Dependencies can require the inclusion or exclusion of other modules. This allows a module to be as small as possible while ensuring that it has all of the resources it needs to run correctly. A dependency can be expressed upon a single module or upon a group of modules known as a dependency group.

Dependencies are required and must be resolved before the module with the requirement can correctly function.

Dependency Groups

A dependency group is a set of modules upon which any module can specify a dependency. This allows for flexible, indirect relationships between modules and for more complex inclusion requirements.

A dependency group exists as an independent object. Dependency groups are used to ensure mutual-exclusion of modules as well as the exclusion of certain combinations of modules. They allow modules to be included or excluded en masse.

When a module expresses a dependency on a group, the dependency states the number of modules that it requires from that group. This number is referred to as the dependency type.

The following table shows the different dependency types.

Dependency Type

Result

Requires exactly one module from the group

One and only one module from the group must be in the configuration.

Requires at least one module from the group

At least one module from the group must be in the configuration.

Requires all modules from the group

All the modules from the group must be in the configuration.

Conflicts with all modules from the group

None of the modules from the group are allowed in the configuration.

Can take advantage of zero or more modules from the group

Zero or more modules from the group can be in the configuration

See Also

Tasks

Resolve Dependencies in a Configuration File in Image Configuration Editor

Reference

Modules