Removing EULA from WixUI_FeatureTree
<p>I'm using the <code>WixUI_FeatureTree</code> for an installer, where I'm trying to remove the EULA screen.</p>

<p>To do this I used the following:</p>

<pre><code>&lt;UI&gt;
  &lt;UIRef Id="WixUI_FeatureTree" /&gt;
   &lt;Publish Dialog="WelcomeDlg"
      Control="Next"
      Event="NewDialog"
      Value="CustomizeDlg"&gt;1&lt;/Publish&gt;

    &lt;Publish Dialog="CustomizeDlg"
      Control="Back"
      Event="NewDialog"
      Value="WelcomeDlg"&gt;1&lt;/Publish&gt;
&lt;/UI&gt;
</code></pre>

<p>This successfully removes the EULA when clicking next on <code>WelcomeDlg</code> but clicking back on <code>CustomizeDlg</code> shows the EULA.</p>

<p>When I take a look in Orca I see the following lines in the ControlEvent table:</p>

<p><a href="https://i.stack.imgur.com/7xt7l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7xt7l.png" alt="enter image description here"></a></p>

<p>If I remove the highlighted line the installer works as expected.</p>

<p>How do I use Wix to prevent this occurring?</p>