Skip to content

RequiresRef element

References existing authoring for a dependency on a provider for the current component or package.

Attributes

Enforce, from extension namespace http://wixtoolset.org/schemas/v4/wxs/dependency

wxs:YesNoTypeUnion

When set to “yes”, adds a custom action to prompt the user when dependencies are missing from the computer. The default is “no”.

Id

string required

The identifier of the Requires element to reference.

Parents

Remarks

This element references a dependency on any product that uses the Provides element. If that product is uninstalled before a product that requires it, the uninstall will err or warn the user that other products are installed which depend on that product. This behavior can be modified by changing the attribute values on the Requires element.

See also

Requires