昨天手贱把硬盘全格式化了,今天在装vs2008的时候遇到了如下问题:
看了下安装日志,发现错误如下:
[04/25/11,14:38:03] Microsoft .NET Framework 3.0 SP2 x86: [2] Error: Installation failed for component Microsoft .NET Framework 3.0 SP2 x86. MSI returned error code 1603
[04/25/11,14:38:13] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 SP2 x86 is not installed.
[04/25/11,14:49:20] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[04/25/11,14:49:26] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[04/25/11,14:55:39] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[04/25/11,14:55:46] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[04/25/11,14:38:13] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 SP2 x86 is not installed.
[04/25/11,14:49:20] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[04/25/11,14:49:26] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[04/25/11,14:55:39] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[04/25/11,14:55:46] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
大概是.NET Framework 的问题,单下了一个.NET Framework 3.5 安装,还是报错。于是google,百度之,最后找到了原因,是因为注册表的权限问题。解决方案如下:
解决办法:
看了事件日志,总于找出来了,问题在注册表,HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Internet Explorer下
MAIN子键的权限问题,改成"允许完全控制"就行了. 如下图:
在图中的MAIN子键右击选择“权限”,将每个用户“安全控制允许”选中,
在点击“高级”,选中下图红框中的选项
至此,重新安装,即可。不保证所有安装失败都是这个原因,但推荐试试~,不行继续google~