您的位置:首页 > 其它

如何处理在WINDOWS VISTA上安装VS2008时遇到要求安装WINDOWS XP SP2的错误和QQ对战平台安装后不能登录的问题

2008-03-07 23:14 751 查看

偶就是用这个方法解决了在VISTA上安装VS2008和QQ对战平台的兼容性问题,呵呵

http://blogs.msdn.com/astebner/archive/2007/08/02/4195204.aspx

What to do if VS 2008 or .NET Framework 3.5 beta 2 asks for Windows XP SP2 on Windows Vista

I previously posted a description of a bug in VS 2008 beta 1 and .NET Framework 3.5 beta 1 setup that can cause setup to prompt you to install Windows XP SP2 when running setup on Windows Vista. That post includes a couple of workarounds that can be used to remove the setting that Windows Vista stores that controls whether or not to run a program in Windows XP compatibility mode.

Why does this problem still happen in beta 2?

The underlying problem that caused this type of error to appear was that the beta 1 setup packages did not include embedded UAC manifests, which caused Windows Vista to treat them as legacy applications. The beta 2 setup packages now include the proper UAC manifests, so in most cases, this Windows XP SP2 prompt should no longer appear.

However, in cases where beta 1 setup previously failed on the same system, the registry setting could still exist and that may cause beta 2 setup to continue to run in Windows XP compatibility mode.

Workaround option 1 - manually clear application compatibility settings

If you see this type of error when running VS 2008 or .NET Framework 3.5 beta 2 setup, the first step I suggest is to try the workarounds listed at the bottom of this previous blog post (either changing the compatibility settings by right-clicking on the setup EXE and choosing the Compatibility tab, or manually removing entries from the registry).

Workaround option 2 - use the Program Compatibility Assistant

In a few cases I have seen, those workarounds did not cause the Windows XP SP2 error dialog to stop appearing on Windows Vista. If none of those other workarounds allow you to get past this issue, it may help to run the setup directly from within the Program Compatibility Assistant by using steps like the following:

Click on the Start menu and choose Control Panel

Select Control Panel Home view if you are currently using Classic View

Click on the item named Programs

Under Programs and Features, select Use an older program with this version of Windows – this will launch the Program Compatibility Wizard

In the wizard, click Next on the first screen

Choose I want to locate the program manually on the 2nd screen

Browse to the path of the VS 2008 or .NET Framework 3.5 setup program that you want to install and click Next

Select Do not apply a compatibility mode and click Next

Do not select any display settings and click Next

Do not check the Run this program as an administrator check box and click Next

Click Next on the confirmation page to test these settings

If setup launches and displays the welcome page instead of the Windows XP SP2 error dialog, choose Yes, set this program to always use these compatibility settings and click Next

Optionally send the information from the Program Compatibility Wizard to Microsoft
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐