Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CostFinalize action return value

Status
Not open for further replies.

SurajNair

Programmer
May 30, 2003
10
GB
The CostFinalize standard action will complete the process of determining how much space would be required for the installation. But does the CostFinalize action have a return value? Which property would hold this return value.
 
There are 3 steps to a it
1) Cost Initialize (CI)
2) File Cost (FC)
3) Cost Finalize (CF)

CI starts the costing process which is the method used by Microsoft Windows Installer to determine the disk space required by all the components in an installation. Costing takes into account factors such as whether existing files need to be overwritten.

The FC action is called immediately following the CI action.

The installer then determines the disk-space cost of every file in the File table, on a per-component basis taking both volume clustering and the presence of existing files that may need to be overwritten into account. All actions that consume or release disk space are also considered. If an existing file is found, a file version check is performed to determine whether the new file actually needs to be installed or not

Costing is done for each component in the Component table.

The CF action ends the internal installation costing process begun by the CI action.

Hope That Helps
- AShell


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top