title: Wix CheckBox checked condition
body: <p>I like to show a checkbox in dialog which is unchecked if the DWORD registry value is 0 or checked otherwise.</p>
  
  <p>I understood the checkbox check/uncheck if the property exist or not. Is there a way to change it work with value or conditionally set or remove the property.</p>
  
  <p>Checkbox is always checked as it found value in registry 0 or nonZero and set the property and this is I tried so far -</p>
  
  <pre><code>&lt;Property Id="SOUNDSERVER"&gt;
    &lt;RegistrySearch Id="SoundServer"
    Root="HKLM"
    Key="[APPLICATIONHIVE]"
    Name="SoundServer"
    Type="raw"
    Win64="yes" /&gt;
  &lt;/Property&gt;
  
  &lt;SetProperty Id="WIXUI_SOUNDSERVER" After="AppSearch" Value="[SOUNDSERVER]" /&gt;
  &lt;SetProperty Id="WIXUI_SOUNDSERVERADDR" After="AppSearch" Value="[ACTANTSOUNDSERVERADDR]" /&gt;
  
  &lt;Control Id="SoundServerCheck" Type="CheckBox" X="20" Y="148" Width="80" Height="10" Property="WIXUI_SOUNDSERVER" CheckBoxValue="#1" Text="Sound Server"&gt;
  &lt;/Control&gt;
  </code></pre>