TargetProductCode Element

Windows Installer XML (WiX) v3.0

TargetProductCode Element

Description
A product code for a product that can accept the patch.
Windows Installer references
None
Parents
PatchCreation, TargetProductCodes
Inner Text
None
Children
None
Attributes
Name Type Description Required
Id String The product code for a product that can accept the patch. This can be '*'. See remarks for more information. Yes
Remarks

When using the PatchCreation element, if the Id attribute value is '*' or this element is not authored, the product codes of all products referenced by the TargetImages element are used.

When using the Patch element, the Id attribute value must not be '*'. Use the TargetProductCodes/@Replace attribute instead.

See Also
Wix Schema