-
先决条件安装
-
Internet Information Services (IIS)
-
Windows Media Format Runtime
-
.NET Framework 3.5
可以使用以下PowerShell脚本安装:
1
|
Add-WindowsFeature NET-Framework-Core, RSAT-ADDS,Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc,Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext,Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor,Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth,Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression,NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools,Web-Mgmt-Compat, Server-Media-Foundation, BITS -Source D:\sources\sxs Web-Asp-Net45,Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Desktop-Experience,Telnet-Client -Source D:\sources\sxs
|
-
Silverlight
下载地址:https://www.microsoft.com/silverlight/
-
参照截图,以管理员身份运行PS
-
输入上面命令,并回车
-
参照截图,选择“添加角色和功能”
-
参照截图,点击“下一步”
-
参照截图,选择“基于角色或基于功能的安装”
-
参照截图,点击“下一步”
-
保持默认,点击“下一步”
-
参照截图,选择对应功能并点击“下一步”
-
输入源文件路径,并点击“安装”
-
安装完成
-
安装对应需要的补丁
本文转自 zyliday 51CTO博客,原文链接:http://blog.51cto.com/itsoul/1970763