BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / soft-design / #10385同步于 2006/9/2
该镜像源已超过 30 天没有更新,可能在源站已被删除。
SoftDesign机器人发帖

[转贴]正确解决Visual studio不能安装的方法

Kumbayaco
2006/9/2镜像同步0 回复
² 问题出现 当你擅自删除visual studio时,当你重新安装时,就会出现这类情况。此情况如下: 安装结束时,会提示你的安装未完成,系统提示让你进微软官方网站查找并修改相关错误的信息。 出现这类问题,不是由于你的光盘有问题,也不是系统问题。绝大部分人解决这类问题,往往是重新安装系统。虽然重新安装系统能解决这个问题,但那也是很麻烦的. ² 解决问题 解决问题:这是由于安装visual studio时,系统会在注册表中写有信息,而且在其他文件夹中也有其文件。总而言之,就是你如果简单地将program file目录下的visual studio文件夹删掉,未能彻底删除该软件,从而在你重新安装时会出现上述情况。所以解决这类问题的办法,就是彻底地、干净地删除visual studio。 下面我们来谈谈如何彻底地、干净地删除visual studio。分为下面几步来完成。 第一步 删除注册表信息 点击“开始”按钮,单击“运行”,敲入regedit然后是你要删除的注册表中的某一项。 注册表中按照目录顺序找到具体的某一项,然后按delete键删除。 上述是讲了两种删除注册表中某一项的方法。下面列出你要删除的 hkey_local_machine\software\microsoft\devstudio hkey_local_machine\software\microsoft\html help collections hkey_local_machine\software\microsoft\visual basic hkey_local_machine\software\microsoft\visual component manager hkey_local_machine\software\microsoft\visual modeler hkey_local_machine\software\microsoft\visual studio hkey_local_machine\software\microsoft\windows\currentversion\uninstall\visual studio 6.0 -or- msdn library -or- visual studio 6.0 components hkey_current_user\software\microsoft\devstudio hkey_current_user\software\microsoft\visual basic hkey_current_user\software\microsoft\visual component manager hkey_current_user\software\microsoft\visual modeler hkey_current_user\software\microsoft\visual studio hkey_current_user\software\microsoft\windows\currentversion\explorer\menuorder\startmenu\&programs\microsoft visual studio 6.0 -or_ msdn library -or- other visual studio 6.0 components hkey_users\s-1-5-21-2127521184-1604012920-1887927527-72713\software\microsoft\visual studio hkey_users\s-1-5-21-2127521184-1604012920-1887927527-72713 \software\microsoft\windows\currentversion\explorer\menuorder\startmenu\&programs\microsoft visual studio 6.0 -or_ msdn library -or- other visual studio 6.0 components 第二步删除目录 c:\program files\microsoft visual studio c:\program files\common files\designer c:\program files\common files\microsoft shared\msdesigners98 c:\program files\common files\microsoft shared\msdn c:\program files\common files\microsoft shared\triedit c:\program files\common files\microsoft shared\vs98 c:\program files\common files\microsoft shared\wizards98 找到c:\documents and settings\ your login \application data\microsoft该目录下删除visual studio文件夹 第三步删除动态链接库dll文件 点击“开始”--à 搜索文件和文件夹 搜索下面的文件,并将其删除 hh.exe,hh.dat,hhcolreg.dat,hhctrl.ocx,itss.dll,itircl.dll 第四步检查comcat.dll文件 在windows\system或winnt\system32目录下找到comcat.dll文件,如果该文件大小不是22k的话,则进行下面的操作 点击“开始”按钮,单击“运行”,敲入regsvr32 /u comcat.dll 在windows\system或winnt\system32目录下找到comcat.dll文件,将其删除 从visual studio安装盘中,找到\common\ide\ide98\redist \comcat.dll文件将其复制到windows\system或winnt\system32目录下 点击“开始”按钮,单击“运行”,敲入regsvr32 comcat.dll 经过上述四步的操作,visual studio被我们从系统中彻底删除了,这时只要重新进行安装即可。 在安装vc时,最后总出现:setup was unable to create a DCOM user account in order to register microsoft visual studio\common\tools\vs_ent98\valec.exe 然后就提示安装不成功! 这是Visual Studio的一个BUG,只出现在Windows 2000/XP下。如果你不使用Visual Studio Analyzer,可以在安装时选择Custom,然后在Enterprise Tools中清除掉Visual Studio Analyzer。再安装就没有这个问题了。 如果一定要使用Visual Studio Analyzer,可以在安装后在进行配置工作,参考微软的Knowledge Base的文章:“257413“ BUG: "Setup Was Unable to Create a DCOM User Account" Error Message in Visual Studio 6.0”。
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。