What's the preferred way to set up Web Deploy to publish to IIS, now that Web Platform Installer has been retired?

Bobby Henderson 5 Reputation points
2023-04-12T13:57:09.0133333+00:00

I'm setting up a new Windows Server 2022 machine with IIS. I'd like to publish to IIS from a remote Visual Studio development machine. With past servers I've used Web Deploy. However I am stumped as how to install Web Deploy on a new server now that Web Platform Installer has been retired. I found msi's for Web Deploy versions 3.6 and 4.0, but both installers fail with a message that a newer version of Web Deploy is installed. I don't believe that it is. I was unable to force either msi to install /(or uninstall) with msiexec. Web Management service is installed and running, but I can not find any signs of Web Deploy, and I can see that Web Deployment Agent Service is not installed or running. So I am wondering what is the preferred way to install Web Deploy - or more broadly, what is the preferred way to publish asp.net framework sites from Visual Studio to IIS? Surely there is a way, but I am yet to find documentation about this with current information. Thanks for any help.

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-04-13T06:01:32.3333333+00:00

    Hi @Bobby Henderson,

    I found msi's for Web Deploy versions 3.6 and 4.0, but both installers fail with a message that a newer version of Web Deploy is installed.

    Web Deploy 4 is provided as part of Visual Studio, it conflicts with the installation of Web Deploy 3.6, which means you need to uninstall the existing one before installing the another. Based on your description, you can check if it shows in windows Apps & Features, like this: User's image

    I ran into the same error message as you, because I originally had Web Deploy 4 installed, I uninstalled it in this setting, and finished installing version 3.6. You can have a try and check if it works for you.

    Best regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.