由于条件导致 WiX 构建失败

Failing WiX build due to condition

由于以下情况,我的构建失败了:

..wxs(138) : error LGHT0204 : ICE03: Bad conditional string; Table: Condition, Column: Condition, Key(s):

<Feature .....>
   <MergeRef Id="Feature" Primary="yes"/>
   <Condition Level="0">((PROP1="prop1") OR (PROP2="prop2") OR (PROP3="prop3") OR (PROP4="prop4" AND OR PROP5=""))</Condition>
</Feature>

条件有错吗? 还有其他方法可以指定此条件吗?

我以前从未见过 AND OR 在条件中使用过。删除 OR 使其编译。如果没有更多信息,很难说出您要在此处实现的目标。