title: Conditionally set single WiX Property to different values
body: <p>I have an installer that deploys a website as either a SSL or non-SSL IIS site depending on whether a property is set or not. I've been asked to add the option to set the port, which isn't a problem, but I'd like to set the port to the default values (80 or 443) if the value isn't set.</p>
  
  <p>I tried something like:</p>
  
  <pre><code>    &lt;SetProperty Id="OUTPORT" Before="InstallFiles" Value="80"&gt;&lt;![CDATA[SSL=0]]&gt;&lt;/SetProperty&gt;
      &lt;SetProperty Id="OUTPORT"  Before="InstallFiles" Value="443"&gt;&lt;![CDATA[SSL=1]]&gt;&lt;/SetProperty&gt;
  </code></pre>
  
  <p>But, obviously, WiX complains about the custom action having the duplicate ID SetOUTPORT.</p>
  
  <p>Am I jumping down another WiX-shaped rabbit hole here?</p>