title: Register add-ins, project templates and item templates for Visual Studio 11
body: <p>I've been using Wix 3.5 with WixVSExtension to install project item templates for Visual Studio 2010, Visual C# 2010 Express and Visual Web Developer 2010 Express. I'd like now to add support for Visual Studio 11 Beta.</p>
  
  <p>I added registry search and custom actions to find the VS11 installation folders but, when specifying directory and components structure, I'm getting compilation errors like this one:</p>
  
  <p>error LGHT0204: ICE30: The target file 'ewa5nwrn.zip|BasicApplication.zip' is installed in '[TARGETDIR]\CSharp\' by two different components on an LFN system: 'VS2010CSharpProjectTemplates' and 'VS11CSharpProjectTemplates'. This breaks component reference counting.</p>
  
  <p>I have this directory structure:</p>
  
  <pre><code>&lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
    &lt;Directory Id="VS2010_PROJECTTEMPLATES_DIR"&gt;
      &lt;Directory Id="VS2010_PROJECTTEMPLATES_CSHARP_DIR" Name="CSharp"&gt;
      &lt;/Directory&gt;
    &lt;/Directory&gt;
    &lt;Directory Id="VS11_PROJECTTEMPLATES_DIR"&gt;
      &lt;Directory Id="VS11_PROJECTTEMPLATES_CSHARP_DIR" Name="CSharp"&gt;
      &lt;/Directory&gt;
    &lt;/Directory&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Notice that I have VS2010_PROJECTTEMPLATES_DIR and VS11_PROJECTTEMPLATES_DIR inside TARGETDIR. The error message shows that they are ignored.</p>
  
  <p>The components are defined as follow:</p>
  
  <pre><code>&lt;DirectoryRef Id="VS2010_PROJECTTEMPLATES_CSHARP_DIR"&gt;
    &lt;Component Id="VS2010CSharpProjectTemplates" Guid="{0976A222-8243-40F2-81AB-84D8F1771840}" Transitive="yes"&gt;
      &lt;File Id="VS2010BasicApplication" Source="BasicApplication.zip" /&gt;
    &lt;/Component&gt;
  &lt;/DirectoryRef&gt;
  
  &lt;DirectoryRef Id="VS11_PROJECTTEMPLATES_CSHARP_DIR"&gt;
    &lt;Component Id="VS11CSharpProjectTemplates" Guid="{A70428F1-AE26-4B07-9F58-D67587B44657}" Transitive="yes"&gt;
      &lt;File Id="VS11BasicApplication" Source="BasicApplication.zip" /&gt;
    &lt;/Component&gt;
  &lt;/DirectoryRef&gt;
  </code></pre>
  
  <p>Is it possible to install the same file into two different directories specified by properties?</p>
  
  <p>Thanks in advance,
  aalmada</p>