title: how to handle temporary files/folders of VS setup project?
body: <p>Still learning create MSI installer with VS 2008 for our C# application. We have some batch files to create database and tables, after installation we want to delete it because there are sensitive information on them (username, password, ...). My questions are like those:</p>
  
  <ol>
  <li>where should I put those temporary folders/files? (doesn't matter?)</li>
  <li>how to delete them after installation? or how to call batch file from installer? I was able to add a custome action to modify app.config file but call batch file should be a different way. (simpler than having a installer class?)</li>
  <li>how to guarantee those files will be deleted even something wrong during the installation?</li>
  </ol>
  
  <p>thanks,</p>