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.
Recently, a fellow employee contacted me with a question about unattended installation of Visual Studio 2005 on Windows Vista. They were following the instructions that I posted in this blog post to prevent unattended installation from trying to install the .NET Framework 2.0 and the instructions in this blog post to control reboots.
However, when they ran the unattended install on the final version of Windows Vista, they saw a few pop-up application compatibility warning dialogs during installation that looked like the one I described in this blog post. They asked me how to suppress these dialogs, and since I didn't know for sure how to do this automatically, I talked to some people who work on the Windows application compatibility team.
I was able to use the following steps to automatically suppress the application compatibility warnings that normally appear during Visual Studio 2005 setup on Windows Vista:
The GUIDs listed in steps 3, 4 and 5 are associated with SQL Server 2005 Express Edition (which is installed during Visual Studio 2005 setup) and the GUID listed in step 6 is associated with the Visual Studio 2005 IDE (devenv.exe) which is launched during Visual Studio 2005 setup to configure some settings.
I was able to figure out the exact list of GUIDs by using a really interesting tool - the Application Compatibility Toolkit 5.0. You can download this toolkit at this location if you are interested in trying it out - http://www.microsoft.com/downloads/details.aspx?FamilyID=24da89e9-b581-47b0-b45e-492dd6da2971&displaylang=en
The Application Compatibility Toolkit 5.0 includes a tool that lets you view, enable and disable all of the application compatibility fixes that are included as a part of Windows Vista. These are the steps I used to determine what GUID values needed to be set in the registry to disable the application compatibility warnings for Visual Studio 2005:
You can also use the Search and Query buttons in the Compatibility Administrator tool if you are not sure of the exact name of the application or binary that is causing the application compatibility message to appear.
<update date="2/27/2007"> The final version of the Microsoft Application Compatibility Toolkit v5.0 has been released. Updating links to point to the final version instead of the old beta version. </update>
Question: I have been running silent installations of Visual Studio 2005 on Windows XP and Windows Server
A while back, I posted a set of instructions that can be used to suppress application compatibility warning
Here's a link to instructions for those looking to supress warnings from programs other than VS2005: