刚刚下载的VS2005,赶快来装!
一路下一步,开始安装,一堆东西要装,第一项是.NET Framework2.0 呵呵,等!
等了好久,好久。。。
一点反应也没有,在进程管理器里面一查,一点动静都没有,算了,kill之!
在装,哦!发现.net framework2.0已经装进去了,第一项变成了“MSXML 6.0 分析器”,呵呵,不错
可是转眼就装完了,“MSXML 6.0 分析器”前有个红叉叉
查看安装日志C:\Documents and Settings\Administrator\Local Settings\Temp\dd_vserror80.txt
如下
[01/17/06,20:52:22] MSXML 6.0 分析器: [2] Error code 1603 for this component means "安装时发生严重错误
"
[01/17/06,20:52:22] MSXML 6.0 分析器: [2] Setup Failed on component MSXML 6.0 分析器
[01/17/06,20:52:32] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293.
[01/17/06,20:52:32] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection()
[01/17/06,20:52:45] VS70pgui: [2] DepCheck indicates MSXML 6.0 分析器 is not installed.
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft .NET Framework 2.0 语言包 - 简体中文
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft Document Explorer 2005
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft Document Explorer 2005 语言包 - 简体中文
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status for.NET Compact Framework 1.0 SP3
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status for.NET Compact Framework 2.0
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft Visual Studio 2005 Tools for Office Runtime
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft Visual Studio 2005 Tools for Office Runtime 语言包
[01/17/06,20:52:45] VS70pgui: [2] Unknown component status forMicrosoft Visual J# 2.0 Redistributable Package
[01/17/06,20:52:46] VS70pgui: [2] Unknown component status forMicrosoft Visual J# 2.0 Redistributable 语言包 - 简体中文
[01/17/06,20:52:46] VS70pgui: [2] Unknown component status forSQL Server 2005 Mobile Edition
[01/17/06,20:52:46] VS70pgui: [2] Unknown component status forMicrosoft Device Emulator 1.0 版
[01/17/06,20:52:46] VS70pgui: [2] Unknown component status forMicrosoft SQL Server 2005 Express Edition x86
思考一下,觉得是不是因为framework2.0先安装,后来安装就判断失常了
打开注册表,查找“.netframework”
找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727
不管,删除之
再次安装,哈哈,OK了
分析:应该是因为安装程序会在注册表中寻找相应的注册表项判断是否安装过.NET Framework,如果有就会安装失败