If you are having problems upgrading from Visual Studio 2010 Beta 2 to Release Candidate (RC1) then hopefully this will get you back on your way.
Scenario
When trying to get rid of Visual Studio 2010 Beta 2 so I could update it to the RC1 release on my home computer I ended up getting some annoying errors.
The following error message was being displayed every time I tried to click uninstall:
---------------------------
setup.exe
---------------------------
Visual Studio setup cannot run in compatibility mode. For more information see the 'Installing' section in theVisual Studio Readme at "http://go.microsoft.com/fwlink/?LinkId=143397".
---------------------------
OK
---------------------------
This error cropped up for me because I tried to uninstall Visual Studio before I uninstalled Team Foundation Server. This caused the uninstall to abort which made Windows think that the uninstaller had problems. It tries to be helpful by setting the setup.exe to run in compatibility mode but as the error message above indicates - you cant run the Visual Studio setup application in compatibility mode.
So I turned to the documentation suggested in the link above but it didn't make it clear where I was supposed to find the setup.exe or how exactly I could change it. This article aims to fill that gap.
Solution
The setup.exe application can be found in the following location:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Microsoft Visual Studio 2010 {EDITION} Beta 2 - ENU
The edition will be whichever edition you installed. I had the following folders on my computer as I upgraded to the ultimate edition after first trialling professional:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Microsoft Visual Studio 2010 Professional Beta 2 - ENU
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Microsoft Visual Studio 2010 Ultimate Beta 2 - ENU
To change the compatibility mode take the following steps:
- Right click on setup.exe and click Properties
- Switch to the Compatibility tab
- Untick the "Run this program in compatibility mode for" checkbox
- If you have a button at the bottom of the dialog entitled "Show settings for all users" click this and repeat step 3 in this window.
- Click OK until you have dismissed all dialog windows
- Go back to the uninstall entry and uninstall as normal.
Power User Bonus Tip
I love little tips like this but usually I forget them by the time I get around to being able to use them again. To get the uninstall window open you can enter the following command in Start | Run:
control appwiz.cpl
40 comments :
cheers mate! worked like a charm... uninstall in progress :)
I wish I would have found this info befor blowing up my 64bit Windows 7 machine. Thanks very much for the insight.
I ran into a similar problem with the RTM. Nothing worked. I then uninstalled AppVerify (x64) and the Windows 7 Logo tools and the install worked.
This helped a bunch.
Thanks.
Thank you so, so much!
A lifesaver! Thanks a million.
thank you very much.
I don't have 2010 beta on my machine and am still getting the same error. I have VS 2008 trial.
Any help would be appreciated. This is just the latest of the ongoing onslaught of Microsoft "issues" lately and I am just fed up.
Thanks a million! Clicking the button in step 4 was the magic.
Copy the VM_WEB.exe in c:\User\Yourusername. run your VM_WEB.exe and should be good.
-Swami
Thank you very much, this solved the problem completely for me. :)
Please Help
Whenever I go to untick it it is blocked!!!!!!!!!!!!!! very frustrating!!!!!!!!!!
HELP!
Solved
Thanks
yes, thank you but this didn't work for me.
I found the download for VS2010RTM.htm in the Readme.htm distributed with the installation files.
located the section:
2.1.10 Visual Studio Setup cannot be run in Program Compatibility Mode
Followed the steps and VIOLA.
Thanks!! Post very good!!
Hey,
Your solution worked, thanks, and even you tip is also great!!!! keep posting
Sunil
Thankyou - Worked like a charm! Steve M
Thank you! :)
Love people like you!
open temp folder -> clicking on start and type: %temp%
delete files in temp folder -> sometimes some files don't delete...
execute setup.exe from dvd
in the temp folder -> change the compatibility settings of setup.exe
execute setup.exe in temp folder
open temp folder - clicking on start and type: %temp%
delete files in temp folder - sometimes some files don't delete...
execute setup.exe from dvd
in the temp folder - change the compatibility settings of setup.exe
execute setup.exe in temp folder
I encountered this problem with Windows 7. When I followed the instructions listed here I discovered that the checkbox was already unchecked, but Windows XP was the operating system in the dropdown box. So, I checked the compatibility box which enabled the dropdown list, selected Windows 7, then unchecked the box. I did this on the Advanced tab as well. It solved the problem..Love the internet and user input!!!
I encountered this problem with Windows 7. When I followed the instructions listed here I discovered that the checkbox was already unchecked, but Windows XP was the operating system in the dropdown box. So, I checked the compatibility box which enabled the dropdown list, selected Windows 7, then unchecked the box yet it did not solve the problem for me.. I'm using Windows 7 64 bits.. Please Help me.. What else do i need to do?
I encountered the problem while installing windows phone 7.1 sdk on my Windows 7. The article helped solve my problem. Thanks a lot.
Thanks! Worked like a charm!
Thanks very much! I solved the same problem with Windows Phone SDK 7.1 setup.
I really gonna say thank you for the poster who solve my problem.
Thanks you so much!
Thanks so much!!! I had the hardest time trying to figure this out!!
Just save the vs_proweb.exe file instead of hitting 'run'. Then open the folder where you saved it and right-click .. 'run as administrator' and you are all set.
refer to "Don" post on 15 August 2011, I have the identical problem, does anyone have the solution?
Thanks for your post!
Thank you very much Don! You've made it! Now I can make applications for my club!! Thanks a bunch!!
Thank you!
Thanks! Worked as stated.
Thanks it was v useful
Thank you, this worked well.
good tks so much!!
IT WORKED! THANK YOU THANK YOU!
I CANT FIND THE FRIKIN SETUP.EXE FILE WHERE DO I FIND IT?!?!?!?!
@AceMonkey - What are you trying to uninstall, as I doubt you're still trying to uninstall Visual Studio 2010 Beta 2 :)
Post a Comment