CostFinalize Action

Windows Installer

CostFinalize Action

The CostFinalize action ends the internal installation costing process begun by the CostInitialize action.

Sequence Restrictions

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.

ActionData Messages

There are no ActionData messages.

Remarks

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.

Note  During an administrative installation, CostFinalize sets all features for installation except features having 0 authored in the Level column of the Feature table.

See Also

File Costing

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.