将光标移到/点击文章中的句子上,可以查看译文。      显示繁体中文内容    显示简体中文内容

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'
Visual Studio设置问题'A problem has been encountered while loading the setup components. Canceling setup.'

0 0

I've had a serious issue with my Visual Studio 2008 setup. i receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup. 'whenever i try to uninstall, reinstall or repair Visual Studio 2008 (team system version). if i can't resolve this issue i have no choice but to completely wipe my computer and start again which will take all day long! i've recently received very strange errors when trying to build projects regarding components running out of memory (despite having ~2gb physical memory free at the time) which has rendered my current VS install useless.

Note i installed VS2005 shell version using the vs_setup.msi file in the SQL Server folder after i had installed VS2008, in order to gain access to the SQL Server 2005 Reporting Services designer in Business Intelligence Development Studio (this is inexplicably unavailable in VS2008).

Does anyone have any solutions to this problem?

P.S. : i know this isn't directly related to programming, however i feel this is appropriate to so as it is directly related to my ability to program at all!

Note : A colleague found a solution to this problem, hopefully this should help others with this problem.

时间: 原作者:

0 0

A colleague found this MS auto-uninstall tool which has successfully uninstalled VS2008 for me and saved me hours of work!!

Hopefully this might be useful to others. doesn't speak highly of MS's faith in their usual VS maintenance tools that they have to provide this as well!

原作者:
0 0

I had the same error message. for me it was happening because i was trying to run the installer from the DVD rather than running the installer from Add/Remove programs.

0 0

In my case, uninstalling from Add&Remove Programs didn't work. Instead, the problem was due to a recently hotfix installed through automatic updates. the hotfix to VS 2008 (in my case) has the number KB952241, so i uninstalled it using Add/Remove Programs checking on the show updates option. after it was unistalled the problem was gone.

0 0

I encountered the same problem and found a very easy solution.Go to the following Link : http://msdn.microsoft.com/en-us/vs2008/bb968856.aspx

and run VS AutoUninstall tool. This will automatically remove all the components of VS 2008.

Cheers

原作者:
0 0

Sure enough, for me, it was the hotfixes. in Add/Remove Programs, check the"Show Updates"box, and remove all of the Hotfixes associated with your version of VS2008. then try the"Change/Remove"button - it should now proceed without a hitch.

Well, it did for me, anyway... ;- )

0 0

I have Visual Studio Team System 2008 Development Edition, and had to remove all updates and Hotfixes :

  • Update KB972221
  • Hotfix KB973674
  • Hotfix KB971091

Reboot, then the following Hotfix appeared, which i then removed as per @riaraos' answer :

  • Hotfix KB952241

Before the Change/Remove would work!

Hope that helps someone else.

原作者:
0 0

Uninstall hotfixes installed in related to vs2008 and then try again. it worked for me and hopefully it will for you as well.

Thanks, Zelalem

0 0

Microsoft itself posted a KB article about this, and that article has a service pack that they claim fixes the problem. see below.

http://support.microsoft.com/kb/959417/

It took a while for the associated update to install itself, but once it did, i was able to run the Visual Studio setup successfully from the Add/Remove Programs control panel.

原作者:
0 0

Remove the following hot fixes and updates

  • Update KB972221
  • Hotfix KB973674
  • Hotfix KB971091

Restart the PC and try to uninstall now. this worked for me without problems.

原作者:
0 0

You should look for the MSI setup logs in the temp directory of your system. they will contain detailed inforamtion about why the setup failed. i had a similar installation problem with Visual Studio 2008 which i was able to resolve by studying the logs.

原作者:
...