title: How do I install an ODBC driver using C# during my apllication setup?
body: <p>I am making an application using c#.net. The application relies on a PostgrSQL ODBC driver and therefore has to check if the driver has already been installed on the user’s computer. If not the ODBC driver has to be installed during my applications own installation process. The DSN also has to be configured during the setup. </p>
  
  <p>My question is therefore, is there a way to first check for a driver during setup and, if it’s not there, can the setup be set to automatically install a driver and configure the DSN? </p>
  
  <p>I’m using Microsoft Visual Studio 2010 but I can’t see how to include another setup in the publishing wizard. I am also struggling to find any useful information on Google or stackoverflow.</p>
  
  <p>Regards
  Peter</p>