The Upgrade table contains information that’s used
when an Installer database is used to make a major upgrade to an existing
product. This table contains following columns:
UpgradeCode:
The UpgradeCode property in this column specifies the
upgrade code of all products that are to be detected by the FindRelatedProducts
action. Unlike the
ProductCode, different products may share the same UpgradeCode.
VersionMin:
This
column specifies the minimum version to be upgraded. Lower boundary of the range of product versions
detected by FindRelatedProducts. A null value means there is no lower bound on the version to
be upgraded.
VersionMax:
This
column specifies the maximum version to be upgraded. Upper boundary of the range of product versions detected
by the FindRelatedProducts action. A null value means there is no upper bound on the version to
be upgraded.
Language:
This column contains the set of languages detected by FindRelatedProducts that are to be upgraded and are separated
by semicolons. A null value means that any language can be upgraded.
Attributes:
This column can contain any
combination of the bit flags as shown in below tables:
Bit
flag ( decimal)
|
Attribute
|
1
|
To enable the MigrateFeatureStates
action
|
2
|
To detect but not change previous
versions
|
4
|
To install the new version even if
the old version can’t be removed
|
256
|
To include VersionMin in the
versions upgraded
|
512
|
To include VersionMax in the
version to be upgraded
|
1024
|
To upgrade all languages except
those listed in the Language column
|
Remove:
This
column contains a comma-delimited set of names of existing features to be
removed.
ActionProperty:
When
the FindRelatedProducts action detects a related product installed on the
system, it appends the product code to the property specified in this field.
The property specified in this column must be a public property and the package
author must add the property to the SecureCustomProperties property.
Each row in the Upgrade table must have a unique ActionProperty value. After
FindRelatedProducts, the value of this property is a list product codes,
separated by semicolons (;), detected on the system.
No comments:
Post a Comment