Install the WebDeploy Remote Agent Service in Windows 10 with VS2017

I recently repaved my machine with Windows 10 and a fresh copy of VS2017 only.  I have been using it for several weeks now and it is working very well. In testing some deployments I noticed that I didn’t have the WebDeploy Remote Agent Service running locally.  So I tried to reinstall WebDeploy from a web download and received the following error:

A newer version of the Microsoft Web Deploy 3.6 was found on this machine.

A newer version of the Microsoft Web Deploy 3.6 was found on this machine.

Sure enough the Web Platform Installer agrees its already installed:

image

So I opened Program & Features to change the current installation:

image

image

The default install with VS2017 does not install the Remote Service by default.  So we just need to install those and we will be good to go:

image

Not so fast, you still have to provide the installation media:

The feature you are trying to use is on a network resource that is unavailable.

The feature you are trying to use is on a network resource that is unavailable.

Since WebDeploy was installed as part of VS2017 I had to get the VS2017 offline install media:

https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio

image

After a lengthy download of the offline files, I found the msi in the following subfolder of the offline files:

\Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26208.0,chip=x64\webdeploy_x64.msi

Providing this file to the installer allowed it to complete and now I have the Web Deployment Agent Service running on Windows 10 with Visual Studio 2017.

image

Hope this helps others.

Leave a Reply