title: wix disable directory browse button
body: <p>We have been using the CustomizeDlg from the wix UI extension library for the feature selection dialog box, but a new requirement has come up which states that the browse button should be disabled if the software is being updated.</p>
  
  <p>So I copied the dialog wxs file from the library in order to customize it, changed the code as follows </p>
  
  <pre><code>&lt;Control Id="Tree" Type="SelectionTree" X="25" Y="85" Width="175" Height="115" Property="_BrowseProperty" Sunken="yes" TabSkip="no" Text="!(loc.CustomizeDlgTree)"  /&gt;
      &lt;Control Id="Browse" Type="PushButton" X="294" Y="210" Width="66" Height="17" Text="!(loc.CustomizeDlgBrowse)"&gt;
        &lt;Publish Event="SelectionBrowse" Value="BrowseDlg"&gt;1&lt;/Publish&gt;          
        &lt;Condition Action="hide"&gt;Installed&lt;/Condition&gt;
        &lt;Condition Action="disable"&gt;UPGRADE = 1&lt;/Condition&gt;
      &lt;/Control&gt;
  </code></pre>
  
  <p>problem is that the browse button never gets disabled, can someone point out what i am doing wrong here ?</p>
  
  <p>many thanks</p>