win8 無法安裝 net framework3.5 問題的解決辦法
通過CMD 打指令
dism.exe /online /enable-feature /featurename:NetFX3 /Source:G:\sources\sxs
都OK了
注意G:\sources\sxs中的 G為window8安裝的ISO裝載到虛擬盤符,
這個必須用ISO檔案裡的東西,也就是必須用鏡像,刻盤的不可以,隨身碟的不可以,不知道為什麼,我也這樣了,後來換成鏡像沒事了 關於window8 x86下的framework3.5 無法安裝說明:
根據官方網站說明:
dism.exe /online /enable-feature /featurename:NetFX3 /Source:J:\sources\sxs
若直接拷貝檔案J:\sources\sxs到指定目錄是不可以啟動並執行會出現如下報錯:
部署映像服務與管理工具版本: 6.2.8250.0
映像版本: 6.2.8250.0
啟用一個或多個功能[===========================65.8%====== ]
錯誤: 14028
組件的檔案跟組件清單中的驗證資訊不匹配。
實際官網說明:http://msdn.microsoft.com/library/hh506443(v=VS.110).aspx
In Windows 8 or Windows Server 2012, open a Command Prompt window with administrative credentials (that is, choose Run as administrator).
To install the .NET Framework 3.5 from installation media located in the D:\sources\sxs directory, use the following command:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs
where:
/Online targets the operating system you're running (instead of an offline Windows image).
/Enable-Feature /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.
/All enables all parent features of the .NET Framework 3.5.
/LimitAccess prevents DISM from contacting Windows Update.
/Source specifies the location of the files needed to restore the feature (in this example, the D:\sources\sxs directory).
For more information about DISM parameters and options, see How to Enable or Disable Windows Features
注意是從ISO 鏡像載入,以下是我處理的一種簡單方法:通過電腦內建的驅動載入器載入鏡像,把以上dism.exe 指定到該鏡像檔案中;也可以從虛擬光碟機中載入,如採用UltraISO該軟體中的虛擬載入:
載入成功之後;執行如下命令:
解決問題,主要是看懂window8的特有載入部署映像服務與管理工具命令的使用;
以上是解決過程,希望對大家有用!