8

I'm trying to install WebDeploy (for publishing IIS sites from remote Visual Studio) on a new Windows Server 2022 machine.

We used to use the Web Platform Installer to install WebDeploy, however this tool has been retired as of December 31, 2022.

I've found an .msi installer for Web Deploy version 4.0, however when running the installer I am told there is a newer version installed already. I don't believe this is the case - I can't find any sign of it being installed.

web deploy installer message

I guess what I am asking is: what is the current preferred way to install Web Deploy?

Thanks for any suggestions.

1
  • Web Deploy 4 is installed/managed as part of the Visual Studio 20nn installation since 2017.
    – Greg Askew
    Apr 12, 2023 at 21:48

1 Answer 1

12

I had the same trouble installing this on Windows Server 2022 because there is no WebPlatform Installer anymore. This is how I managed to do it:

  • First make sure that you have "Management Service" installed.
  • Restart Server to make sure changes are applied
  • Then install WebDeploy from the official website.
  • After that just restart the IIS and that should be it.

Adding Roles and Features Installed Management Service

Installed WebDeploy UI is visible in IIS Installed WebDeploy UI

2
  • 1
    Ty gtu. I had Web Deploy installed prior to seeing this. After adding the Management Service and rebooting, I still didn't see the deploy option. Running the webdeploy msi file again gave me a repair option. Running the repair and restarting the IIS Manager gave me the deploy button.
    – flashsplat
    Oct 12, 2023 at 2:39
  • 1
    Important note: When installing WebDeploy, you must choose Complete installation. Without this, deployment from Visual Studio will not work. serverfault.com/questions/613634/…
    – Karel Kral
    Nov 23, 2023 at 10:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .