MSI Factory 2.3

MSI.EnumComponentCosts

MSI.EnumComponentCosts

This is the first topic This is the last topic  

MSI.EnumComponentCosts

This is the first topic This is the last topic  

OverviewExamples

table MSI.EnumComponentCosts (

number hInstall,

string Component,

number DriveIndex,

number InstallState )

Example 1

tbComponentCost = MSI.EnumComponentCosts(_hInstall, "MyComponent.avi", 0, INSTALLSTATE_LOCAL);

 

if (tbComponentCost) then

   strMessage = "Drive: "..tbComponentCost.Drive.."\r\nCost: "..tbComponentCost.Cost.."\r\nTempCost: "..tbComponentCost.TempCost;

   Dialog.Message("Component Cost", strMessage);

end

Enumerates the disk space required for the component named "MyComponent.avi" and shows the results in a dialog message.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us