柚子Nan--回归原点

Everything can be as easy as you like or as complex as you need.
posts - 232, comments - 984, trackbacks - 17, articles - 29
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

今天一个干净的机器安装.Net FrameWork1.1 ,遇到了一个错误,怎么也安装不上!
Google里看了一下,微软的错误真的满天下,变得家喻户晓了。
这不很快就解决了。


Many people experience failure when installing .Net Framework 1.1 Redist. Usually you see a MSI dialog says “Internal Error 2908.”. Later you will see another dialog says “Error 1935. An error occured during the installation of component xxxx. HRESULT: -2147319761”.


The problem usually is because a broken previous install. Rename %windir%\system32\mscoree.dll and re-install usually does the trick.


This works because MSI uses existence of %windir%\system32\mscoree.dll to tell if a .Net framework is already installed. If MSI believes a .Net framework is already installed, it will use the existing .Net framework to install assemblies into GAC. Renaming mscoree.dll tricks MSI to believe .Net framework is not present. In that case MSI will do a fresh install. Fresh installs rarely fail.

FYI: http://blogs.msdn.com/junfeng/archive/2004/01/31/65457.aspx

按照上述的方法果然解决,开始还小心翼翼的把mscoree.dll 备份了一个,然后改了名字,发现安装好以后系统又产生了一个新的mscoree.dll 。后来一切正常,还是非常感谢Junfeng

 

Feedback

#1楼    回复  引用    

2007-11-27 11:37 by anduzuo [未注册用户]
but i can"t fined this file in my computer ,why ?

标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      

相关链接: