MSI Factory 2.3

MSI.GetActiveDatabase

MSI.GetActiveDatabase

This is the first topic This is the last topic  

MSI.GetActiveDatabase

This is the first topic This is the last topic  

OverviewExamples

number MSI.GetActiveDatabase (

number hInstall )

Example 1

-- Get the summary handle

SummaryHandle = MSI.GetSummaryInformation(MSI.GetActiveDatabase(_hInstall), "0", 10);

 

-- Get the Author

tblProperty = MSI.SummaryInfoGetProperty(SummaryHandle, PID_AUTHOR);

 

-- Set the value from a table value to a dedicated variable

local strAuthor = tblProperty.Value;

Gets the author from the Summary table and sets it to a variable called "strAuthor."

See also: Related Actions


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