title: What files (PIA) are required for MS Word integration
body: <p>I am adding MS Word in my C# application as below:</p>
  
  <pre><code>Object oMissing = System.Reflection.Missing.Value;
  Microsoft.Office.Interop.Word.Application appWord = 
       new Microsoft.Office.Interop.Word.Application();
  Document wordDocument = appWord.Documents.Open(docFile, oMissing, false, 
       oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, oMissing, 
       oMissing, oMissing, oMissing, oMissing, oMissing, oMissing);
  </code></pre>
  
  <p>Can you tell me what files to export along with the compiled exe, assuming that the client has .NET 2.0 and MS Word installed and not Visual Studio?</p>
  
  <p>I reference this file: </p>
  
  <blockquote>
    <p>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Visual Studio
    Tools for Office\PIA\Office14\Microsoft.Office.Interop.Word.dll</p>
  </blockquote>
  
  <p>But what if client has Office 13 or 12 or any lower version? Will lower version of MS Word work with this dll and exe? If not then how do I check before calling its code so that the exe does not crash because of any un-managed exception?</p>