Trying to use EnsureTable in Wix to fix Validation Errors

后端 未结 1 535
轮回少年
轮回少年 2021-01-14 06:05

I hit numerous errors in Wix 3.0 when I tried to use the msvbvm60.msm merge module:

C:\\[...]: error LGHT0204 : ICE03: Table: Registry Column: R         


        
相关标签:
1条回答
  • 2021-01-14 06:55

    EnsureTable/@Id should refer to the table you want to have pulled in. In your case, you need:

    <EnsureTable Id="Registry"/>
    <EnsureTable Id="Extension"/>
    <EnsureTable Id="MIME"/>
    

    and so on. What this does is ensure the WiX toolset pulls in its definition of the tables with the appropriate _Validation table entries before the Merge Module brings in its table definitions without the _Validation table entries.

    PS: The root cause is that the Merge Module you are consuming is not built to spec. You might notify the people you acquired the Merge Module from that they are producing busted stuff (yes, I appreciate this is probably Microsoft).

    0 讨论(0)
提交回复
热议问题