Deployment Tools Foundation
CreateTransformSummaryInfo Method (referenceDatabase, transformFile, errors, validations)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► CreateTransformSummaryInfo(Database, String, TransformErrors, TransformValidations)
Creates and populates the summary information stream of an existing transform file, and
fills in the properties with the base and reference ProductCode and ProductVersion.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void CreateTransformSummaryInfo( Database referenceDatabase, string transformFile, TransformErrors errors, TransformValidations validations )
Public Sub CreateTransformSummaryInfo ( referenceDatabase As Database, transformFile As String, errors As TransformErrors, validations As TransformValidations )
public: void CreateTransformSummaryInfo( Database^ referenceDatabase, String^ transformFile, TransformErrors errors, TransformValidations validations )
member CreateTransformSummaryInfo : referenceDatabase : Database * transformFile : string * errors : TransformErrors * validations : TransformValidations -> unit
Parameters
- referenceDatabase (Database)
- Database that does not include the changes
- transformFile (String)
- Name of the generated transform file
- errors (TransformErrors)
- Error conditions that should be suppressed when the transform is applied
- validations (TransformValidations)
- Defines which properties should be validated to verify that this transform can be applied to a database.
Remarks
Win32 MSI API: MsiCreateTransformSummaryInfo
Exceptions
Exception | Condition |
---|---|
InstallerException | the transform summary info could not be
generated |
InvalidHandleException | a Database handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)