ICE45

ICE45 验证数据库中的位字段列是否未将任何保留位设置为 1。

保留位在安装程序的当前版本中不提供任何功能,但在将来的版本中可能会提供此功能。 它们应设置为 0,以便与将来版本的 Windows Installer 兼容。

结果

如果下表中的任何一个表都包含一个位字段,并且保留位设置为 1,则 ICE45 会发布错误消息。

如果 控制表 包含一个位字段,且保留位设置为 1,则 ICE45 会发布以下两条警告消息之一。

ICE45 报告所示示例的以下错误。

Row 'File1' in table 'File' has bits set in the 'Attributes' 
    column that are reserved. They must be 0 to ensure 
    compatibility with future installer versions.

ICE45 报告所示示例的以下警告。

Row 'Dialog1.Edit2' in table 'Control' has bits set in the 'Attribute' 
    column that are reserved. They should be 0 to ensure compatibility 
    with future installer versions.

文件表(部分)

文件 属性
File1 128

 

控制表(部分)

对话 控制 属性
Dialog1 Edit1 2097152
Dialog1 Edit2 1048576

 

ICE 参考