title: Is it possible to pass a Wix variable to SuppressOptionsUI?
body: <p>I am trying to get the Options button on the <code>WixStandardBootstrapperApplication</code> to be hidden if the application has already been installed.</p>
  
  <p>I was hoping to be able to pass a variable to <code>SuppressOptionsUI</code>. But it seems the value of <code>SuppressOptionsUI</code> <strong>must</strong> be a literal <code>yes</code> or <code>no</code>.</p>
  
  <p>This was the code I was using.</p>
  
  <pre><code>    &lt;!-- Don't show options button if we have an existing install --&gt;
      &lt;Variable Name="suppressOptions" Type="string" Value="no"/&gt;
      &lt;util:DirectorySearch
          After='PreviousInstallFolderSearch'
          Condition='PreviousInstallFolder'
          Path='[PreviousInstallFolder]'
          Result="exists"
          Variable="suppressOptions"/&gt;
  
      &lt;BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkSidebarLicense"&gt;
          &lt;bal:WixStandardBootstrapperApplication
              ShowVersion="yes"
              LicenseUrl="http://static.my-site.com/EULA.html"
              LogoFile="Installer-Banner.bmp"
              LogoSideFile="Installer-FirstPage.bmp"
              SuppressOptionsUI="[suppressOptions]"
          /&gt;
      &lt;/BootstrapperApplicationRef&gt;
  </code></pre>
  
  <p>So my question is: Is there another way of configuring the <code>WixStandardBootstrapperApplication</code> to allow SuppressOptionsUI to be configurable based upon a variable populated from a registry or directory search?</p>
  
  <p>NB I am using the WixToolset only. No VBA or other MS tools.</p>