Secret ingredients to quality software
You should create a Deployment Batch file and SetParameters file for each Environment.
Figure: Good Example - The batch file specifies the target Server, the ProjectName name to deploy, and the configuration file to use. You can also optionally supply additional parameters.
Download a sample Deploy.bat file here as a .txt file
Figure: Good Example - The SetParameters file specifies MS Deploy parameterisation values. Most important is the target “IIS Web Application Name” on the target serverSee Vishal’s blog for more details.