CostFinalize Element

WiX Toolset

CostFinalize Element

Description
Ends the internal installation costing process begun by the CostInitialize action. Any standard or custom actions that affect costing should be sequenced before the CostInitialize action. Call the FileCost action immediately following the CostInitialize action and then call the CostFinalize action to make all final cost calculations available to the installer through the Component table. The CostFinalize action must be executed before starting any user interface sequence which allows the user to view or modify Feature table selections or directories. The CostFinalize action queries the Condition table to determine which features are scheduled to be installed. Costing is done for each component in the Component table. The CostFinalize action also verifies that all the target directories are writable before allowing the installation to continue. The condition for this action may be specified in the element's inner text.
Windows Installer references
CostFinalize Action
Parents
AdminExecuteSequence, AdminUISequence, AdvertiseExecuteSequence, InstallExecuteSequence, InstallUISequence
Inner Text (xs:string)
This element may have inner text.
Children
None
Attributes
Name Type Description Required
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, CostInitialize, FileCost