昨天晚上休息前安装了微软发布的Microsoft Visual C++ 2008 Feature Pack,装完也没打开VSTS2008看一下,

早上打开准备体验下MS改善扩展后的MFC的时候,不幸的一幕发生了,VSTS无法打开,出现提示如下图:

这样VS就无法启动了,怎么解决呢,上google找很少有人遇到过,且只有提问没有解决办法,垃圾BAIDU上就根本搜不到

相关的信息,无奈下就想卸载了,结果卸载时给出了“A problem has been encountered while loading the setup

components. Canceling setup”的提示,卸不了就要重装,重装时提示依旧,按这个提示在MS网站上搜,结果给出了

让人吐血的提示:

 

2.1.11 Users get error message,
"A problem has been encountered while loading the setup components.
Canceling setup"
The user gets the message "A problem has been encountered while loading
the setup components.
Canceling setup" and Setup gets cancelled.  This only occurs on systems
that do not have
Windows Installer 3.1 installed.  Users should install Windows Installer
3.1 and then retry Setup.
To resolve this issue:
1. In Add or Remove programs and check if Windows Installer 3.1 is in
the list of installed programs.
2. If Windows Installer 3.1 is not in installed programs list, please
use following steps.
a. Go to Windows Installer 3.1 Redistributable (v2) and install
Windows Installer 3.1
b. Retry Visual Studio 2008 installation

我机器上的Windows Installer已经高于3.1版本了,难道让我装win2k不成,下来就自己想办法了,就想怎么卸了这玩意儿,

找了许多卸载软件都无济于事,一些删除注册表键值的又不能用(有没有坏处不知道,胆大的你直接删了看看是什么效果),

自己机器上翻来翻去找到了Windows install clean up,幸亏自己平时有收藏精品软件的习惯,这玩意儿是微软自己的,对

它自己的东西最了解了,里面找到VSTS2008 remove一下,把注册表、一些VS的组件统统删除了,然后重新安装Vsts2008,

大功告成。

posted on 2008-10-15 10:05  许维光  阅读(3654)  评论(0编辑  收藏  举报