title: How to create a directory in Wix on D:
body: <p>Using WiX 3.7, I have figured out how to create a folder in the root. This</p>
  
  <pre class="lang-xml prettyprint-override"><code>  &lt;Directory Id="ReceivedFilesDir" Name="ReceivedFiles"&gt;
      &lt;Component Id="ReceivedFilesComponent" Guid="84A264EF-2BC5-41e3-8124-2CA10C2805DB"&gt;
        &lt;CreateFolder Directory="ReceivedFilesDir"&gt;
          &lt;Permission User="Administrators" GenericAll="yes" /&gt;
        &lt;/CreateFolder&gt;
      &lt;/Component&gt;
    &lt;/Directory&gt;
  </code></pre>
  
  <p>creates a folder <code>C:\ReceivedFiles</code></p>
  
  <p>I want it to be at <code>D:\ReceivedFiles</code> instead.</p>
  
  <p>How do I achieve that?</p>
  
  <p>I have played around with the <code>DiskId</code> attribute, but it did not seem to do anything.</p>
  
  <p>Also, I don't want to change the whole installation folder, the ordinary part of the installation will still be below <code>C:\Program Files (x86)</code>. I just want to create additional folders on <code>D:</code>.</p>