title: How do you build conditional logic and user options in WiX?
body: <p>Having been happy with ClickOnce for a long time, I've been thrust into the weird and wacky world of windows installers. It appears to be a world very short on documentation, unless I don't know what I'm searching for.</p>
  
  <p>I'm aware there's lots of options for building an installer, including Visual Studio setup projects and WiX. Given that I'm looking at a fairly complex scenario, I suspect I'll be going with the latter. What I'm struggling with is doing something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/UzVyQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzVyQ.png" alt="enter image description here"></a></p>
  
  <p>Two things to note about this.</p>
  
  <p>First, it already knows what versions of SQL Server I've got installed. Second, the user can select which options to install and which to skip.</p>
  
  <p>I don't know if there's a particular label for these functions that will help me search for them. But I can't find any details on how to start building this sort of logic into an installer, preferably with WiX.</p>
  
  <p>Can anyone get me started?</p>