大网数据广告活动
安装更新与部署

ICE61

· 52CE 我爱测

ICE61 validates the Upgrade table of a Windows Installer database.

ICE61 checks the upgrade table to ensure that the following conditions are true:

  • All ActionProperty properties are not pre-authored in the Property table.
  • All ActionProperty properties are Public Properties.
  • All ActionProperty properties are included in the SecureCustomProperties property.
  • All ActionProperty properties are unique to each record in the Upgrade table.
  • All VersionMax values are not less than the corresponding VersionMin values.
  • VersionMin and VersionMax values are valid product versions. See the ProductVersion property for the valid product version format.
  • No attempt is made to remove a newer or equal version of the current product.

Failure to fix a warning or error reported by ICE61 generally leads to problems in upgrading your application. Depending on the exact error, this could be anything from leaving files from the older version behind, deleting files from the older version even though they are needed by the new application, or complete failure of the upgrade.

Result

ICE61 posts a warning or error if any of the above conditions are not true.

Example

ICE61 reports the following errors and warning for the examples shown.

This product should remove only older versions of itself. The Maximum version is not less than the current product. (2.01.0000 2.01.0000)

In this case, the first row would try to remove a product of the same version. (VersionMax column is equal to the product version in the Property table).

To fix this error, use a version in the VersionMax column lower than the current version specified in the Property table. Remove the msidbUpgradeAttributesVersionMaxInclusive bit from the Attributes column if the VersionMax is equal to the current version. If the intent is only to detect the product and not remove it, adding the msidbUpgradeAttributesOnlyDetect bit to the Attributes column will also fix this error.

Upgrade.ActionProperty EnglishAPPFOUND must be added to the SecureCustomProperties property.

Unless the property is listed in the SecureCustomProperties property, the property is not passed to the server side of the install when the property is found.

To fix this error, add the property to SecureCustomProperties.

Upgrade.ActionProperty EnglishAPPFOUND must not contain lowercase letters.

Upgrade properties must be public properties for the result to be passed to the server side of the installation.

To fix this error, use all uppercase letters in the property name.

Upgrade.ActionProperty OLDAPPFOUND may be used in only one record of the Upgrade table.

A property can only be used in one row of the Upgrade table.

To fix this error, use a different property for the second row.

Upgrade.VersionMax cannot be less than Upgrade.VersionMin. (OLDAPPFOUND)

The minimum version must be less than the maximum version.

To fix this error, check your version numbers for typos. If they are correct and you want to use the range between the two versions, switch them so that VersionMin is less than VersionMax.

Property Table

Property Value
UpgradeCode {61AA4C55-E17F-11D2-93BB-0060089A76DB}
ProductVersion 2.01.0000
SecureCustomProperties OLDAPPFOUND

Upgrade Table

UpgradeCode VersionMin VersionMax Language Attributes Remove ActionProperty
{61AA4C55-E17F-11D2-93BB-0060089A76DB} 2.01.0000 513 OLDAPPFOUND
{61AA4C55-E17F-11D2-93BB-0060089A76DB} 2.01.0001 2.01.0000 OLDAPPFOUND
{C6CB4596-D8E8-D5A4-635F-9FE456D682EB} 1.00.0000 2.00.0000 1033 [AppFeatureEnglish] EnglishAPPFOUND

Related topics

ICE Reference

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。