title: Run custom script before MSI installation/uninstallation in VS2010
body: <p>I'm writing an MSI installer using Visual Studio 2010 and I was wondering if such is possible?</p>
  
  <ol>
  <li><p>Run a custom script -- I basically need to run an exe process and wait for it to finish running -- BEFORE files are copied into the destination folder during installation.</p></li>
  <li><p>Run a custom script -- again I need to run an exe process and wait for it to finish running -- BEFORE target files are uninstalled.</p></li>
  </ol>
  
  <p>PS. I'm using C# for development.</p>