title: WIX ComponentGroup subdirectories
body: <p>I would like to install my application into the following directory structure:</p>
  
  <pre><code>MyCompany/
      MyApp/
          assembly1.dll
          assembly2.dll
          assembly3.dll
          ...
          plugins/
              plugin1.dll
              plugin2.dll
  </code></pre>
  
  <p>For this, I defined the following folders:</p>
  
  <pre><code>&lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
      &lt;Directory Id="ProgramFilesFolder"&gt;
          &lt;Directory Id="CompanyFolder" Name="MyCompanyName"&gt;
              &lt;Directory Id="INSTALLFOLDER" Name="MyProduct"&gt;
                  &lt;Directory Id="PLUGINS" Name="plugins"&gt;
                      &lt;Directory Id="DATABASE_PLUGINS" Name="db" /&gt;
                  &lt;/Directory&gt;
              &lt;/Directory&gt;
          &lt;/Directory&gt;
      &lt;/Directory&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Now I have defined 1 feature with a reference to a component group. This component group has a property "Directory" pointing to "INSTALLFOLDER". But when I now declare a component in the component group that has also a "Directory"-property (pointing to DATABASE_PLUGINS), VS won't let me build the setup.</p>
  
  <pre><code>&lt;ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"&gt;
      &lt;Component Id="DB.Connector.Extension.Plugins.SqlCe" Directory="DATABASE_PLUGINS" Guid="{ae87be28-b0c9-4b3e-915f-2b4bf9965c99}"&gt;
          &lt;File Source="$(var.DB.Connector.Extension.Plugins.SqlCe.TargetDir)DB.Connector.Extension.Plugins.SqlCe.dll" KeyPath="yes" /&gt;
      &lt;/Component&gt;
  &lt;/ComponentGroup&gt;
  </code></pre>
  
  <p>How can I achieve that the setup creates a subdirectory inside my main install directory and puts declared files into it?</p>