含羞草
好记性不如烂笔头
菜鸟先飞...
 原文地址:http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=766979&SiteID=1

Re: VS 2005 SP1 Beta doesn`t want to install

It happened to me as well with the release version of SP1. Not only was my VS2005 Team System for Software Dev dead, but my .NET Framework 2.0 was also dead. By dead I mean nothing that uses .NET 2.0 worked, including IIS and win apps, oh and MSN messenger as well.
====================================

I tried repairing VS2005, but that did not work since the installer would fail (does it also use the .NET 2.0 Framework ??)

I was able to uninstall VS2005, but then I could not re-install it, I would get an error during installation.

I couldn't repair just the .NET Framework 2.0. I was able to uninstall it, but then I couldn't reinstall it  

Finally I got everything to work by doing the following (as mentioned from another post)

1.    Uninstall VS2005

2.    Uninstall .NET Framework 2.0

3.    Delete the Policies folder from c:\Windows\WinSxS\

4.    Install .NET Framework 2.0 (SDK is not necessary at this point)

5.    Install VS2005

6.    Reapplied SP1 and it worked!!!

7.    Success (hopefully)

One finally note, everytime you run VS SP1 it creates a huge a$$ file in the c:\Windows\Installer folder about 460MB!! I attempted to run the SP1 3 times so guess what there goes about 1.5 GB even after you cancel it does not clean it up.

It is safe to delete the file manually, but I wouldn't suggest it after a successful SP1 installation.

Hope this helps,
Perry

 回复:vs2005不能安装sp1 beta

我安装这个版本的sp1时也出现了这个问题(指错误代码:2908.不只是我的VS2005 Team System 挂掉了,而且.NET 2.0 Framework一样不能使用,包括IIS和应用程序,MSN也不能正常使用。

我尝试修复vs2005,但是安装文件一样不能使用。(难道它也是基于.NET2.0 Framework??

我试着卸载vs2005,但是我再次安装vs2005时,在安装过程中又出现了一个错误。

我甚至不能修复.net2.0 framework,于是我卸载了它,但是不能再次安装!

然后我做了以下的步骤使其正常运行起来(就像在另一篇贴子中提到的)

1,卸载vs2005
2,
卸载.net2.0 framework
3,
删除c:\Windows\WinSxS\ 下的 Policies 文件夹
4,
安装.net2.0 framework
5,
安装vs2005
6,
安装sp1,成功了!!

还有一点,每次你运行SP1时,它会在c:\Windows\Installer 目录中生成一个巨大的副本,约有460M。我试图运行了三次并取消,因为出现了错误,所以我想那里应该有1.5G的文件没有被清理。

手动清除那些文件是案例的,但是如果你安装成功了,建议不要删除。

希望这些能对您有所帮助

谢谢

posted on 2007-03-08 19:16  含羞草  阅读(1557)  评论(0编辑  收藏  举报