如何处理在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
相关文章推荐
- 如何解决安装VMware后郑广电宽带客户端不能登录的问题?
- 如何解决卸载VS2008加载安装组件时遇到问题
- SQL2005开发版安装中“性能监视器计数器要求(错误)”和“com+目录问题警告处理”问题的解决
- 数据库安装错误的解决方式 【转】如何处理 SQL Server 安装过程中的 COM+ 检查失败问题 - ...
- 最近遇到在xp下不能安装mdac2.7问题的处理方法。
- 如何解决安装CentOS时遇到引导分区位于一个GPT分区方案的错误提示问题
- 如何解决USB设备在Windows Vista下不能识别的问题!
- oracle安装中遇到的问题 修改计算机名后不能连接
- 关于VS2008生成的debug版应用程序在未安装VS的电脑上不能运行的问题
- vs2008 目标框架 发布遇到的问题. (总是必须安装3.5框架的解决办法)
- 如何处理编写HPP时遇到的重定义问题
- VS2008卸载报错,加载安装组件时遇到问题,取消安装
- ubuntu 14.04遇到“已安装的 post-installation 脚本 返回了错误号 127 ”问题的解决
- 如何处理监控类直播中遇到的奇葩问题
- win7之64位下安装oracle11g遇到问题和不能删除干净的问题
- VS2008序列号/注册码/删除/维护 VS2008时出现:“加载安装组件时遇到问题。”的解决办法
- 如何处理CloudFoundry应用部署时遇到的254错误
- SQL2005安装问题 性能监视器计数器要求(错误)解决办法
- 解决 SQL Server 连接到服务器 错误223 18456 等各种sa用户不能登录问题
- 解决 MSN Messenger 不能登录的问题 ( 错误代码:80072f19)!