4

I need to install Web Deploy 3.6 for Hosting Servers. Normally you would use the Web Platform Installer, but I need to deploy this using PowerShell. I have found the download for Web Deploy 3.6 and can use PowerShell to install the .MSI of that, but that is different that Web Deploy 3.6 for Hosting Servers.

Does anyone know where I can download Web Deploy 3.6 for Hosting Servers or know how to use PowerShell to install via the Web Platform Installer?

Kode
  • 3,073
  • 18
  • 74
  • 140
  • This question appears to be off-topic because it is not within the bounds of discussion as described in the help center. –  Jan 16 '18 at 19:41
  • How is it off topic. It directly correlates to using PowerShell to install Web Deploy for Hosting Servers – Kode Jan 16 '18 at 19:44

1 Answers1

2

I have located the answer. The Web Platform Installer has an API so you can call the .exe with PowerShell akin to this:

& "C:\Program Files\Microsoft\Web Platform Installer\WebPICMD.exe" /List /ListOption:Available

There are install options as noted here: https://learn.microsoft.com/en-us/iis/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release

Kode
  • 3,073
  • 18
  • 74
  • 140
  • 1
    This is deprecated and not usable anymore https://learn.microsoft.com/en-us/answers/questions/429383/web-platform-installer-end-of-support-and-sunsetti – finder2 May 08 '23 at 12:07