如何抑制合并模块中的 ICE 错误 [英] How do I suppress ICE errors from merge modules

查看:20
本文介绍了如何抑制合并模块中的 ICE 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 WiX 3.5 构建了一个安装程序.安装程序使用 VB6 合并模块.我总是收到很多类似这样的错误消息:

I build an installer using WiX 3.5. The installer utilizes VB6 merge modules. I always get a lot of error messages from light similar to this:

error LGHT0204: ICE03: Table: Class Column: CLSID Missing specifications in _Validation Table (or Old Database)

所以,VB6 显然是旧的,我应该假设它是一个旧数据库.这就是为什么我想忽略错误消息的原因,因为我必须小心来自 WiX 源的错误.

So, VB6 is obviously old and I should assume it's an Old Database. That's why I want to ignore the error messsage since I must be careful with the errors from my WiX source.

当我将 -sw03 传递给蜡烛和点燃时,错误消息不会被抑制.我也不希望抑制由其他模块引起的错误.如何摆脱旧合并模块的问题?

When I pass -sw03 to candle and light the error messages are NOT suppressed. I also don't want suppress errors caused by other modules. How do I get rid off the problems with the old merge modules?

推荐答案

ICE 针对最终的 .msi 包运行;一旦链接了合并模块,ICE 代码就无法知道哪些表中的哪些行来自哪些合并模块.您可以为 WiX 提交功能请求以支持在合并模块之前运行验证链接,但这不会让您验证其他合并模块.恐怕没有好的解决方案.

The ICEs run against the final .msi package; once merge modules are linked in, the ICE code has no way of knowing which rows in which tables came from which merge modules. You can file a feature request for WiX to support running validation before merge modules are linked in, but that wouldn't let you validate other merge modules. No good solution, I'm afraid.

这篇关于如何抑制合并模块中的 ICE 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆