Microsoft KB Archive/943128

= Message when you install Visual Studio 2005 on a computer that is running Windows Vista: &quot;To complete the installation, you must have Windows XP SP2 installed on the computer&quot; =

Article ID: 943128

Article Last Modified on 10/10/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-



SYMPTOMS
When you install Microsoft Visual Studio 2005 on a computer that is running Windows Vista, you may receive a message that resembles the following:

To complete the installation, you must have Windows XP SP2 installed on the computer.



CAUSE
This problem occurs because of a compatibility mode in Windows Vista. Windows XP Service Pack 2 (SP2) is a prerequisite that is required for you to install the Microsoft .NET Framework and Visual Studio 2005 on a computer that is running Windows XP. If you run Visual Studio 2005 Setup in Windows XP compatibility mode on a computer that is running Windows Vista, the installation process examines the computer for the Windows XP prerequisites. Because you run Visual Studio 2005 Setup on a computer that is running Windows Vista and not on a computer that is running Windows XP, the installation process cannot find Windows XP SP2.



RESOLUTION
To resolve this problem, turn off the Windows XP compatibility mode for Visual Studio 2005 Setup. To do this, follow these steps:
 * 1) Right-click the Setup.exe file, and then click Properties.
 * 2) Click the Compatibility tab, click Show settings for all users, and then click Continue.
 * 3) In the Compatibility mode area, click to clear the Run the program in compatibility mode for Windows XP (Service Pack 2) check box, and then click OK.
 * 4) Run the Setup.exe file again.

Note If you install Visual Studio 2005 from a CD or from a DVD, copy the contents of the installation media to the hard disk drive, and then change the compatibility mode for the Setup.exe file.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
In the registry, Windows Vista stores information about which compatibility mode to use for each specific installation package. You can find the registry entry at the following location:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

Keywords: kbtshoot kbpubtypekc kberrmsg kbprb KB943128

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.