這幾天,因為某個項目需要而要安裝VS2005,不知怎麼回事,一安裝到Microsoft Document Explorer 2005就提示安裝失敗,怎麼也繼續不下去了,在網上查了很多資料,試了很多方法都沒有解決,就差就重裝系統了,呵呵。在最後準備放棄的時候突然因為一個奇虎360偶然的系統漏洞修複安裝失敗想到了原因,然後試試下,總于成功安裝完畢!
現在将網上所有關于在安裝VS2005時Microsoft Document Explorer 2005安裝失敗的原因和自己的經驗體驗總結一下,前車之鑒,希望對其他人有所幫助:
在開始之前,請确認你已經仔細看過了MS的相關安裝說明檔案,并按其中的辦法嘗試過了,官方文檔還是很重要的,呵呵!
第一招:
1、清空曾經的安裝(包括以前其他所有版本的相關元件),包括windows/temp檔案夾下的内容。
2、打開vs的CD光牒,在vs/wcu/msi31檔案夾下有一個windows installs的檔案,安裝之。
3、重新開機電腦,關閉防毒軟體和防火牆。
4、修改programe file和temp檔案夾讓安裝程式有足夠的權限,其實就是用administrator登陸安裝2005。
5、現在就可以直接安裝了。
(如果此找不行,請看下招)
第二招:
1、 打開VS2005安裝盤,進入目錄VS /wcu/DExplore
2、 手動運作DExplorer.exe
3、 再次運作VS2005安裝程式。
第三招:
1、 修複.Net framework 2.0
2、 移除一個名為Rgstrtn.lck的檔案,該檔案可能在
"%APPDATA%/Microsoft Help" or %temp% or directory under %temp% or
"/Documents and Settings/All Users{.Windows}/Application Data/Microsoft Help"。
3、 Then, see if ANY directories exist under "%APPDATA%/Microsoft Help" or
"/Documents and Settings/All Users{Windows}/Application Data/Microsoft Help", they need to be moved to another directory for this error to go away, a rename to another name will not work, the code is checking the existance of ANY directory regardless of
name and the directories "%APPDATA%/Microsoft Help" or "/Documents and Settings/All Users/Application Data/Microsoft Help" having any directory under it will not resolve this error.
(英文很簡單,我就不翻譯了,基本意思就是要将Microsoft Help下的所有檔案夾移除或重命名,大家注意看好路徑就好了)。
4、 確定以Administrator登陸,有足夠的權限操作安裝。
5、 再次安裝VS2005
(以上三招基本上夠用了,能夠解決大部分的這樣問題,如果你還不行,那你遇到的情況可能跟我一樣,那就試試下面這招吧,呵呵)
第四招:
1、 打開你的安裝程式的temp目錄,我的是在/Documents and Settings/luocl(你登陸的使用者名)/Local Settings/Temp。
2、 去掉Temp檔案夾的加密屬性:點選Temp檔案的屬性——>正常——>進階,将“加密内容以便保護資料”一項的勾選去掉,點選确定。
3、 重新安裝VS2005.