Skip to main content
Version: v3

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
NameTypeDescriptionRequired
IdString 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