title: PostGIS - Database installation of functions failed
body: <p>I'm using Windows 7 Home SP1 64bit and trying to install PostGIS 2.0.3 for PostgreSQL x64 9.2. PostgreSQL installation worked fine and I've connected to/modified databases. The same error listed below occur when I try to install the 32bit PostGIS through the application stack builder.</p>
  
  <p>I've tried installing PostGIS through application stack builder 3.1.0 and the windows installer from this <a href="http://download.osgeo.org/postgis/windows/pg92/" rel="nofollow">link</a>. In both cases I get the same error message:</p>
  
  <pre><code>"Database installation of PostGIS functions failed" 
  </code></pre>
  
  <p>the error log states:</p>
  
  <pre><code>"ERROR:  could not load library "C:/Program Files/PostgreSQL/9.2/lib/postgis-2.0.dll": %1 is not a valid Win32 application.".
  </code></pre>
  
  <p>When I go to the directory "C:/Program Files/PostgreSQL/9.2/lib/", I see the file "postgis-2.0.dll" present.</p>
  
  <p>Any ideas for how to proceed? Based on the ticket located <a href="http://trac.osgeo.org/postgis/ticket/1824/" rel="nofollow">here</a>, it looks like it has something to do with the "libxml2.dll" and "libxml2-2.dll" files, but I don't follow the resolution. Should I be copying something from one folder to another?</p>