views:

243

answers:

2

I have an installer that deploys web services to IIS. After this has finshed a custom action fires that updates the database with the scripts required by the webservices. The scripts are currently deploying to IIS aswell because they are part of the .net project. How can I configure the installation process so the scripts arn't part of the project and get un-packed from the MSI so my custom action can access them?

A: 
CheGueVerra
+1  A: 

If you are using the standard Visual Studio setup projects do this:

  1. Add your scripts as files to your setup project
  2. Right-click on the files
  3. Select "Properties"
  4. Change the "PackageAs" property to "vsdpaLoose"

Your files will now be output alongside your MSI so will be available at any time.

Aydsman