title: Integrating Wix with MSBuild
body: <p>we are looking to automate an MSI generation for a product we are developing.  Currently we have MSBuild building out the source to a network location, this is fine for testing but when it comes to releasing the software we will need to wrap it in an MSI.</p>
  
  <p>The software is all .Net bar 1 COM component that will need registered on each machine it gets installed to.</p>
  
  <p>What I was wondering was how to integrate Wix with MSBuild so that a new wix script will get generated along with an MSI that is able to handle fresh and upgrade installs.</p>
  
  <p>Any help with this is very much appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>Brendan</p>