Deployment Tools Foundation
GetTotalCost Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► GetTotalCost()()()
Gets the total disk space per drive required for the installation.

C# | Visual Basic | Visual C++ |
public IList<InstallCost> GetTotalCost()
Public Function GetTotalCost As IList(Of InstallCost)
public: IList<InstallCost>^ GetTotalCost()

A list of InstallCost structures, specifying the cost for each drive

Win32 MSI API: MsiEnumComponentCosts