当VS2005卸载不干净时

那个恶心……当手动删除一部分文件(也许这部分文件中包括了卸载程序)后,再调用win的卸载程序或360的软件卸载来卸载VS2005,答案是……没办法卸载干净的。想想也是必然的,没了对应的卸载程序当然会卸载不了对应那部分信息,然而再次安装时安装程序首先检测注册表中有没有对应的安装信息,假如检测到有,那你挂了,安装程序自动屏蔽掉已经有注册信息的一部分,只安装被正常卸载的那部分,其实没有被正常卸载的那一部分也不存在了,只不过没有走win的流程,直接手动删除掉了。缺少对应组件的安装程序当然不能成功安装了,就算是修复,也会修复失败。

在Google上搜索了一番,还好,找到一位国外兄弟跟我遇到相同的情况,其实遇到这种情况的大有人在,但在国内网站能搜到的,大部分是只提问题不提答案的……再一次恶心……国外兄弟的博客当然全是英文了,不过幸好,凭借阅读帮助文档的蹩脚英语,终于搞掂,重新安装上VS2005。
下面把解决方案贴上:
OK, I just ended up having to burn one of my MSDN incidents :( because I could not get Visual Studio 2005 to install correctly, so I figured I'd blog the solution so someone else could benefit from it.
 
The Error
The error message I got simply said that Document Explorer 2005 failed to install.  Tracing the event log I got the following:
 
Product: Microsoft Document Explorer 2005 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. The arguments are: {FAA7C2AC-4205-4228-BEB6-6E647CCA9FD2}, ,
 
followed by:

Product: Microsoft Document Explorer 2005 -- Error 1935.An error occurred during the installation of assembly 'Microsoft.MSXML,Version="8.0.0.0",PublicKeyToken="b03f5f7f11d50a3a",Culture="neutral",FileVersion="8.0.50727.42",ProcessorArchitecture="MSIL"'. Please refer to Help and Support for more information. HRESULT: 0x80131700. assembly interface: , function: CreateAssemblyNameObject, component: {B1BE189C-054D-4195-9C26-49D28C20DE94}

 
The Solution
The problem was solved by following these steps:
  1. Uninstall .NET 2.0.

    1. Click "Start".  The Windows Start Menu pops up.
    2. Click "Control Panel".  The Control Panel windows opens.
    3. Double Click "Add/Remove Programs".  The Add/Remove Programs window opens and after some period of scanning for applications, presents you with a list of installed applications.
    4. Select the ".NET Framework 2.0" application and select to remove it.
  2. Delete temp files.
    1. Click "Start".  The Windows Start Menu pops up.
    2. Click "Run".  The Run command window opens.
    3. Enter "%temp%" and click OK.  This will open your Temp folder.
    4. Press Ctrl+A.  This will select all the files in the folder.
    5. Press Shift+Del to delete all files listed that are not locked.  The delete process may abort on error several times stating that a particular file could not be deleted.  Simply unselect that given file by holding down the Ctrl key and clicking the file and continue the deletion.  In my case there were 2 files that could not be deleted in the end.
  3. Add registry key.
    1. Click "Start".  The Windows Start Menu pops up.
    2. Click "Run".  The Run command window opens.
    3. Enter "regedit" and click OK.  This will open RegEdit.
    4. Navigate down to HKLM\Software\Policies\Microsoft\Windows\Installer.
    5. Right click in the right hand pane.  A popup menu with one option, "New" appears.
    6. Click "New".  A new popup menu with several options appears.
    7. Click "String Value".
    8. Change the "New Value #1" text to "Logging".
    9. Double click the "Logging" entry.  The value edit window opens.
    10. Change the value of the key to "VoiceWarmup" & click OK.
    11. Close RegEdit.
  4. Install the .NET Framework 2.0.
    1. Open Windows Explorer.
    2. Navigate to "D:\wcu\dotNetFramework".
    3. Double click "dotnetfx.exe" to install the framework.
  5. Install the Microsoft Document Explorer 2005.
    1. In Windows Explorer, navigate to "D:\wcu\DExplore".
    2. Double click "DExplore.exe" to install the Document Explorer.
  6. Install Visual Studio 2005 as per normal from here.

That worked for me... hopefully, it will work for you too! :)

Later
C

当VS2005卸载不干净时相关推荐

  1. ADS一键清理工具,解决ads2020卸载不干净没法安装新的ads 解决ads安装时说存在上一个版本 解决ads安装提示没有卸载干净 ads2017卸载时删不尽 ads2019删除不干净 注册表

    文章目录 前言 一.ADS一键清理工具支持ads2013-23版本清理 二.ADS一键清理工具使用步骤 总结 前言 ADS一键清理工具, 自动清理注册表,解决重装不上的问题. 今天给大家推荐一款好用的 ...

  2. CentOS下如何完全卸载MySQL?解决卸载不干净的问题

    出处:https://my.oschina.net/zhangjie830621/blog/466279 CentOS下如何完全卸载MySQL?解决卸载不干净的问题 系统:CentOS 6.5,MyS ...

  3. 从windows计算机中卸载office,如何彻底卸载电脑中的Office组件|Office办公软件卸载不干净怎么办...

    ‍ 有不少用户遇到原本在电脑中的软件卸载不干净,而无法重新安装软件的问题.比如说有位用户在安装Office办公软件时就是因为没有彻底卸载原先电脑中的软件才导致无法安装.接下来系统城小编就和大家分享一下 ...

  4. 电脑怎么卸载软件干净_不要说你的电脑卸载很干净!分享两款卸载神器!

    今天给大家分享两款卸载神器,请收藏好! NO.1: Revo Uninstaller Pro 4.1.0 卸载工具专业便携版   自己一直在用,非常好用. Revo Uninstaller Pro是一 ...

  5. 金蝶服务器删除缓存文件,金蝶KIS专业版卸载不干净导致无法安装之解决办法

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 金蝶KIS专业版卸载不干净导致无法安装之解决办法 解决方法: 1.卸载专业版产品以后,将安装目录下的kingdee文件夹删除: 2.将系统盘system3 ...

  6. php从注册列表卸载,MSSQL_彻底删除SQL Server注册表的方法,一般在卸载完数据库时,大家 - phpStudy...

    彻底删除SQL Server注册表的方法 一般在卸载完数据库时,大家都希望能够将注册表信息完全删干净,下面就将教您彻底删除SQL Server注册表的方法,供您参考. 在卸载SQL Server开始- ...

  7. maya2020卸载不干净_MAYA 卸载不干净,怎么完全彻底删除清理干净MAYA各种残留注册表和文件?...

    MAYA卸载工具,完全彻底删除干净MAYA各种残留注册表和文件.MAYA安装失败,怎么完全彻底删除清理干净MAYA各种残留注册表和文件呢?有些同学想把MAYA重新安装,但是MAYA安装失败显示失败,有 ...

  8. (新 ※必看)解决VMware由于卸载不干净导致安装出现“用户在命令行上发出了 EULAS_AGREED=1,表示不接受许可协议。”

    要是大家也遇到这个问题,请务必看完我的,再去操作.谢谢!        这个问题折磨了我两天,终于解决了,对于我经常要用虚拟机的人,安装不了真的很头疼. 大家可以看下这个安装日志,尝试了多少次就失败了 ...

  9. 极域卸载不干净,这里有办法....

    ** 极域卸载不干净,然后再安装的时候会提示有旧版本.到底怎么办呢? ** 今天首次安装极域的时候没有创建文件夹-导致一大堆子文件散乱的分布在了整个盘里-所以我把文件都删了.打算再安装一次-可是重启电 ...

最新文章

  1. 关于Cocoa Pods的升级安装和使用说明
  2. linux centos6 安装 crontab
  3. MFC 实现字符串的移动
  4. 【十九】require和include的区别
  5. jTessBoxEditor for Tesseract OCR
  6. “写画”与“惊春”:王艾画展和当代诗人朗诵会
  7. phpstudy(自己电脑主机做服务器,手机网站界面打不开)
  8. 织梦重置mysql数据库密码忘记_织梦cms管理员密码忘记了怎么重置找回?
  9. Prometheus+Grafana监控PostgreSQL
  10. redhat配置caffe多核训练
  11. Spring AOP动态代理原理与实现方式
  12. session的销毁方式
  13. mcisendString制作播放器
  14. 各省GDP+人均GDP+固定投资+财政收支等面板dta数据(1949-2020年)
  15. 计算机鼠标游戏教学法,浅谈游戏教学法在信息技术教学中的应用论文
  16. ReactNative 导航栏Navigator的使用及参数navigator的传递
  17. 怎么写加密邮件,企业邮箱支持吗?【企业邮箱注册】
  18. linux的第一个内核,Linus Torvalds启动了第一个RC版本的Linux内核4.15
  19. Orleans 2.0 官方文档 —— 4.8.1 Grains - Grain持久化 - grain持久化的目标
  20. int3断点指令的原理和示例

热门文章

  1. Toggle Buttons(二)
  2. python方差的代码_Python statistics pvariance()用法及代码示例
  3. 基于模板的通用代码生成器LKGenerator(四)-核心技术之各种数据库查询表信息sql整理...
  4. springcloud 高可用的服务注册中心
  5. 国外优秀技术网站推荐
  6. POJ 2429 GCD LCM Inverse
  7. 运维管理中的制度和流程
  8. 戴文的Linux内核专题:07内核配置(3)
  9. Windows Azure 云计算服务: 怎样按需选择并计算它将花费多少钱呢?
  10. MS CRM 2011的自定义与开发(2)——预备知识