top of page

From P to P

公開·21 位會員
Lloyd Phillips
Lloyd Phillips

Learn How to Install, Configure, and Use winsetup-release-web-deploy-msi-19 in Minutes



What is winsetup-release-web-deploy-msi-19?




If you are looking for a way to deploy your web applications to IIS servers easily and efficiently, you might have come across a file name called winsetup-release-web-deploy-msi-19. What is this file and what does it do?




winsetup-release-web-deploy-msi-19



Winsetup-release-web-deploy-msi-19 is a version of Web Deploy, a tool that simplifies the migration, management, and deployment of web applications, sites, and servers. Web Deploy can be used to sync web applications across multiple servers, migrate web applications from IIS 6.0 or later to IIS 8.0 or later, create packages of web applications that can be deployed on any IIS server, backup and restore web applications, and more.


Web Deploy works by using a client-server model. The client can be Visual Studio, a command-line tool (msdeploy.exe), or a web management service (WMSVC) that runs on the server. The client sends requests to the server, and the server performs the requested operations using providers. Providers are components that perform specific tasks, such as creating or deleting applications, copying files, setting permissions, etc. Web Deploy supports many built-in providers, and you can also create your own custom providers.


Web Deploy can be installed by using the Web Platform Installer or the Web Deploy MSI. The Web Platform Installer is a tool that helps you download, install, and configure the latest components of the Microsoft Web Platform, including Web Deploy. The Web Deploy MSI is a standalone installer that you can download and run on your machine.


In this article, we will show you how to install, configure, and use winsetup-release-web-deploy-msi-19 to deploy your web applications to IIS servers. We will also cover some common issues that you might encounter and how to troubleshoot them.


How to install winsetup-release-web-deploy-msi-19?




There are two ways to install winsetup-release-web-deploy-msi-19: using the Web Platform Installer or using the Web Deploy MSI. Both methods require administrator privileges on the machine where you want to install Web Deploy.


Using the Web Platform Installer




The Web Platform Installer is the recommended way to install Web Deploy, as it ensures that you have the latest version and all the dependencies. You can install Web Deploy as part of the Recommended Server Configuration for Web Hosting Providers or separately.


To install Web Deploy as part of the Recommended Server Configuration for Web Hosting Providers, follow these steps:


  • Download and run the Web Platform Installer.



  • On the main screen, click Products, then click Hosting.



  • Select Recommended Server Configuration for Web Hosting Providers, then click Add.



  • Click Install, then follow the instructions to complete the installation.



This will install Web Deploy along with other components such as IIS, ASP.NET, PHP, MySQL, etc.


To install Web Deploy separately, follow these steps:


  • Download and run the Web Platform Installer.



  • On the main screen, click Products, then click Tools.



  • Select Web Deploy 3.6, then click Add.



  • Click Install, then follow the instructions to complete the installation.



This will install only Web Deploy and its dependencies.


Using the Web Deploy MSI




The Web Deploy MSI is a standalone installer that you can download and run on your machine. You can use this method if you prefer not to use the Web Platform Installer or if you want to install a specific version of Web Deploy.


To install Web Deploy using the MSI, follow these steps:


  • Download the winsetup-release-web-deploy-msi-19 file from Microsoft Download Center.



  • Double-click the file to launch the installer.



  • On the welcome screen, click Next.



  • On the license agreement screen, read the terms and conditions, then select I accept, then click Next.



  • On the custom setup screen, choose which features you want to install, then click Next.



  • On the ready to install screen, click Install, then wait for the installation to finish.



  • On the completed screen, click Finish.



This will install Web Deploy and its dependencies on your machine.


How to configure winsetup-release-web-deploy-msi-19?




After installing winsetup-release-web-deploy-msi-19, you need to configure it for your web deployment scenarios. There are two types of deployment scenarios: administrator deployment and non-administrator deployment. Administrator deployment requires that you have administrator privileges on both the source and destination servers. Non-administrator deployment allows you to deploy web applications without having administrator privileges on either server.


Configuring a site for administrator deployment




To configure a site for administrator deployment, you need to enable remote connections and set permissions for administrators on both the source and destination servers. To do this, follow these steps:


  • On the source server, open IIS Manager and select the site that you want to deploy.



  • In the Actions pane, click Deploy, then click Configure Web Deploy Publishing.



  • In the Configure Web Deploy Publishing dialog box, select Allow administrators to bypass rules and deploy from any computer, then click Setup.



  • Enter your administrator credentials, then click OK.



  • A file named sitename.publishsettings will be generated and downloaded to your machine. This file contains the connection information and credentials for deploying to the site.



  • On the destination server, open IIS Manager and select the site that you want to deploy to.



  • In the Actions pane, click Deploy, then click Configure Web Deploy Publishing.



  • In the Configure Web Deploy Publishing dialog box, select Allow administrators to bypass rules and deploy from any computer, then click Setup.



  • Enter your administrator credentials, then click OK.



  • A file named sitename.publishsettings will be generated and downloaded to your machine. This file contains the connection information and credentials for deploying from the site.



You have now configured your site for administrator deployment. You can use the .publishsettings files to publish your web applications using Visual Studio or command-line tools.


Configuring a site for non-administrator deployment




To configure a site for non-administrator deployment, you need to enable remote connections and set permissions for non-administrators on both the source and destination servers. To do this, follow these steps:


  • On the source server, open IIS Manager and select the site that you want to deploy.



  • In the Actions pane, click Deploy, then click Configure Web Deploy Publishing.



  • In the Configure Web Deploy Publishing dialog box, select Create new user account for publishing access only, then enter a user name and password for the account. This account will be used for deploying web applications without having administrator privileges.



  • Select the permissions that you want to grant to the account, such as read/write access, database access, etc., then click Setup.



  • A file named sitename.publishsettings will be generated and downloaded to your machine. This file contains the connection information and credentials for deploying to the site.



  • On the destination server, open IIS Manager and select the site that you want to deploy to.



  • In the Actions pane, click Deploy, then click Configure Web Deploy Publishing.



  • In the Configure Web Deploy Publishing dialog box, select Create new user account for publishing access only, then enter a user name and password for the account. This account will be used for deploying web applications without having administrator privileges.



  • Select the permissions that you want to grant to the account, such as read/write access, database access, etc., then click Setup.



  • A file named sitename.publishsettings will be generated and downloaded to your machine. This file contains the connection information and credentials for deploying from the site.



You have now configured your site for non-administrator deployment. You can use the .publishsettings files to publish your web applications using Visual Studio or command-line tools.


How to use winsetup-release-web-deploy-msi-19?




To use winsetup-release-web-deploy-msi-19, you need to have a source site and a destination site that are configured for web deployment. You also need to have a web application that you want to deploy. You can use either Visual Studio or command-line tools to perform web deployment tasks.


Using Visual Studio




If you are using Visual Studio as your development environment, you can publish your web applications using Web Deploy with a few clicks. To do this, follow these steps:


  • In Visual Studio, open your web application project.



  • In Solution Explorer, right-click on your project name, then click Publish....



  • In the Publish dialog box, select Import Profile, then browse to the .publishsettings file that you downloaded from the source or destination site.



  • Click Next, then review the publish settings. You can modify the settings if needed, such as changing the database connection strings, enabling precompilation, etc.



  • Click Publish, then wait for Visual Studio to publish your web application to the destination site.



You have now published your web application using Web Deploy and Visual Studio. You can verify the deployment by browsing to the destination site URL.


Using command-line tools




If you prefer to use command-line tools for web deployment, you can use msdeploy.exe and appcmd.exe. Msdeploy.exe is the main tool for performing web deployment tasks, such as syncing, migrating, packaging, restoring, etc. Appcmd.exe is a tool for managing IIS configuration settings, such as creating or deleting sites, applications, app pools, etc.


To use msdeploy.exe and appcmd.exe, you need to open a command prompt window with administrator privileges on the machine where you want to run the commands. You also need to have the .publishsettings files that you downloaded from the source and destination sites.


Here are some examples of how to use msdeploy.exe and appcmd.exe for web deployment tasks:


  • To sync a web application from a source site to a destination site, run this command:



msdeploy -verb:sync -source:contentPath="Default Web Site\MyApp",computerName="sourceSiteUrl",userName="sourceUserName",password="sourcePassword" -dest:contentPath="Default Web Site\MyApp",computerName="destinationSiteUrl",userName="destinationUserName",password="destinationPassword"


  • To migrate a web application from IIS 6.0 or later to IIS 8.0 or later, run this command:



msdeploy -verb:migrate -source:metakey=lm/w3svc/1 -dest:metakey=lm/w3svc/1,computerName="destinationSiteUrl",userName="destinationUserName",password="destinationPassword"


  • To create a package of a web application that can be deployed on any IIS server, run this command:



msdeploy -verb:sync -source:contentPath="Default Web Site\MyApp" -dest:package="MyApp.zip"


  • To deploy a package of a web application on a destination site, run this command:



msdeploy -verb:sync -source:package="MyApp.zip" -dest:contentPath="Default Web Site\MyApp",computerName="destinationSiteUrl",userName="destinationUserName",password="destinationPassword"


  • To backup a web application on a source site, run this command:



msdeploy -verb:sync -source:contentPath="Default Web Site\MyApp" -dest:backup


  • To restore a web application on a destination site from a backup, run this command:



msdeploy -verb:sync -source:backup -dest:contentPath="Default Web Site\MyApp",computerName="destinationSiteUrl",userName="destinationUserName",password="destinationPassword"


  • To create a new site on IIS using appcmd.exe, run this command:



appcmd add site /name:"New Site" /bindings:http://*:80 /physicalPath:"C:\inetpub\wwwroot\NewSite"


  • To delete an existing site on IIS using appcmd.exe, run this command:



appcmd delete site "Old Site"


How to troubleshoot winsetup-release-web-deploy-msi-19?




Sometimes, you might encounter some issues when installing, configuring, or using winsetup-release-web-deploy-msi-19. Here are some common issues and how to troubleshoot them.


Common installation issues




If you have problems installing winsetup-release-web-deploy-msi-19, you might see one of these error messages:



Error messageSolution


The file 'ManifestTool.exe' is not marked for installation.This error occurs when you try to install Web Deploy on a machine that already has a previous version of Web Deploy installed. To fix this error, you need to uninstall the previous version of Web Deploy before installing the new one. To do this, follow these steps:


  • Open Control Panel and click Programs and Features.



  • Find and select Microsoft Web Deploy or Microsoft Web Deploy 2.0, then click Uninstall.



  • Follow the instructions to complete the uninstallation.



  • Restart your machine.



  • Try to install winsetup-release-web-deploy-msi-19 again.



The feature you are trying to use is on a network resource that is unavailable.This error occurs when you try to install Web Deploy on a machine that does not have access to the network location where the installer file is located. To fix this error, you need to copy the installer file to a local drive on your machine before running it. To do this, follow these steps:


  • Copy the winsetup-release-web-deploy-msi-19 file from the network location to a local drive on your machine.



  • Double-click the file to launch the installer.



  • Follow the instructions to complete the installation.



Common configuration issues




If you have problems configuring winsetup-release-web-deploy-msi-19, you might see one of these error messages:



Error messageSolution


Could not connect to the destination computer ("destinationSiteUrl"). On the destination computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started.This error occurs when you try to deploy a web application to a destination site that does not have Web Deploy installed or enabled. To fix this error, you need to install and enable Web Deploy on the destination site. To do this, follow these steps:


  • On the destination server, install winsetup-release-web-deploy-msi-19 using one of the methods described above.



  • On the destination server, open IIS Manager and select the server node in the tree view.



  • In the Features View, double-click Management Service.



  • In the Management Service page, check Enable remote connections, then click Apply.



  • In the Actions pane, click Start, then wait for the service to start.



  • Try to deploy your web application again.



The remote server returned an error: (401) Unauthorized.This error occurs when you try to deploy a web application to a destination site that does not have the correct permissions for your user account. To fix this error, you need to configure the permissions for your user account on the destination site. To do this, follow these steps:


  • On the destination server, open IIS Manager and select the site that you want to deploy to.



  • In the Features View, double-click IIS Manager Permissions.



  • In the IIS Manager Permissions page, click Add User....



  • In the Add User dialog box, enter your user name and password, then click OK.



  • In the IIS Manager Permissions page, select your user name, then click Edit Permissions....



  • In the Edit Permissions dialog box, check the permissions that you want to grant to your user account, such as read/write access, database access, etc., then click OK.



  • Try to deploy your web application again.



Common usage issues




If you have problems using winsetup-release-web-deploy-msi-19, you might see one of these error messages:



Error messageSolution


Web deployment task failed. (Could not connect to the remote computer ("destinationSiteUrl"). Make sure that the remote computer name is correct and that you are able to connect to that computer.)This error occurs when you try to deploy a web application to a destination site that is not reachable from your machine. To fix this error, you need to check the network connectivity and firewall settings between your machine and the destination site. To do this, follow these steps:


  • On your machine, open a command prompt window and run this command:



ping destinationSiteUrl


  • If you get a response, it means that the destination site is reachable from your machine. If you get a timeout or an error, it means that the destination site is not reachable from your machine.



  • If the destination site is not reachable, check your network settings and make sure that you have a valid IP address, gateway, DNS, etc.



  • If the network settings are correct, check your firewall settings and make sure that they allow outbound traffic to the destination site on port 8172 (the default port for Web Deploy).



  • Try to deploy your web application again.



Web deployment task failed. (Could not verify the server certificate. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond destinationSiteUrl:8172)This error occurs when you try to deploy a web application to a destination site that uses SSL for Web Deploy.


關於

Think tank for dissolvable PP bag evolution.
bottom of page