title: How do I create a custom dialog in WiX for user input?
body: <p>I'm using WiX to create an installer for a windows service. It's desirable that the name of service that gets installed and displayed in Services is configurable at install time. </p>
  
  <p>For example, this is what I'm thinking (wix xml snip):</p>
  
  <pre><code>&lt;ServiceInstall 
      Id="MyServiceInstaller" 
      Name="NAME_PASSED_FROM_DIALOG" 
      Type="ownProcess" 
      Start="auto" 
      ErrorControl="normal" 
      Description="My Service" 
      Account="localsystem"/&gt; 
  
  &lt;ServiceControl
      Id="StartMyServiceInstaller" 
      Name="NAME_PASSED_FROM_DIALOG" 
      Start="install"
      Wait="no" /&gt;
  
  &lt;ServiceControl
      Id="StopMyServiceInstaller" 
      Name="NAME_PASSED_FROM_DIALOG" 
      Remove="uninstall"
      Stop="both"
      Wait="yes" /&gt;
  </code></pre>
  
  <p>NAME_PASSED_FROM_DIALOG is something I would like to hook up to a custom dialog that gets created and gets displayed to the person installing the service so they can set/modify the service name. I think this is very similar to the WIXUI_INSTALLDIR property that gets set and passed to the WixUI_InstallDir Dialog Set. </p>
  
  <p>My question is:</p>
  
  <p>How do I create a custom UI dialog that can accept user input which gets passed into runtime of the installer?</p>