How best to install MVC 3 on a server?

后端 未结 4 906
借酒劲吻你
借酒劲吻你 2020-12-29 04:28

Now that MVC 3 Tools Update has been released, that\'s all I see on the Web Platform Installer -- I no longer see MVC 3? Is this because the Tools Update is essentially MVC

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-29 04:49

    You could also use Web Platform Installer from the command line:

    webpicmd /install /Products:MVC3Runtime /log:webpi.log /accepteula /SuppressReboot
    

    If your servers don't have internet access, you can use the offline flag from a machine which does have access to download a copy of the required install files.

    So your flow would be as follows:

    Prepare Cached Version of Installers

    webpicmd /Offline /Products:MVC3Runtime /log:webpi.log /Path:"%~dp0wbpiCache"
    

    Install from cache (copy folder structure to target machine)

    webpicmd /install /Products:MVC3Runtime /log:webpi.log /accepteula /SuppressReboot /XML:"%~dp0wbpiCache"
    

提交回复
热议问题