Skip to main content

RequiresRef element

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

Parents

Provides

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.

Attributes

Enforce (wxs:YesNoTypeUnion, from extension namespace http://wixtoolset.org/schemas/v4/wxs/dependency) : 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.

See also

Requires

Edit the schema for this page