![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public SummaryInfo( string packagePath, bool enableWrite )
Public Sub New ( packagePath As String, enableWrite As Boolean )
public: SummaryInfo( String^ packagePath, bool enableWrite )
new : packagePath : string * enableWrite : bool -> SummaryInfo
![](collapse_all.gif)
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
![](collapse_all.gif)
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.11.1.2318)