title: Why does my WIX installer not copy the richtx32.ocx to system32 dir?
body: <p>My WIX (3.5) installer should copy the richtx32.ocx file to the windows\system32 dir and register it by using some command line statements but it does not work.
  The file is not copied to the folder.</p>
  
  <pre><code>&lt;Directory Id="SystemFolder"&gt;
     &lt;Component Id="ComponentName" Guid="someGUID"&gt;
        &lt;File Source="someSourceFolder\richtx32.ocx" /&gt;
     &lt;/Component&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>The problem occurs on XP and also on 7 and yes, I have started the MSI as admin user. In case the file is copied to another directory (eg. the program files directory of my application), everything works fine. </p>
  
  <p>The error occurs only with the system32 dir. I also tried it with another .ocx file to see wether the problems lies within the file itself, but it seems as if I cannot copy any file to the folder.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>If I add a "test.txt" file to the component (which btw. has some more files then only the richtx32.ocx) it suddenly works! But why does the installer only copy all files if there is a different file like .ocx or .dll?? I don't want to copy a dummy text file just to let it work... There must be a reason.</p>