FindRelatedProducts Element

WiX Toolset

FindRelatedProducts Element

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. 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 FindRelatedProducts 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.
Windows Installer references
FindRelatedProducts Action
Parents
InstallExecuteSequence, InstallUISequence
Inner Text (xs:string)
Text node specifies the condition of the action.
Children
None
Attributes
Name Type Description Required
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.  
See Also
Wix Schema, Upgrade