by Tali Smith
IntroductionThe Microsoft® Web Deployment Tool simplifies the migration, management, and deployment of Internet Information Services (IIS) Web servers, Web applications, and Web sites. Administrators can use command-line scripting with the Web Deployment Tool to synchronize IIS 6.0 and IIS 7 and above servers or to migrate an IIS 6.0 server to IIS 7 or above. The Web Deployment Tool also makes it possible for administrators and delegated users to use IIS Manager to deploy Microsoft® ASP.NET and PHP applications to an IIS 7 and above servers.
With the Web Deployment Tool, you can:
The Web Deployment Tool is a managed code framework that includes the public application programming interfaces (APIs) and underlying engine. (This is the top-level node and cannot be removed.)
Before you install the Web Deployment Tool, decide whether you want to use the remote service to perform live operations between two servers or if you prefer to use the offline mode.
Note that you only need the remote service installed on either the source or the destination. For example, to "push" all content from a server to a client, you can install the remote service on all client computers so that the content can be pushed from the source. Alternatively, you could have each client "pull" from the server and only install the remote service on the source.
To install the tool using the default remote service URLDownload the Web Deployment Tool.
Run the Windows®Installer file to install the tool.
Select a Custom installation.
Click on the remote service node to install the remote service.
Complete the installation.
Manually start the service by running the following command:
net start msdepsvc
Ensure that port 80 is open in the firewall.
Download the Web Deployment Tool.
Open an administrative command prompt on Windows Server® 2008, or a command prompt on Windows Server® 2003.
Go to the directory where the setup file is located.
Run the following command (customize the port and URL specifications):
msiexec /i <msi_filename> /passive ADDLOCAL=ALL LISTENURL=http://+:8080/MSDEPLOY2/
Manually start the service by running the following command:
net start msdepsvc
Ensure that the port you have chosen is open in the firewall.
The tool will be installed to %programfiles%\IIS\Microsoft Web Deploy. This cannot be changed.
Starting the remote service after installationThe remote service listens on http://+/msdeployagentservice/ by default or at the URL that you specified if you performed a custom installation.
You should now start the remote service. You can do this by going to Start > Run, and then typing services.msc. The service is listed as the Microsoft Web Deployment Agent Service.
The service startup is Manual by default; you can set the startup to Automatic in Services.msc. You can also use the command-line tool Sc.exe, to set the startup to Automatic.
A Knowledge Base article provides more information about Sc.exe.
The Web Deployment Tool can be used to deploy new applications to a Web farm or to keep changes synchronized between the Web farm servers. The Web Deployment Tool does not currently support a central UI or configuration store for a list of servers in a farm (for example, syncing multiple machines at once), but you can simply store this list of servers and perform synchronization operations against each server. These synchronization operations can easily be scheduled using Microsoft® System Center or another scheduling mechanism. Resources that can be synchronized include Web sites or applications, content folders and files, databases, registry keys, and assemblies in the GAC, among others. You can also build custom "providers" that understand other types of resources that are not supported. For more information, see Using the Web Deployment Tool for Web Farms.
For information about packaging and deploying applications with the Web Deployment Tool, see the following articles.
You can use the Web deployment Tool to migrate:
For instructions, see Migrate from IIS 6.0 to IIS 7 and Above.
Synchronize Web ServersYou can use the Web Deployment Tool to synchronize a Web site from a source to a destination on IIS 6.0, or IIS 7 or above. You can do this by "pushing" data to a remote destination or by "pulling" data from a remote source. You can also use a package (compressed file) to avoid installing the remote service. For more information, see the following articles:
The following information is an extensive list of the features of the Web Deployment Tool:
Seamless integration with IIS Manager and Visual Studio 2010 interface for creating packages and deploying them onto a machine, both locally and remotely.
Web application packaging:
Web application deployment:
Web server migration and synchronization:
In addition to using IIS Manager and Visual Studio 10, tasks can be performed using the command-line, Windows PowerShell⢠cmdlets, or public APIs.
Note
This article is based on material from: " Installing the Web Deployment Tool" by Faith Allington, published on September 1, 2009.
Links for Further InformationRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4