title: Wix Toolset - Is there a way to set a property based on RadioButtonGroup value within the control?
body: <p>What I'd like to do is to set, or alternatively unset, a property (CREATE_USER) based on a selected RadioButton within a RadioButtonGroup control.  Is this possible?</p>
  
  <p>Note: The example below does NOT work for me.</p>
  
  <pre><code># Placed under Fragment tag
  &lt;Property Id="SQL_USER_TYPE" Value="ExistingSqlUser" /&gt;
  
  # Placed under Dialog tag
  &lt;Control Id="SqlUserType" Type="RadioButtonGroup" X="40" Y="134" Width="210" Height="15" Property="SQL_USER_TYPE"&gt;
      &lt;RadioButtonGroup Property="SQL_USER_TYPE"&gt;
          &lt;RadioButton Value="NewSqlUser" X="90" Y="0" Width="80" Height="15" Text="!(loc.TenantDBConnectDlg_CreateNewUser)" /&gt;
          &lt;RadioButton Value="ExistingSqlUser" X="0" Y="0" Width="80" Height="15" Text="!(loc.TenantDBConnectDlg_UseExistingUser)" /&gt;
      &lt;/RadioButtonGroup&gt;
      &lt;Publish Property="CREATE_USER" Value="1"&gt;SQL_USER_TYPE = "NewSqlUser"&lt;/Publish&gt;
      &lt;Publish Property="CREATE_USER" Value="{}"&gt;SQL_USER_TYPE = "ExistingSqlUser"&lt;/Publish&gt;
  &lt;/Control&gt;
  </code></pre>