Visual Studio Development Bookmark and Share   
 index > Visual Studio Setup and Installation > Cannot Uninstall/Reinstall/Repair/Install
 

Cannot Uninstall/Reinstall/Repair/Install

When I try to modify some installation settings I get this message:

---------------------------
Microsoft Visual Studio 2005 Setup
---------------------------
The Windows Installer package:

e:\vs\vs_setup.msi

could not be opened.



Choose Retry to try again. Choose Cancel for exit setup.
---------------------------
Retry Cancel
---------------------------


I just started the setup from the DVD...
i get the same result from Add/Remove programs...

any ideas ?
RaduKing  Tuesday, March 06, 2007 8:52 PM
clicking Retry several times doesn't help
I also checked that the file e:\vs\vs_setup.msi
is accessible and it is


If I click cancel I get this message...

---------------------------
Microsoft Visual Studio 2005 Setup
---------------------------
A problem has been encountered while loading the setup components. Canceling setup.
---------------------------
OK
---------------------------


why wouldn't let me uninstall it at least ?!?
RaduKing  Tuesday, March 06, 2007 9:50 PM
After I installed Visual STudio 2005 Professional I tried to install the Service Pack 1. During the update something failed. I think I ran out of disk space or something. I'm not sure, I was updating with MS Windows auto update and it failed.

However after this failed my .NET framework did not work anymore and i had to reinstall it and my Visual Studio 2005 didn't work anymore either.
Now when I try to Repair/Reinstall/Uninstall Visual Studio I always get exactly the same error like RaduKing:

---------------------------
Microsoft Visual Studio 2005 Setup
---------------------------
The Windows Installer package:

g:\vs_setup.msi

could not be opened.


Choose Retry to try again. Choose Cancel for exit setup.
---------------------------
Retry Cancel
---------------------------

g: is my DvD ROM with the Visual Studio 2005 Professional CD 1.
When I open it the "
vs_setup.msi" file is there.

Clicking Retry doesn't help and Cancel cancels the setup. I have tried a lot of things but i can't get Visual Studio 2005 to work anymore and i can not even unisntall und reinstall it.

I need Visual Studio 2005 for my studies and programming so if anyone could help me to solve this problem without reinstalling my whole system i would be thankful!
Xeen  Saturday, March 24, 2007 4:30 PM
I have the same problem and same symptoms: vs_setup.msi can not be opened.

I run out of disk space while installing service pack 1 for visual studio 2005.

I changed my temp folders to a different drive and re-installed the service pack. Visual studio works, but I can not uninstall/reinstall/repair or install anymore.

How could I install additional components now from the install CD?

Thanks in advance,

Vesa



Mr VesaS  Monday, March 26, 2007 11:56 AM
I was seeing the very same errors you have all posted. I am glad to say that I have found a solution! You want to empty the "Patches" REG_MULTI_SZ in
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\845140B1CB334714B879DA9C7B494888\Patches

It will get you to the point where you can use the DVD to reinstall or repair the Gold version and then proceed to apply VS2005 SP1.

In my case, I had installed the patch against the remote debugger vulnerability back in December. The installer for this patch didn't seem to register everything properly on my Windows 2003 Enterprise Server machine. Deleting patch registration against 845140B1CB334714B879DA9C7B494888 (Visual Studio 8/2005) is not a supported thing to do, but it will get you out of the bind where the product cannot be upgraded, removed or repaired.

Andre
Andre Guibert de Bruet  Tuesday, March 27, 2007 3:59 AM
Hi, Andre Guibert de Bruet you are my hero! Smile

I was looking for this key and could not find it. I thought it might be different because i did install the german version, so i looked through all keys in the "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\" path and i found the key according to "Microsoft Visual Studio 2005 Professional Edition - DEU" with the number "70401600C6C7A684BBD108ECCAE770B6".
I cleared the
REG_MULTI_SZ value in the "Patches" folder and now my setup runs again!

Thank you very much for your help!

Greetings,
Xeen
Xeen  Saturday, March 31, 2007 4:59 PM
Xeen,

As you found out, the GUIDs are different based on the version of VS2005 installed.

I am glad that I could be of assistance! Smile

Cheers!
Andre
Andre Guibert de Bruet  Wednesday, April 11, 2007 5:04 AM
This error usually indicates that this is not the originalCD/DVD that was used to install Visual Studio.
Gabriel Lozano-Moran  Wednesday, April 11, 2007 7:28 AM
Gabriel Lozano-Moran wrote:
This error usually indicates that this is not the original CD/DVD that was used to install Visual Studio.


I beg to differ. In my case, I used the original installation media that came from my MSDN subscription. I applied a patch for the remote debugger vulnerability that was made available on the public Visual Studio 2005 web page in December 2006. I have repeated the steps and can positively say that in my case, this patch was the cause of the problem.

Cheers,
Andre

Andre Guibert de Bruet  Thursday, April 26, 2007 12:54 AM
The error I was referring to was in one of the comments that has now been modified or deleted by the poster. I am not referring to the error telling you that e:\vs\vs_setup.msi could not be opened.
Gabriel Lozano-Moran  Thursday, April 26, 2007 11:45 AM

This fix worked for me when I received the same error message trying to uninstall VS2003.

Just search for Visual Studio.NET in HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products.

Nick Yeldarb  Tuesday, August 21, 2007 2:09 AM

I am having the same issue with VS2005, but cant seem to find the key that are mentioned by you folks that needs to be removed.

Please advice.

Paul SR  Sunday, April 20, 2008 11:32 PM
Paul SR wrote:

I am having the same issue with VS2005, but cant seem to find the key that are mentioned by you folks that needs to be removed.

Please advice.




The GUID is specific to the edition of VS2005 that you are running. You may have to resort to searching throughHKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\ for the GUID that applies to your installation.

Best of luck!
Andre
Andre Guibert de Bruet  Thursday, May 01, 2008 7:38 AM
Andre Guibert de Bruet Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals


You are the Super Star !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I fixed it thank to your solution !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Ken 2009  Wednesday, September 02, 2009 3:51 PM
Hi 

just remove those 845140B1CB334714B879DA9C7B494888   key  entries from registry and it will working fine,

regards
Suresh
sureshkumar chennai  Thursday, October 15, 2009 1:13 PM
Regarding this error:

---------------------------
Microsoft Visual Studio 2005 Setup
---------------------------
A problem has been encountered while loading the setup components. Canceling setup.
---------------------------
OK
---------------------------

you cancheck out:
http://blogs.msdn.com/heaths/archive/2008/10/06/adding-features-to-visual-studio-2008-may-fail-to-load-setup-components.aspx

Thanks,
Veronica
Veronica G_  12 hours 5 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Visual Studio 2008 Trial to Standard
• Can't install VS2008 no matter what!
• Error running visual studio after deployment.
• Debug DLLs not installed
• unable to install visual stadio 8
• Reinstalled windows vista ultimate but visual studio 2005 won't install
• Problems linking libs, I think...
• VS2008 and Database Project
• Visual c++ express installation error
• .NET Framework Tools for VS 2008