title: WiX: Is it possible to put components into different files?
body: <p>I have a file Product.wxs which is around 3000 lines. I have split it into different files. But some of these files are also very large and it will be a pain to maintain it. 
  One of the files contains file structure and looks like that: </p>
  
  <pre><code>&lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
      &lt;Component Id="ComponentId" .... &gt;
               ....
      &lt;Component /&gt;
   &lt;Directory /&gt;
  </code></pre>
  
  <p>The component with Id="ComponentId" contains a lot of RegistryValues (600 lines). I would like to put this component and all of the registry values into a separate file and just reference to it. I tried ComponentRef but it doesn't work inside Directory node. 
  Is there a way of doing so?
  Thank you in a advance.</p>