Kevin Dente's Blog

The Blip in the Noise
Unable to install Visual Studio 2005 on Windows Vista

I've got a brand-spanking new, clean install of Vista on my laptop, and I'm trying to install Visual Studio 2005 on it. Unfortunately, I'm not getting very far. The installer always displays the following dialog, complaining that I don't have XP SP 2 installed:

The only related info I've found from Microsoft is on the VS2005 on Vista issue list, which states that "Visual Studio products fail to install in XP compatibility mode". However, I'm not selecting any compatibility mode when running the install. I've run the install as administrator, but no difference. I've tried disabling UAC, but no difference. Does anyone know how to get around this problem?

UPDATE - Although Scott Guthrie and crew graciously offered to help track down the problem, I haven't heard back from them after our initial exchange. However, based on other recommendations that I found online, I copied the DVD contents to my hard drive and successfully ran the install from there. My guess is that when the installer is run from the DVD it ends up running in XP compatibility mode - but I have no idea why.

Published Tuesday, March 27, 2007 9:50 PM by kevindente

Filed under:

Comments

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 1:20 AM

If you can send me mail about this issue, I can put you in touch with someone who can help figure out what is going wrong.

Thanks,

Scott

ScottGu

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 5:29 AM

Had you tried install in compatibility mode?

For do that:

1- Do right-click in the setup.exe.

2- Go to Properties.

3- Do click in the second tab (I think that it's "Security" but I'm not sure.

4- Now you enable the Compatibily mode and select "Windows XP Service Pack 2".

I'd intalled Visual Studio without compatibility mode enabled and I hadn't any problem.

Best regards.

Please send me a mail with the result: eugenio.estrada@vbprincipiantes.com

Eugenio Estrada Csaky

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 9:49 AM

I just read Vista SP1 is out and it specifically addresses Visual Studio issues. I haven't tried it myself. My Vista machine arrives today. Good luck and let me know if it works.

Steve

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 12:36 PM

Eugenio,

I haven't tried installing in compatibility mode because MS explicitly says that this is NOT supported.

kevindente

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 12:37 PM

Steve,

Installing SP1 requires installing the base Visual Studio product first. I can't even get that far.

kevindente

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 7:11 PM

What version of Vista are you running? I just tried installing VSTD on Vista Enterprise x64 and the product installation did not prompt for pre-requisites.

ValtchoV

Valtcho

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, March 28, 2007 7:20 PM

Valtcho,

I'm running Vista Ultimate, 32-bit.

Obviously other people have been able to install succesfully, so I'm puzzled as to what's different about my setup.

kevindente

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, March 29, 2007 1:00 PM

Kevin, I just talked to a colleague on the VS setup team. VS2005 will not install if the compat mode is turned on. So could you go to the proprties section of setup.exe (as described above) and make sure that compat mode is turned off. The reason for this is that compat mode shims the APIs for OS detection but does not fake the registry keys that VS setup uses to detect the presence of SP2, hence setup thinks that it's running on XP but without sp2.

So can you try this and let me know how it goes?

ValtchoV

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, March 29, 2007 1:30 PM

Valtcho,

I checked that after I found the MSDN article. The compat mode checkbox is not checked. I'm installing from the DVD, so I don't know how it would have gotten set anyway.

Is there anything else that would trigger compat mode even if the checkbox isn't set?

kevindente

# re: Unable to install Visual Studio 2005 on Windows Vista@ Sunday, April 08, 2007 4:56 AM

i am unable to install Visual Studio 2005 on my laptop(LENOVO 3000N Series). I have XP service pack 2.my system meets all the hardware requirements.

Please help me.

kumara

# re: Unable to install Visual Studio 2005 on Windows Vista@ Friday, April 13, 2007 5:43 AM

This might help:

http://www.geekswithblogs.net/lorint/archive/2005/11/30/61699.aspx

Tester

# re: Unable to install Visual Studio 2005 on Windows Vista@ Friday, April 13, 2007 6:24 AM

And also

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1419155&SiteID=1

Tester

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, April 24, 2007 8:51 PM

Interesting...i just went thru many headaches with vmware and gave up on them.

You should try VirtualBox at www.virtualbox.org

It runs faster than vmware and is opensource, aka Free!

iQueue

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, June 13, 2007 11:00 PM

It's a bit sample .Now, i know how to install VS on Vista Home. One thing , you don't need to select "compatibility mode - Run as XP services Park2" .You only change owner for setup.exe file and have to login with administrators or menber of group "Administrator" role .One thing more , remember that "run this program as Administrators" . Good luck !!!

thanhquan@dirox.net

quantuweb

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, June 26, 2007 8:45 AM

Hello,

I'am trying to install Visual studio 2005 on Vista but iam getting error massege. iam sending the information which was there in log file please help me

[06/26/07,18:07:36] Microsoft Document Explorer 2005: [2] Error code -2147023829 for this component means "The process terminated unexpectedly.

"

[06/26/07,18:07:36] Microsoft Document Explorer 2005: [2] Component Microsoft Document Explorer 2005 returned an unexpected value.

[06/26/07,18:07:36] Microsoft Document Explorer 2005: [2] Return from system messaging: The process terminated unexpectedly.

[06/26/07,18:07:39] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293.

[06/26/07,18:07:39] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultCollection()

[06/26/07,18:07:56] VS70pgui: [2] DepCheck indicates Microsoft Document Explorer 2005 is not installed.

[06/26/07,18:07:56] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU was not attempted to be installed.

[06/26/07,18:07:56] VS70pgui: [2] Unknown component status for.NET Compact Framework 1.0 SP3

[06/26/07,18:07:56] VS70pgui: [2] Unknown component status for.NET Compact Framework 2.0

[06/26/07,18:07:56] VS70pgui: [2] Unknown component status forMicrosoft Visual Studio 2005 Tools for Office Runtime

[06/26/07,18:07:57] VS70pgui: [2] Unknown component status forMicrosoft Visual J# 2.0 Redistributable Package

[06/26/07,18:07:57] VS70pgui: [2] Unknown component status forSQL Server 2005 Mobile Edition

[06/26/07,18:07:57] VS70pgui: [2] Unknown component status forMicrosoft Device Emulator version 1.0

[06/26/07,18:07:57] VS70pgui: [2] Unknown component status forMicrosoft SQL Server 2005 Express Edition x86

vicky

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, July 18, 2007 5:21 AM

When i run visual studio 2005 on window vista ultimate it will run but when start it show me that The IDE is not compatible but when i press run it will work good any ideas

Mohamed

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, July 25, 2007 11:25 AM

waiting for the next release of Visual Studio, with vista compatibility...

marcel

# Visual Studio install asking for XP SP2 on Vista - the solution@ Friday, August 10, 2007 1:21 AM

A while back I blogged about a problem I had installing Visual Studio 2005 on a fresh Vista install

Kevin Dente's Blog

# re: Unable to install Visual Studio 2005 on Windows Vista@ Saturday, August 11, 2007 7:03 AM

You just not run the setup program in compatible mode when you select the property of the program.

I have met the same problem, but i solve it.

Maybe it's also ok for you.

huxin

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, September 05, 2007 8:08 AM

Unable to install Visual Studio 2005 on Windows Vista

komathi

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, September 26, 2007 6:08 AM

Don't install from the Autorun.

Browse the DVD and don't run Setup in the Root folder.

Open the Setup Folder.

Right click on the setup.exe in this folder and choose run as administrator.

This worked for me on Vista Business.

Andreas Georgsson

# re: Unable to install Visual Studio 2005 on Windows Vista@ Sunday, November 11, 2007 8:09 AM

Holy cow...Vista has given me such grief that it's not funny anymore. I've spent no less than 30 hours with this visual studio nonsense that it's not funny anymore...ok it was never funny to begin with.

Package load failures and "101 ways to fix your VS 2005 install and to make your dog not look gay" and still no joy. Thanks Microsoft...thanks for NOTHING!

You can take vista and shove it

Ron Weasley

# re: Unable to install Visual Studio 2005 on Windows Vista@ Wednesday, November 28, 2007 3:51 PM

Thank F*&^ it is not just me. I have lost so many hours with Vista that I seriously wish I was back on XP. I thought with DELL and pre-loaded Vista that I could install my visual studio and be back developing and trying to meet my deadline.

How naff are the developwers of visual studio and vista? Did no one try to install it at all before they sold it?

Anyway, I will try some of the methods suggested here and hopefully by 2009 Microsoft will have all the drivers I need (I had to buy a new printer!) and the bugs fixed, just in time for new windows.

Just wanted to rant, thanks.

Andy A

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, November 29, 2007 1:38 AM

i have my laptop with clean installation of vista home basic,& trying to install visual studio 2005 it gets successfully but while creating new project it gives error of log file plz anyone can help me?

my mailid meet_shitalit@yahoo.co.in

shital nimbalkar

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, December 06, 2007 2:23 PM

I just bought a Toshiba Laptop PC with Visa Preinstalled. When I installed Visual Studio 2005, I got exactly the same problem as  Kevin described in the very beginning in this page,

"The installer always displays the following dialog, complaining that I don't have XP SP 2 installed: ..."

What is the best solution to this problem?

Mike Yanfeng

# re: Unable to install Visual Studio 2005 on Windows Vista@ Friday, December 28, 2007 11:59 AM

I am getting the compatibility issues, and when I try to install sp1 for Vista, it comes back with a "Screw you buddy, VS is not in the proper place, so I can´t install your sp1...." and I haven´t changed any presets.

Casey

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, January 24, 2008 3:29 AM

When i treied to install visual studion 2005 for xp sp2 i got error of missing .msm files on DVD.

prem kumar

# re: Unable to install Visual Studio 2005 on Windows Vista@ Saturday, February 09, 2008 3:30 PM

I too have been thus far unable to install Visual Studio 2005.  Brand-new HP Pavillion notebook.  I run setup.exe as Administrator, I'm not using compatibility mode, and in my case the installer gets hung installing the components.  Yes, I'm sure it's hung - I gave it 8 hours.

When I click Cancel, it says it will finish installing the component and then cancel.  Which would be fine if it wasn't HUNG UP installing the component in the first place!! (What the heck good is "Cancel" if it won't cancel what it's doing??)

As an added bonus if I try to Cancel or close the installer, my system now will NOT Shutdown, Restart, or Log Off and I am even blocked from opening Task Manager unless it's already open.  Ctrl-Alt-Del is even unresponsive.  I've tried stopping all Services possible and killing all programs running in the background, but the only option at that point is to power off the system.

Woo!  Vista is great!

Greg

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, February 14, 2008 3:55 AM

re:install Visual Studio 2005 on Windows Vista But after the install gives some error for required any update file so tell me

my mail id is

amitraj.arya@gmail.com

amitraj

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, February 26, 2008 12:56 PM

I upgraded my OS from Vista basic to Vista Business edition. I am not able to Install VS 2005. I tried running the setup in administrator mode and thats also of not much help.The error is during the installation of Microsoft Document Explorer 2005.

Anupama Biswas

# re: Unable to install Visual Studio 2005 on Windows Vista@ Friday, March 07, 2008 7:03 PM

so what i gather from this is that noone was ever able to find out how to properly install any copy of VS on vista from any manufactor? cause thats great i have deadlines to meet and one computer to run it on.

Stephen

# re: Unable to install Visual Studio 2005 on Windows Vista@ Sunday, March 16, 2008 8:19 AM

I used to have the same problem as kevin, but now i solved it. I don't know if these steps r necessary but i'll tell u all the steps i made.

I)From setup.exe (right click->prperties->compatibility mode-> Run as admin)

II)Then in Control Panel-> Programs & Features->( on the right of the screen)Turn Windows Features on or off-> IIS and .Net Framework

III) Actually i don't really know if the above steps r necessary, but this is the most important one.

Click on a Folder in the cd called Setup, in it there is a logo of vs.net and is called setup. Click on it and the setup will start without asking you in the middle to update SP2.

Good luck, hope it works with u.

monamino

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, March 18, 2008 2:08 PM

fuck you bill gate

i hate vista

i can't do anything with vs2005 on vista

phuc

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, April 15, 2008 7:42 PM

Come down Phuc. You are not impolite. You are smart person but your mouth look like toilet.

If you don't like Vista buy window XP replace with your Vista. Hell phuc.

Tigerlong

# re: Unable to install Visual Studio 2005 on Windows Vista@ Friday, April 25, 2008 6:45 AM

I just ran into the same problem trying to install Visual Studio on my Vista laptop.  I followed the instructions above for setting the compatability mode.  What I found is that I had to click the button on the compatability properties page "Show setting for all users" which also had the compatability set to run in Windows XP Service pack 2.... I unchecked this, and now the program is installing with no problems.... I hope this helps someone....

Fatman

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, April 29, 2008 8:29 AM

Fatman,

Thanks for your help.

I had the same problem.

It was solved by your post ...

So thanks

Pierre (France)

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, May 01, 2008 9:53 PM

Ok well Ive read all of the responces I am a bit overwealmed and Im not quite sure if this was covered but I run the install and It seems to start correctly I put in my product key and the bottom progress bar fills up with the Microsoft Document Explorer 2005 step .. the 1st one .... it dosent freeze infact it appears to be running its more like the lights are home and no one is home the side pictures continue to scroll thru the 3 vb propaganda pictures they have can someone help me please

Wes

Wes

# re: Unable to install Visual Studio 2005 on Windows Vista@ Tuesday, May 13, 2008 5:14 PM

Thank you FATMAN!. I just went through and unchecked every executable in the root folder and the setup folder of the compatibility mode setting for XP Service Pack and the 2005 compiler finally  installed.  I have to use VS2005  for our Framework compatibility with other developers.  OK, on to the next problem.

Iris

Iris Hofle

# re: Unable to install Visual Studio 2005 on Windows Vista@ Thursday, August 28, 2008 12:21 AM

Hi I also had same problem. By turning off the compatibility option for windows service pack2 , it works.

thank you for suggestion.

Mike

Leave a Comment

(required) 
(required) 
(optional)
(required)