title: How to use WixToolset DirectorySearch
body: <p>I've been struggling with the DirectorySearch command.
  I want to find the Templates folder that is located under the Microsoft Office folder.
  It can be in either of the following two locations:</p>
  
  <ul>
  <li>Microsoft Office\Templates</li>
  <li>Microsoft Office\Root\Templates</li>
  </ul>
  
  <p>I've tried the following</p>
  
  <pre><code>....
  &lt;Directory Id="MICROSOFTOFFICE" Name="Microsoft Office"&gt;
      &lt;Directory Id="TEMPLATES"/&gt;
  &lt;/Directory&gt;
  
  &lt;Property Id="TEMPLATES"&gt;
    &lt;DirectorySearch Id='MSDir' Path='[MICROSOFTOFFICE]' &gt;
      &lt;DirectorySearch Id='TDir' Depth='3' Path='Templates'/&gt;
    &lt;/DirectorySearch&gt;
  &lt;/Property&gt;
  </code></pre>
  
  <p>What am I doing wrong?
  When I try to view the contents of Templates it says "1: 0 2:"
  Does this mean null?</p>
  
  <pre><code>&lt;Condition Message="[TEMPLATES]"&gt;TEMPLATES&lt;/Condition&gt;
  </code></pre>