Deployment Tools Foundation
SummaryInfo Constructor (packagePath, enableWrite)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► SummaryInfo ► SummaryInfo(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 )
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.dll) Version: 3.0.0.0 (3.9.1006.0)