title: Using C# How to detect if Windows Installer 4.5 is Installed
body: <p>I am trying to figure out the most efficient way to determine if Windows Installer 4.5 is installed on a machine. </p>
  
  <p>I have a 2.0 application (cannot convert at this time to 3.5) and we are upgrading from MSDE to SQL 2008 Express. One of the requirements of 2008 Express is that Windows Installer 4.5 is installed on the machine. This application is deployed globally to machines both on and off of an internal network.</p>
  
  <p>I would prefer to run a batch file or C# code to determine the installer version.</p>
  
  <p>Please let me know your recommended methods and provide some code (or links to code).</p>
  
  <p>Thanks! </p>