WiX Database XML Schema

Element: FindRelatedProducts

Description

Runs through each record of the Upgrade table in sequence and compares the upgrade code, product version, and language in each row to products installed on the system.

Derived By

Type ActionModuleSequenceType

Attributes

Name  Type  Description 
After  string  The name of an action that this action should come after.
Before  string  The name of an action that this action should come before.
Overridable  YesNoType  If "yes", the sequencing of this action may be overridden by sequencing elsewhere.
Sequence  integer  A value used to indicate the position of this action in a sequence.
Suppress  YesNoType  If yes, this action will not occur.

Content Model

Contains text only.

Remarks

When FindRelatedProducts detects a correspondence between the upgrade information and an installed product, it appends the product code to the property specified in the ActionProperty column of the UpgradeTable. The FindRelatedProducts action only runs the first time the product is installed. The FindRelatedProducts action does not run during maintenance mode or uninstallation. FindRelatedProducts should be authored into the InstallUISequence table and InstallExecuteSequence tables. The installer prevents FindRelated Products from running in InstallExecuteSequence if the action has already run in InstallUISequence. The FindRelatedProducts action must come before the MigrateFeatureStates action and the RemoveExistingProducts action. The condition for this action may be specified in the element's inner text.