Search code examples
windowsiiswebdeploy

How to install Web Deploy for Hosting Servers on Windows Server 2016


The Web Platform Installer fails to install Web Deploy for Hosting Servers on Windows Server 2016.


Solution

  • To fix this, first install the missing components using Server Manager, Manage, Add Role and Features. I think these are the ones required: Logging Tools, Request Monitor, .Net Extensibility, ASP.Net, ISAPI Extensions, ISAPI Filters, Management Service. I ended up with the following for my needs.

    IIS roles and features

    Next install Web Deploy 3.6 for Hosting Servers using the Web Platform Installer. (If it fails, note which components it depended on, install as above and try again.)

    At this stage if you look for Deploy again in the Platform Installer it won't be installed, even though it says it was successful.

    Go to Control Panel, Add or Remove Programs, find Web Deploy and choose Modify, Next, then Change.

    Set IIS Deployment Handler to Entire feature will be installed, Next etc.

    Web Deploy 3.6 Setup

    The Deploy menu will now appear in IIS Manager (restart it first if you already had it open) and Web Platform Installer will see that it's installed.