How do I suppress ICE errors from merge modules

瘦欲@ 提交于 2019-11-27 07:43:29

问题


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)

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.

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?


回答1:


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.




回答2:


I too had same problem but then found pretty simple solution. Just suppress the ICE validations from the WIX project as shown below Go to tools settings property and check "Suppress ICE Validations" box



来源:https://stackoverflow.com/questions/7055476/how-do-i-suppress-ice-errors-from-merge-modules

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!