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++ |
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 )
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 |