blog
2014-11-19
1 阅读
windows8.1离线安装.net3.5
由于下列原因可能显示这些消息:
- 您的计算机未连接到 Internet。 请连接,然后重试该操作。如果无法连接到 Internet,则可以通过使用部署映像服务和管理 (DISM) 命令行工具并指定从中安装了 Windows 8 的安装媒体(ISO 映像或 DVD),来启用 .NET Framework 3.5。
- Run as administrator).">在 Windows 8 或 Windows Server 2012 中,使用管理凭据打开命令提示符窗口(即选择“以管理员身份运行”)。
- 要从位于 D:sourcessxs 目录中的安装媒体安装 .NET Framework 3.5,请使用以下命令: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:sourcessxs
其中:
- /Online targets the operating system you're running (instead of an offline Windows image).">/Online 面向您正在运行的操作系统(而不是脱机 Windows 映像)。
- /Enable-Feature /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.">/Enable-Feature /FeatureName:NetFx3 指定您需要启用 .NET Framework 3.5。
- /All enables all parent features of the .NET Framework 3.5.">/All 启用 .NET framework 3.5 的所有上级功能。
- /LimitAccess prevents DISM from contacting Windows Update.">/LimitAccess 防止 DISM 与 Windows Update 连接。
- /Source specifies the location of the files needed to restore the feature (in this example, the D:sourcessxs directory).">/Source 指定还原功能需要的文件位置(在本示例中,D:sourcessxs 目录)。
- 正在使用本地源,但网络位置不可访问或不具有适当的内容。 从安装媒体安装 .NET Framework 3.5,如上一个提要点所述。
- 您的管理员已将您的计算机配置为使用 Windows Server Update Services (WSUS) 而非 Windows Update 来提供服务。 请让您的管理员启用策略以使用 Windows Update 而非 WSUS。