在Google上搜索了一番,还好,找到一位国外兄弟跟我遇到相同的情况,其实遇到这种情况的大有人在,但在国内网站能搜到的,大部分是只提问题不提答案的……再一次恶心……国外兄弟的博客当然全是英文了,不过幸好,凭借阅读帮助文档的蹩脚英语,终于搞掂,重新安装上VS2005。
下面把解决方案贴上:
OK, I just ended up having to burn one of my MSDN incidents :( because I could not get Visual Studio 2005 to install correctly, so I figured I’d blog the solution so someone else could benefit from it.
The Error
The error message I got simply said that Document Explorer 2005 failed to install. Tracing the event log I got the following:
Product: Microsoft Document Explorer 2005 — The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. The arguments are: {FAA7C2AC-4205-4228-BEB6-6E647CCA9FD2}, ,
followed by:
Product: Microsoft Document Explorer 2005 — Error 1935.An error occurred during the installation of assembly ‘Microsoft.MSXML,Version=”8.0.0.0″,PublicKeyToken=”b03f5f7f11d50a3a”,Culture=”neutral”,FileVersion=”8.0.50727.42″,ProcessorArchitecture=”MSIL”‘. Please refer to Help and Support for more information. HRESULT: 0x80131700. assembly interface: , function: CreateAssemblyNameObject, component: {B1BE189C-054D-4195-9C26-49D28C20DE94}
The Solution
The problem was solved by following these steps:
- Uninstall .NET 2.0.
- Click “Start”. The Windows Start Menu pops up.
- Click “Control Panel”. The Control Panel windows opens.
- Double Click “Add/Remove Programs”. The Add/Remove Programs window opens and after some period of scanning for applications, presents you with a list of installed applications.
- Select the “.NET Framework 2.0” application and select to remove it.
- Delete temp files.
- Click “Start”. The Windows Start Menu pops up.
- Click “Run”. The Run command window opens.
- Enter “%temp%” and click OK. This will open your Temp folder.
- Press Ctrl+A. This will select all the files in the folder.
- Press Shift+Del to delete all files listed that are not locked. The delete process may abort on error several times stating that a particular file could not be deleted. Simply unselect that given file by holding down the Ctrl key and clicking the file and continue the deletion. In my case there were 2 files that could not be deleted in the end.
- Add registry key.
- Click “Start”. The Windows Start Menu pops up.
- Click “Run”. The Run command window opens.
- Enter “regedit” and click OK. This will open RegEdit.
- Navigate down to HKLM\Software\Policies\Microsoft\Windows\Installer.
- Right click in the right hand pane. A popup menu with one option, “New” appears.
- Click “New”. A new popup menu with several options appears.
- Click “String Value”.
- Change the “New Value #1” text to “Logging”.
- Double click the “Logging” entry. The value edit window opens.
- Change the value of the key to “VoiceWarmup” & click OK.
- Close RegEdit.
- Install the .NET Framework 2.0.
- Open Windows Explorer.
- Navigate to “D:\wcu\dotNetFramework”.
- Double click “dotnetfx.exe” to install the framework.
- Install the Microsoft Document Explorer 2005.
- In Windows Explorer, navigate to “D:\wcu\DExplore”.
- Double click “DExplore.exe” to install the Document Explorer.
- Install Visual Studio 2005 as per normal from here.
That worked for me… hopefully, it will work for you too! :)
Later
C
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/190281.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】:
Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】:
官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...