title: Read EXE, MSI, and ZIP file metadata in Python in Linux
body: <p>I am writing a Python script to index a large set of Windows installers into a DB.</p>
  <p>I would like top know how to read the metadata information (Company, Product Name, Version, etc) from EXE, MSI and ZIP files using Python running on Linux.</p>
  <h2>Software</h2>
  <p>I am using Python 2.6.5 on Ubuntu 10.04 64-bit with Django 1.2.1.</p>
  <h2>Found so far:</h2>
  <p>Windows command line utilities that can extract EXE metadata (like filever from SysUtils), or other individual CL utils that only work in Windows.  I've tried running these through Wine but they have problems and it hasn't been worth the work to go and find the libs and frameworks that those CL utils depend on and try installing them in Wine/Crossover.</p>
  <p>Win32 modules for Python that can do some things but won't run in Linux (right?)</p>
  <h2>Secondary question:</h2>
  <p>Obviously changing the file's metadata would change the MD5 hashsum of the file.  Is there a general method of hashing a file independent of the metadata besides locating it and reading it in (ex: like skipping the first 1024 byes?)</p>