SummaryInfo Constructor (packagePath, enableWrite)

Microsoft Deployment Tools

Deployment Tools Foundation SummaryInfo Constructor (packagePath, enableWrite)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSummaryInfoSummaryInfo(String, Boolean)
Gets a SummaryInfo object that can be used to examine, update, and add properties to the summary information stream of a package or transform.
Declaration Syntax
C# Visual Basic Visual C++
public SummaryInfo(
	string packagePath,
	bool enableWrite
)
Public Sub New ( _
	packagePath As String, _
	enableWrite As Boolean _
)
public:
SummaryInfo(
	String^ packagePath, 
	bool enableWrite
)
Parameters
packagePath (String)
Path to the package (database) or transform
enableWrite (Boolean)
True to reserve resources for writing summary information properties.
Remarks

The SummaryInfo object should be Close()()()d after use. It is best that the handle be closed manually as soon as it is no longer needed, as leaving lots of unused handles open can degrade performance.

Win32 MSI API: MsiGetSummaryInformation

Exceptions
Exception Condition
FileNotFoundException the package does not exist or could not be read
InstallerException the package is an invalid format

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)