CreateTransformSummaryInfo Method

[This is preliminary documentation and subject to change.]

This is the CreateTransformSummaryInfo method of the MsiDatabase object. This method creates and populates the summary information stream of an existing transform file. This method fills in the properties with the base and reference ProductCode and ProductVersion properties.

Syntax

object.CreateTransformSummaryInfo reference, storage, long errorConditions, long validation

Parts

object
Database that includes the changes.
reference
Required database that does not include the changes.
storage
Required MsiDatabase object where the transform is to be stored.
errorConditions
Required error conditions that should be suppressed when the transform is applied. Choose either iteNone — none of the following conditions — or combine one or more of the following:
iteAddExistingRow Adding a row that already exists.
IteDelNonExistingRow Deleting a row that doesn't exist.
IteAddExistingTable Adding a table that already exists.
IteDelNonExistingTable Deleting a table that doesn't exist.
IteUpdNonExistingRow Updating a row that doesn't exist

validation
Required when the transform is applied to a database; shows which properties should be validated to verify that this transform can be applied to the database. The properties are all contained in the Summary Information Stream Property Set.

Choose either itvNone — validate no properties — or combine one or more of the following:
itvLanguage Default language must match base database.
ItvProduct Product must match base database.
ItvPlatform Platform must match base database.

To validate product version, first choose one or more of these three flags to indicate how much of the version is to be verified.
itvMajVer Check major version only.
ItvMinVer Check major and minor version only.
ItvUpdVer Check major, minor, and update versions.

Then choose one of the following to indicate the required relationship between the product version of the database the transform is being applied to and that of the base database.
itvLess Applied db version < base db version
itvLessOrEqual Applied db version <= base db version
itvEqual Applied db version = base db version
itvGreaterOrEqual Applied db version >= base db version
itvGreater Applied db version > base db version