Skip to main content

RequiresRef element

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




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.


Enforce (wxs:YesNoTypeUnion, from extension namespace : 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


Edit the schema for this page