1
votes

I have a web application. I need to setup the web application in one click installation.

For example

  • Automatically Get the source from SVN or TFS
  • Automatically Publish the files
  • Automatically create IIS Virtual directory
  • Automatically deploy the files
  • Automatically create the databases

I have tried "Setup and Deployment Project" which will come along with visual studio. But it only installs the files and place the bin folder into program files. I need to know can i do all the above listed functionalities through the "Setup and Deployment Project"

I know about the installshield. But its a paid version installer, I need a alternate free installer for this process. Please someone suggest me some other open source installers.

1
Please take some learning about teamcity and ruby installer :)Ramesh Rajendran
I need a free version or open sourceNiventh

1 Answers

0
votes

We use WebDeploy/MSDeploy and TFS builds for one click deployments.

You can use the following MSBuild arguments in the TFS build to deploy the build after it is built successfully:

  • /p:DeployOnBuild=True
  • /p:DeployTarget=MsDeployPublish
  • /p:MSDeployPublishMethod=RemoteAgent
  • /p:MsDeployServiceUrl=[IP of target server]
  • /p:DeployIisAppPath="[Website name in IIS]"
  • /p:IncludeIisSettingsOnPublish=true
  • /p:UserName=
  • /p:Password=

WebDeploy can be configured to deploy your web application and databases.

enter image description here