Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
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:
【原文地址】 Fixes for Common VS 2008 and .NET 3.5 Beta2 Issues 【原文发表日期】 Saturday, August 04, 2007 12:10 PM
It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback
PingBack from http://thinkingindotnet.wordpress.com/2007/08/09/parches-para-algunos-problemas-con-vs-2008-y-net-35-beta-2/
PingBack from http://aoortic.com/?p=10250
PingBack from http://aoortic.com/?p=10364
PingBack from http://projects.akela.ro/portal/architectsblog/?p=98
PingBack from http://projects.akela.ro/portal/architectsblog/?p=99
PingBack from http://www.hilpers.com/1042094-vs-2008-msdn-auf-vista