 <p>The problem is that I had another <code>&lt;UI&gt;</code> element later in <code>Product.wxs</code> that I did not remember about.</p> <p>Removing this second <code>&lt;UI&gt;</code> block solved the problem.</p>