<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Aaron Stebner's WebLog</title><subtitle type="html">Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio</subtitle><id>http://blogs.msdn.com/astebner/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/astebner/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-08-30T19:04:00Z</updated><entry><title>Visual Studio 2010 and .NET Framework 4 release candidate now available for download</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2010/02/08/9960136.aspx" /><id>http://blogs.msdn.com/astebner/archive/2010/02/08/9960136.aspx</id><published>2010-02-09T02:03:12Z</published><updated>2010-02-09T02:03:12Z</updated><content type="html">&lt;p&gt;As announced earlier today on &lt;a href="http://blogs.msdn.com/somasegar/archive/2010/02/08/visual-studio-2010-and-net-framework-4-release-candidate-now-available.aspx"&gt;Soma’s blog&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/jasonz/archive/2010/02/09/announcing-vs2010-net-framework-4-release-candidate-rc.aspx"&gt;Jason Zander’s blog&lt;/a&gt;, the Visual Studio 2010 and .NET Framework 4 release candidate builds are available for download (today if you are an &lt;a href="https://msdn.microsoft.com/en-us/subscriptions/securedownloads/default.aspx?pv=18:370"&gt;MSDN subscriber&lt;/a&gt; and this Wednesday, February 10, 2010 for the general public).&amp;#160; Here are links where you can find additional information and provide feedback to the product teams:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=151797"&gt;Visual Studio 2010 and .NET Framework 4 Release Candidate home page&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx"&gt;VS 2010 release candidate feature walkthroughs&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=183244"&gt;VS 2010 and .NET Framework 4 release candidate survey&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9960136" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET Framework 4.0" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+4.0/default.aspx" /></entry><entry><title>Link to a picture showing what version of the .NET Framework is built into what version of Windows</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2010/02/05/9959091.aspx" /><id>http://blogs.msdn.com/astebner/archive/2010/02/05/9959091.aspx</id><published>2010-02-06T00:16:49Z</published><updated>2010-02-06T00:16:49Z</updated><content type="html">&lt;p&gt;For a while now, I’ve been maintaining a list of &lt;a href="http://blogs.msdn.com/astebner/archive/2007/03/14/mailbag-what-version-of-the-net-framework-is-included-in-what-version-of-the-os.aspx"&gt;what version of the .NET Framework ships with each version of Windows&lt;/a&gt;.&amp;#160; The list has gotten longer and more complicated over time as new versions of Windows and the .NET Framework have been released, plus the .NET Framework is off by default in some server versions of Windows.&lt;/p&gt;  &lt;p&gt;Today, I noticed that &lt;a href="http://blogs.msdn.com/pmarcu/"&gt;Peter Marcu&lt;/a&gt; posted a very handy graphical view of what versions of the .NET Framework starting with 2.0 are a part of what version of Windows, including whether it is optional and on or off by default when you install Windows.&lt;/p&gt;  &lt;p&gt;You can check out this graphical view at &lt;a title="http://blogs.msdn.com/pmarcu/archive/2010/02/05/which-version-of-net-is-built-into-windows.aspx" href="http://blogs.msdn.com/pmarcu/archive/2010/02/05/which-version-of-net-is-built-into-windows.aspx"&gt;http://blogs.msdn.com/pmarcu/archive/2010/02/05/which-version-of-net-is-built-into-windows.aspx&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9959091" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Windows Vista" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+Vista/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 3.5 setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+3.5+setup+and+deployment/default.aspx" /><category term="Windows 7" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+7/default.aspx" /></entry><entry><title>TurboTax 2009 can fail to install because it thinks the .NET Framework is not installed, even when it is</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2010/01/26/9953883.aspx" /><id>http://blogs.msdn.com/astebner/archive/2010/01/26/9953883.aspx</id><published>2010-01-27T05:22:00Z</published><updated>2010-01-27T05:22:00Z</updated><content type="html">&lt;P&gt;I’ve heard from a few customers over the past few days who have had trouble installing the new 2009 version of &lt;A href="http://turbotax.intuit.com/" mce_href="http://turbotax.intuit.com/"&gt;TurboTax&lt;/A&gt;.&amp;nbsp; In the cases I’ve heard about so far, the installer for TurboTax reports that the .NET Framework 3.5 SP1 is not correctly installed and instructs the user to re-install it.&amp;nbsp; Unfortunately, attempts to uninstall and re-install the .NET Framework did not help in some of these cases.&lt;/P&gt;
&lt;P&gt;Behind the scenes, it appears that TurboTax setup is running a verification process that is similar to the &lt;A href="http://blogs.msdn.com/astebner/pages/8999004.aspx" mce_href="http://blogs.msdn.com/astebner/pages/8999004.aspx"&gt;.NET Framework setup verification tool&lt;/A&gt;.&amp;nbsp; This verification process checks that files and registry keys that should be installed by the .NET Framework 2.0, 3.0 and 3.5 setup packages are correctly installed on the computer.&amp;nbsp; It is possible for the .NET Framework to be installed but for some of the files and/or registry values to have been removed by some other program (such as a registry cleaner tool, a disk cleanup tool, or even manual deletion by the user).&lt;/P&gt;
&lt;P&gt;If TurboTax reports a problem with the .NET Framework 3.5, it suggests that you try to uninstall and re-install the .NET Framework 3.5.&amp;nbsp; However, the exact steps needed to do this depend on what version of Windows you are running, and this has ended up causing confusion for the users I’ve heard from so far because the different steps aren’t very well documented in general.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For Windows XP and Windows Server 2003&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you are running a version of Windows before Windows Vista (such as Windows XP or Windows Server 2003), then in most cases, you can use the entry in Add/Remove Programs to repair the .NET Framework 3.5 or 3.5 SP1.&amp;nbsp; If that doesn’t help, then you can use &lt;A href="http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx"&gt;the steps in this blog post&lt;/A&gt; to remove and then re-install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7"&gt;.NET Framework 3.5 SP1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For Windows Vista or Windows Server 2008&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you are running Windows Vista or Windows Server 2008, then the .NET Framework 2.0 and 3.0 are installed as OS components.&amp;nbsp; As a result, the repair steps are more complicated.&amp;nbsp; You will need to try the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Try to repair the .NET Framework 3.5 or 3.5 SP1 using the entry in the Programs and Features control panel.&lt;/LI&gt;
&lt;LI&gt;If that doesn’t help, try to use &lt;A href="http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx"&gt;the steps in this blog post&lt;/A&gt; to remove and re-install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7"&gt;.NET Framework 3.5 SP1&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;If the above steps do not help, run &lt;STRONG&gt;sfc.exe /scannow&lt;/STRONG&gt; to attempt to repair the files that are a part of your OS (which will also repair some parts of the .NET Framework).&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;For Windows 7&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you are running Windows 7, then the .NET Framework 2.0, 3.0 and 3.5 are all installed as OS components, and you cannot remove or re-install these versions using the Programs and Features control panel.&amp;nbsp; On Windows 7, this is your only built-in repair option:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Run &lt;STRONG&gt;sfc.exe /scannow&lt;/STRONG&gt; to attempt to repair the files that are a part of your OS (which will also repair some parts of the .NET Framework).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;What to do if the above doesn’t help&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, sfc.exe will only repair files that are protected by Windows Resource Protection.&amp;nbsp; For the .NET Framework, only binary files that can be repaired using sfc.exe.&amp;nbsp; Non-binary files (such as .config files) and registry keys cannot be repaired using sfc.exe.&amp;nbsp; For non-binary files, the only options are to manually replace them with files from other computers or to repair your OS.&amp;nbsp; For registry keys, the only options are to manually re-create them in regedit.exe or to repair your OS.&lt;/P&gt;
&lt;P&gt;Here are some steps I’ve been able to use to narrow down the exact missing files and/or registry keys that cause TurboTax setup to think that the .NET Framework 3.5 SP1 is not correctly installed:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Download and run the TurboTax verification utility from &lt;A title=http://turbotax.intuit.com/support/kb/installing/errors/7659.html href="http://turbotax.intuit.com/support/kb/installing/errors/7659.html" mce_href="http://turbotax.intuit.com/support/kb/installing/errors/7659.html"&gt;http://turbotax.intuit.com/support/kb/installing/errors/7659.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;When the utility finishes, click the button named Save Logs on Desktop&lt;/LI&gt;
&lt;LI&gt;Go to your desktop and open the zip file named TurboTax2009UtilityLogFiles*.zip&lt;/LI&gt;
&lt;LI&gt;Find the file named *_TurboTax 2009 Utility – *.log (where the first * is a date-time stamp and the 2nd * is a version number)&lt;/LI&gt;
&lt;LI&gt;Search for the string ****ERROR**** in this log file and take note of the files and/or registry keys that it reports are missing&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;From the information in this log file, it is usually possible to figure out what files and/or registry keys need to be manually repaired on the computer.&amp;nbsp; So far, the cases I’ve seen reported missing .config files and we have been able to get TurboTax setup to run correctly after copying the .config files from another computer or downloading them &lt;A href="http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx20%5E_missing%5E_config%5E_files.zip" mce_href="http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx20%5E_missing%5E_config%5E_files.zip"&gt;from here&lt;/A&gt; and putting them in&amp;nbsp;the locations reported in this log file.&lt;/P&gt;
&lt;P&gt;If you run into problems getting TurboTax 2009 setup to run correctly due to errors related to the .NET Framework 3.5, I encourage you to try the steps above.&amp;nbsp; If they don’t help, please don’t hesitate to leave a comment on my blog and/or &lt;A href="http://blogs.msdn.com/astebner/contact.aspx" mce_href="http://blogs.msdn.com/astebner/contact.aspx"&gt;contact me&lt;/A&gt; and I’ll try to help as best as I can.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;update date="2/3/2010"&amp;gt; Added a link to a &lt;/EM&gt;&lt;A href="http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx20%5E_missing%5E_config%5E_files.zip" mce_href="http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx20%5E_missing%5E_config%5E_files.zip"&gt;&lt;EM&gt;zip file&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt; that I posted with the .config files that have been causing the majority of the issues with TurboTax setup that I've seen so far. &amp;lt;/update&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9953883" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Miscellaneous" scheme="http://blogs.msdn.com/astebner/archive/tags/Miscellaneous/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Mailbag" scheme="http://blogs.msdn.com/astebner/archive/tags/Mailbag/default.aspx" /><category term="Windows Vista" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+Vista/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term="Diagnosing" scheme="http://blogs.msdn.com/astebner/archive/tags/Diagnosing/default.aspx" /><category term="Windows 7" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+7/default.aspx" /></entry><entry><title>A simpler way to add Windows Installer major upgrade functionality to your MSI in WiX v3.5</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2010/01/19/9950545.aspx" /><id>http://blogs.msdn.com/astebner/archive/2010/01/19/9950545.aspx</id><published>2010-01-19T21:33:08Z</published><updated>2010-01-19T21:33:08Z</updated><content type="html">&lt;p&gt;&lt;a href="http://www.joyofsetup.com/"&gt;Bob Arnson&lt;/a&gt; has been working on some simplifications to the WiX language in WiX v3.5, and he has posted some introductory information about a couple of these changes on his blog.&amp;#160; I wanted to link to them here to hopefully help raise visibility for these simplifications:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/"&gt;Simplified Windows Installer major upgrade authoring&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.joyofsetup.com/2009/12/31/simplifying-wix-component-authoring/"&gt;Simplified Component authoring&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I have found the &lt;a href="http://msdn.microsoft.com/library/aa369786.aspx"&gt;major upgrade&lt;/a&gt; simplifications to be particularly useful.&amp;#160; A while back, I wrote a &lt;a href="http://blogs.msdn.com/astebner/archive/2008/12/16/9229827.aspx"&gt;step-by-step guide&lt;/a&gt; for authoring, building and testing major upgrades using WiX, and that guide later got added to the &lt;a href="http://wix.sourceforge.net/manual-wix3/major_upgrade.htm"&gt;WiX documentation&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;As you can see in &lt;a href="http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/"&gt;Bob’s blog post&lt;/a&gt; and in the &lt;a href="http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm"&gt;WiX MajorUpgrade element&lt;/a&gt; documentation, Bob’s simplifications will allow WiX v3.5 to handle creating the Upgrade table elements, scheduling the RemoveExistingProducts action, and optionally blocking downgrades if a user tries to install an older version of the MSI after installing a newer version.&amp;#160; You only need to make sure that you include UpgradeCode and Version attributes in your Product element, and then you can use the new MajorUpgrade element in your WiX v3.5 authoring.&lt;/p&gt;  &lt;p&gt;If you choose to, you can continue to use the more verbose syntax described in my previous blog post or the WiX documentation for authoring a major upgrade, but you could instead convert to the new MajorUpgrade element in order to more clearly express the behavior you intend for your MSI and to simplify your setup authoring.&lt;/p&gt;  &lt;p&gt;The major upgrade and component authoring functionality described in the above blog posts is available in WiX v3.5 builds starting with the &lt;a href="http://wix.sourceforge.net/releases/3.5.1315.0/"&gt;v3.5.1315.0 build on SourceForge&lt;/a&gt;, and I encourage you to check them out.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9950545" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="WiX" scheme="http://blogs.msdn.com/astebner/archive/tags/WiX/default.aspx" /><category term="Windows Installer" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+Installer/default.aspx" /></entry><entry><title>Possible issue where machine.config can be overwritten by .NET Framework 2.0 SP2 setup</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/12/21/9939744.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/12/21/9939744.aspx</id><published>2009-12-21T20:07:00Z</published><updated>2009-12-21T20:07:00Z</updated><content type="html">&lt;P&gt;&lt;STRONG&gt;Description of the issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I heard from someone recently who noticed that some information was removed from the file &lt;A href="http://msdn.microsoft.com/library/ms229697.aspx" mce_href="http://msdn.microsoft.com/library/ms229697.aspx"&gt;machine.config&lt;/A&gt; after installing the .NET Framework 2.0 SP2.&amp;nbsp; Their scenario looked like the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install Windows XP or Windows Server 2003&lt;/LI&gt;
&lt;LI&gt;Install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6"&gt;.NET Framework 3.5&lt;/A&gt; (which installs 2.0 SP1 and 3.0 SP1 behind the scenes, and which adds some information about 3.5 assemblies to the 2.0 machine.config)&lt;/LI&gt;
&lt;LI&gt;Install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5b2c0358-915b-4eb5-9b1d-10e506da9d0f" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5b2c0358-915b-4eb5-9b1d-10e506da9d0f"&gt;.NET Framework 2.0 SP2&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Look at the contents of machine.config (located at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config on an x86 OS or C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config on an x64 OS)&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In the above scenario, the entries added to machine.config during .NET Framework 3.5 installation in step 2 were removed from machine.config during .NET Framework 2.0 SP2 installation in step 3.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to work around this issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you run into a scenario where machine.config is incorrectly overwritten when installing the .NET Framework 2.0 SP2, you can work around it in one of the following ways:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If you have not yet installed the .NET Framework 2.0 SP2, you can manually back up your copy of machine.config, then copy it back after installing the .NET Framework 2.0 SP2.&lt;/LI&gt;
&lt;LI&gt;If you have already installed the .NET Framework 2.0 SP2, you can repair/re-install other products that updated machine.config (such as the .NET Framework 3.5), or you can manually re-add the information to machine.config that was removed by the .NET Framework 2.0 SP2 installation process.&lt;/LI&gt;
&lt;LI&gt;Instead of installing the standalone .NET Framework 2.0 SP2 package, you could instead install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7"&gt;.NET Framework 3.5 SP1&lt;/A&gt; package (which will also install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).&amp;nbsp; The .NET Framework 3.5 SP1 installation process will add the necessary information to machine.config that may otherwise be missing in this scenario.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;What can cause this issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;.NET Framework 2.0 SP2 setup follows the standard &lt;A href="http://msdn2.microsoft.com/library/aa370532.aspx" mce_href="http://msdn2.microsoft.com/library/aa370532.aspx"&gt;Windows Installer file replacement logic for unversioned files&lt;/A&gt;, which causes it to not replace machine.config if that file was updated by some other program after it was originally installed.&amp;nbsp; However, we have seen some cases where the last modified time stamp does not get updated during .NET Framework 3.5 setup.&amp;nbsp; If this happens, then the installation of the .NET Framework 2.0 SP2 does not correctly recognize that some other program has updated machine.config, and as a result, the .NET Framework 2.0 SP2 installation process overwrites machine.config with a default copy that is included with the .NET Framework 2.0 SP2 installer.&lt;/P&gt;
&lt;P&gt;One note – so far, we have only seen this issue affect computers that have an MSI-based version of the .NET Framework 2.0 installed (Windows XP, Windows Server 2003).&amp;nbsp; The issue does not appear to affect versions of Windows that include the .NET Framework 2.0 as an OS component (Windows Vista, Windows Server 2008, Windows 7).&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;update date="12/29/2009"&amp;gt; Added another possible workaround for this issue - install the .NET Framework 3.5 SP1 package instead of just installing the .NET Framework 2.0 SP2 package. &amp;lt;/update&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9939744" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 3.5 setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+3.5+setup+and+deployment/default.aspx" /></entry><entry><title>Fix for possible NGen service deadlocks during product installation is coming in the .NET Framework 4</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/12/04/9932858.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/12/04/9932858.aspx</id><published>2009-12-05T01:16:36Z</published><updated>2009-12-05T01:16:36Z</updated><content type="html">&lt;p&gt;A while back, I wrote a &lt;a href="http://blogs.msdn.com/astebner/archive/2007/04/07/ngen-service-can-cause-deadlocks-during-product-installation-in-some-scenarios.aspx"&gt;blog post&lt;/a&gt; about a scenario that can lead to deadlocks when using synchronous native image generation (NGen) actions in a setup program.&amp;#160; I recently heard from Surupa Biswas (the program manager on the NGen team at Microsoft who originally informed me of this issue), and she let me know that her team has implemented a fix in the NGen service that will solve this problem in the upcoming release of the .NET Framework 4.&amp;#160; The fix is not available in the .NET Framework 4 beta 2, but will be available in the final release early in 2010.&amp;#160; Here is more information about the issue, the fix, and the implications for setup programs that use NGen.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In previous versions of the .NET Framework, any setup that includes NGen actions for optional components can &lt;a href="http://blogs.msdn.com/astebner/archive/2007/04/07/ngen-service-can-cause-deadlocks-during-product-installation-in-some-scenarios.aspx"&gt;potentially cause deadlocks&lt;/a&gt; because the NGen service may invoke the installation and native image generation for an optional component, and the NGen service is not fully re-entrant.&amp;#160; In the upcoming release of the .NET Framework 4, the NGen team has addressed this potential deadlock by modifying NGen so that it never invokes the installation and native image generation for an optional component.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What will happen at NGen time&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When NGen attempts to generate a native image for A.dll, and A.dll has a static dependency on some optional component B.dll that is not yet installed, NGen will generate a partial native image for A.dll (whereas the previous version of NGen would have attempted to install and generate a native image for B.dll, which led to potential deadlocks).&amp;#160; This partial native image contains all the native code and data structures that can be generated without using information from B.dll.&amp;#160; For example, if a type in A.dll inherits from a type in B.dll or contains some fields of types defined in B.dll, then this type will not be included in the partial native image.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What will happen at execution time&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When the user runs a managed application that uses A.dll, the CLR will load the partial native image for it.&amp;#160; Any native code and data structures that are included in the native image can be used by CLR in the normal way.&amp;#160; If the application tries to use a type or method that is missing from the partial native image, the CLR will notice the missing information, and it will try to generate the data structures or JIT compile the missing methods.&amp;#160; Since B.dll is needed to generate the data structures, the CLR will ask the setup program for A.dll and B.dll to install the optional component B.dll.&amp;#160; After B.dll is installed, the application can continue running.&amp;#160; It is safe for the setup program for A.dll and B.dll to issue both synchronous and asynchronous NGen commands in this case.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What setup should do&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Installing B.dll will invalidate the partial native image for A.dll.&amp;#160; The partial native image can still be used by any applications that are already running at the time when B.dll is installed, but all applications started later will need a new (complete) native image of A.dll.&amp;#160; The setup program should therefore request that NGen recompile A.dll when it installs B.dll.&amp;#160; To trigger this recompilation, the NGen team recommend that the setup program issue the command &lt;strong&gt;ngen.exe update /queue&lt;/strong&gt; command at the end of the installation process.&amp;#160; This will ensure that all native images that depend on B.dll are updated.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9932858" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term=".NET Framework 4.0" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+4.0/default.aspx" /></entry><entry><title>Mailbag: Why does Windows Update continue offering the .NET Framework 3.5 SP1 after I install it?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/11/24/9928253.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/11/24/9928253.aspx</id><published>2009-11-24T21:57:53Z</published><updated>2009-11-24T21:57:53Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I recently installed the &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7"&gt;.NET Framework 3.5 SP1&lt;/a&gt; on my computer.&amp;#160; Afterwards, I went to the Windows Update site to check for updates, and I see the following item in the list of updates that my computer needs:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update for .NET versions 2.0 through 3.5 (KB951847)&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Does this mean that the .NET Framework 3.5 SP1 failed to install correctly when I installed it previously?&amp;#160; What do I do to fix this issue?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;No, this does not mean that the .NET Framework 3.5 SP1 failed to install correctly on your system.&amp;#160; Unfortunately, the wording of the name of this update in Windows Update is confusing.&amp;#160; The &lt;a href="http://support.microsoft.com/?kbid=959209"&gt;.NET Framework 3.5 Family Update&lt;/a&gt; is an additional hotfix package that needs to be installed after installing the .NET Framework 3.5 SP1.&amp;#160; Windows Update automatically bundles the .NET Framework 3.5 SP1 with the .NET Framework 3.5 Family Update if it detects that the .NET Framework 3.5 SP1 is not yet installed on your computer.&amp;#160; However, if the .NET Framework 3.5 SP1 is already installed on your computer, Windows Update will only install the .NET Framework 3.5 Family Update even though the name of the item includes “Microsoft .NET Framework 3.5 Service Pack 1” in it.&lt;/p&gt;  &lt;p&gt;If your computer is in this state, you should be able to simply allow Windows Update to install the &lt;a href="http://support.microsoft.com/?kbid=959209"&gt;.NET Framework 3.5 Family Update&lt;/a&gt; on your system.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Additional troubleshooting steps in case the .NET Framework 3.5 Family Update fails to install&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Note that if the .NET Framework 3.5 Family Update fails to install, there should be log files created on your computer to help narrow down the cause of the failure further.&amp;#160; They will be located in a sub-directory of your %temp% directory and have a folder name that includes the KB number of the .NET Framework 3.5 Family Update.&amp;#160; There are several possible KB numbers for the .NET Framework 3.5 Family Update:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;KB958481&lt;/li&gt;    &lt;li&gt;KB958483&lt;/li&gt;    &lt;li&gt;KB958484&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9928253" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Mailbag" scheme="http://blogs.msdn.com/astebner/archive/tags/Mailbag/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 3.5 setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+3.5+setup+and+deployment/default.aspx" /></entry><entry><title>WiX v3.5 now includes support for Visual Studio 2010 beta 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/11/16/9923341.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/11/16/9923341.aspx</id><published>2009-11-17T02:41:20Z</published><updated>2009-11-17T02:41:20Z</updated><content type="html">&lt;p&gt;As previously posted on &lt;a href="http://robmensching.com/blog/posts/2009/10/30/WiX-v3.5-3s-Visual-Studio-2010-Beta-2"&gt;Rob Mensching’s blog&lt;/a&gt; and &lt;a href="http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/"&gt;Bob Arnson’s blog&lt;/a&gt;, builds of WiX v3.5 starting with the &lt;a href="http://wix.sourceforge.net/releases/"&gt;3.5.1030.0 build&lt;/a&gt; include support for Visual Studio 2010 beta 2.&amp;#160; Here are some highlights:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://msdn.microsoft.com/library/dd293638(VS.100).aspx"&gt;Extension Manager&lt;/a&gt; integration – you can download and install WiX v3.5 directly from within the VS 2010 IDE; to do this, launch VS 2010 Professional Edition or higher, click on the Tools menu, choose Extension Manager...., select the Online Gallery on the left side of the Extension Manager UI, expand Tools, then Build, and you’ll see the Windows Installer XML Toolset listed there.&lt;/li&gt;    &lt;li&gt;WiX can now run on the .NET Framework 4 and it can process .NET Framework 4 assemblies during builds.&lt;/li&gt;    &lt;li&gt;Major performance improvement when building WiX projects in the VS IDE – you will no longer see the VS IDE appear to hang during builds.&lt;/li&gt;    &lt;li&gt;Automatic upgrade of .wixproj files from the VS 2008 file format to the VS 2010 file format.&lt;/li&gt;    &lt;li&gt;Improvements in the VS IDE experience for WiX projects – drag/drop of nodes, copy/paste of items, project references.&lt;/li&gt;    &lt;li&gt;Visual Studio 2010 Express Edition detection properties and custom actions have been added to the &lt;a href="http://wix.sourceforge.net/manual-wix3/wixvsextension.htm"&gt;WixVSExtension&lt;/a&gt;.&lt;/li&gt;    &lt;li&gt;Numerous other miscellaneous bug fixes.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you encounter any bugs with these new features or have suggestions for improvements, please report them on the &lt;a href="https://sourceforge.net/tracker/?group_id=105970&amp;amp;atid=642714"&gt;WiX bug reporting site&lt;/a&gt; or the &lt;a href="https://sourceforge.net/tracker/?group_id=105970&amp;amp;atid=642717"&gt;WiX feature request site&lt;/a&gt;.&amp;#160; If you have any questions about using these new features or about WiX in general, I encourage you to use the &lt;a href="http://wix.sourceforge.net/mailinglists.html#wix-users"&gt;WiX mailing lists&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9923341" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="WiX" scheme="http://blogs.msdn.com/astebner/archive/tags/WiX/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET Framework 4.0" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+4.0/default.aspx" /></entry><entry><title>Suggestions for resolving installation errors for .NET Framework security update MS09-061</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/10/23/9912209.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/10/23/9912209.aspx</id><published>2009-10-23T20:01:37Z</published><updated>2009-10-23T20:01:37Z</updated><content type="html">&lt;p&gt;I have heard from several people over the past week or so who have had problems getting the recently released &lt;a href="http://www.microsoft.com/technet/security/bulletin/ms09-061.mspx"&gt;.NET Framework security update (MS09-061)&lt;/a&gt; to install correctly on their system when it is offered to them by Windows Update or Microsoft Update.&amp;#160; This blog post will describe what this type of failure typically looks like and will offer some steps you can use to try to resolve this type of error.&lt;/p&gt;  &lt;p&gt;For reference, this .NET Framework security update is listed on the Windows Update download page with several different possible knowledge base numbers, depending on what version of the .NET Framework the update applies to and what operating system you are running.&amp;#160; Here is a list of knowledge base article numbers for this security update:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;For the .NET Framework 2.0 on operating systems before Windows Vista - KB953300 and KB974417&lt;/li&gt;    &lt;li&gt;For the .NET Framework 2.0 on Windows Vista and Windows Server 2008 - KB974468, KB974292, KB974467, KB974291, KB974469 and KB974470&lt;/li&gt;    &lt;li&gt;For the .NET Framework 1.1 - KB953297&lt;/li&gt;    &lt;li&gt;For the .NET Framework 1.0 - KB953295 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Description of the issue&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If this .NET Framework security update or any other update fails to install when running it from the Windows Update site, you will normally see Windows Update report back a generic error code of 0x643 or 1603.&amp;#160; This is a catch-all error code that means that setup failed, but it doesn’t provide any more detailed information about why it failed or how to fix the failure.&lt;/p&gt;  &lt;p&gt;In most cases, when a .NET Framework update fails to install with a 0x643 or 1603 error code, it means that there is something wrong with the version of the .NET Framework that is installed on the system that the update is supposed to be fixing.&amp;#160; There are a few different ways to go about resolving this error and getting the update to install successfully.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to solve the issue by uninstalling and re-installing the .NET Framework&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The simplest way to solve this type of issue is to use the steps listed at &lt;a href="http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx"&gt;http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx&lt;/a&gt; to remove all versions of the .NET Framework from your system, then re-install them in the following order: &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7"&gt;.NET Framework 3.5 SP1&lt;/a&gt; (this version of the .NET Framework will also install the .NET Framework 2.0 SP2 and the .NET Framework 3.0 SP2 for you behind the scenes, so you don’t need to re-install 2.0 or 3.0 using separate steps)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3"&gt;.NET Framework 1.1&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=a8f5654f-088e-40b2-bbdb-a83353618b38"&gt;.NET Framework 1.1 SP1&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;After this, you should be able to go back to the Windows Update site, scan for updates again and install the latest updates for the .NET Framework 1.1 and 2.0 from there.&lt;/p&gt;  &lt;p&gt;Note – after removing all versions of the .NET Framework, you do not necessarily have to re-install the .NET Framework 1.0 or 1.1 if you do not have any applications that are using them.&amp;#160; Most .NET applications will automatically use the latest version of the .NET Framework that is installed on your system, and those that do not will give an error message indicating that you need to install a different version.&amp;#160; There is more information about this scenario in &lt;a href="http://blogs.msdn.com/astebner/archive/2009/04/20/9557946.aspx"&gt;this blog post&lt;/a&gt; if you are interested in reading further.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to solve the issue by finding more information about the root cause&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The above steps involve uninstalling, re-downloading and re-installing all of the versions of the .NET Framework on your system, which can be a bit time consuming.&amp;#160; Instead, if you prefer, you can try to narrow down the root cause of the .NET Framework security update installation error further and try to solve this issue without performing all of the .NET Framework uninstalls and re-installs listed above.&lt;/p&gt;  &lt;p&gt;There are a couple of things I usually do to try to narrow down the root cause of this type of .NET Framework security update installation failure further:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Try to download and install the update yourself instead of letting Windows Update install it for you.     &lt;br /&gt;      &lt;br /&gt;Windows Update always runs the installers for updates in silent mode, which can hide some useful error messages if the updates fail.&amp;#160; You can find the links to download this .NET Framework security update by going to the &lt;a href="http://www.microsoft.com/technet/security/bulletin/ms09-061.mspx"&gt;page for the security bulletin&lt;/a&gt;, scrolling down to the Affected Software table, and locating the link in the Component column of the table that corresponds to the version of the .NET Framework you need to update and the operating system you are running.      &lt;br /&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Look at the setup log files created by the security update.     &lt;br /&gt;      &lt;br /&gt;This .NET Framework security update should create log files in a sub-directory under your %temp% directory.&amp;#160; The sub-directory will have the knowledge base article number in the name.&amp;#160; For example, the .NET Framework 1.1 security update (KB953297) will create logs in a folder named %temp%\NDP1.1sp1-KB953297-X86.&lt;/li&gt; &lt;/ol&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912209" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 3.5 setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+3.5+setup+and+deployment/default.aspx" /><category term="Essentials for setup troubleshooting" scheme="http://blogs.msdn.com/astebner/archive/tags/Essentials+for+setup+troubleshooting/default.aspx" /><category term="Diagnosing" scheme="http://blogs.msdn.com/astebner/archive/tags/Diagnosing/default.aspx" /></entry><entry><title>Link to information about .NET Framework 4 setup and deployment improvements</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/10/22/9911783.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/10/22/9911783.aspx</id><published>2009-10-23T00:34:52Z</published><updated>2009-10-23T00:34:52Z</updated><content type="html">&lt;p&gt;&lt;a href="http://blogs.msdn.com/pmarcu"&gt;Peter Marcu&lt;/a&gt; has posted some detailed information about improvements that have been made to the setup and deployment process for the .NET Framework 4 starting with the recently released &lt;a href="http://msdn.microsoft.com/vstudio/dd582936.aspx"&gt;.NET Framework 4 beta 2 and Visual Studio 2010 beta 2&lt;/a&gt;.&amp;#160; The improvements have been made to solve issues that exist in the .NET Framework 3.5 and 3.5 SP1 and to address customer feedback that has been received from previous releases.&amp;#160; The improvements that Peter describes are focused on the following areas:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Size&lt;/strong&gt; – making the overall download and install size of the .NET Framework 4 smaller&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Robustness &lt;/strong&gt;– making the download and installation process more reliable&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Performance&lt;/strong&gt; – making the download and install time faster&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I encourage you to read Peter’s blog post at &lt;a title="http://blogs.msdn.com/pmarcu/archive/2009/09/30/net-framework-4-0-beta-2-deployment.aspx" href="http://blogs.msdn.com/pmarcu/archive/2009/09/30/net-framework-4-0-beta-2-deployment.aspx"&gt;http://blogs.msdn.com/pmarcu/archive/2009/09/30/net-framework-4-0-beta-2-deployment.aspx&lt;/a&gt; to learn more about the specific improvements being made to the .NET Framework setup and deployment process in the .NET Framework 4 product.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9911783" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 4.0" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+4.0/default.aspx" /></entry><entry><title>Important uninstall instructions for migrating from the .NET Framework 4 and VS 2010 beta 1 to beta 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/10/19/9909489.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/10/19/9909489.aspx</id><published>2009-10-19T22:29:00Z</published><updated>2009-10-19T22:29:00Z</updated><content type="html">&lt;P&gt;As noted on &lt;A href="http://blogs.msdn.com/somasegar/archive/2009/10/19/announcing-visual-studio-2010-and-net-fx-4-beta-2.aspx" mce_href="http://blogs.msdn.com/somasegar/archive/2009/10/19/announcing-visual-studio-2010-and-net-fx-4-beta-2.aspx"&gt;Soma’s blog&lt;/A&gt;, the &lt;A href="http://msdn.microsoft.com/vstudio/dd582936.aspx" mce_href="http://msdn.microsoft.com/vstudio/dd582936.aspx"&gt;.NET Framework 4 beta 2 and Visual Studio 2010 beta 2&lt;/A&gt; have been released today.&amp;nbsp; If you previously had the .NET Framework 4 beta 1 and/or Visual Studio 2010 beta 1 installed, there are some very important uninstall instructions that you must follow in order to fully uninstall beta 1 so that beta 2 will work correctly.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you had the .NET Framework 4 beta 1 and/or VS 2010 beta 1 installed, please follow the instructions at &lt;/STRONG&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=167718" mce_href="http://go.microsoft.com/fwlink/?LinkID=167718"&gt;&lt;STRONG&gt;http://go.microsoft.com/fwlink/?LinkID=167718&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt; to fully uninstall beta 1 before you install beta 2.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;These instructions explain how to fully uninstall VS 2010 beta 1 and then fully uninstall the .NET Framework 4 beta 1.&amp;nbsp; If you do not follow the above instructions, you may see a crash dialog during the installation of VS 2010 beta 2, and you may see package load failures when trying to use VS 2010 beta 2.&amp;nbsp; The instructions linked above also contain steps to repair the .NET Framework 4 beta 2 and VS 2010 beta 2 in order to recover from these errors.&lt;/P&gt;
&lt;P&gt;If you run into any issues that are not covered by the above instructions, I encourage you to check out the &lt;A href="http://social.msdn.microsoft.com/Forums/en-US/category/VSPreRelease,netdevelopmentprerelease,visualstudioprerelease,vstsprerelease" mce_href="http://social.msdn.microsoft.com/Forums/en-US/category/VSPreRelease,netdevelopmentprerelease,visualstudioprerelease,vstsprerelease"&gt;.NET Framework 4 and VS 2010 pre-release forums&lt;/A&gt; for additional troubleshooting suggestions and workarounds.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909489" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Visual Studio setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+setup+and+deployment/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET Framework 4.0" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+4.0/default.aspx" /></entry><entry><title>Diagnosing and resolving 1935 errors for Win32 assemblies that occur on Windows Vista and later</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/10/07/9904471.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/10/07/9904471.aspx</id><published>2009-10-07T17:24:00Z</published><updated>2009-10-07T17:24:00Z</updated><content type="html">&lt;P&gt;&lt;STRONG&gt;Introduction&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1935 errors can occur during an MSI-based installation while installing .NET assemblies or Win32 assemblies.&amp;nbsp; Most of the workarounds that can be found on blogs and forums (including all of the information in my &lt;A href="http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx"&gt;1935 error troubleshooting guide&lt;/A&gt;) only apply to 1935 errors that happen while installing .NET assemblies.&lt;/P&gt;
&lt;P&gt;This blog post will explain how to troubleshoot 1935 errors that occur while attempting to install Win32 assemblies in an MSI-based installer.&lt;/P&gt;
&lt;P&gt;The information in this blog post only applies to Windows Vista and later versions of Windows, and it also only applies to Win32 assemblies.&lt;/P&gt;
&lt;P&gt;For additional information about troubleshooting 1935 errors that occur on versions of Windows before Windows Vista and that occur for managed (.NET Framework) assemblies, please refer to the &lt;A href="http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx"&gt;1935 error troubleshooting guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to identify a 1935 error caused by a Win32 assembly on Windows Vista and later&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;For 1935 errors that occur while installing Win32 assemblies in an MSI-based setup (which I have seen most commonly in the past for Visual C++ runtime files), there are some specific diagnosis and troubleshooting steps that you will need to use that are different than the ones used for managed assemblies.&lt;/P&gt;
&lt;P&gt;On Windows Vista and higher, Windows Installer uses the same underlying installation engine as the OS component installation engine (also known as CBS) to install Win32 assemblies.&amp;nbsp; As a result, anything that can cause an OS update or hotfix to fail to install can cause this type of 1935 error.&amp;nbsp; You will typically need to do some more in-depth analysis on the affected system in order to narrow down the root cause and identify possible solutions.&lt;/P&gt;
&lt;P&gt;When this type of 1935 error occurs, you will see the following information in a verbose MSI log file:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;MSI (s) (54:32) [12:34:56:789]: Assembly Error (sxs): To get more diagnostic information, enable the Component Based Servicing Log.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;How to identify a root cause and possible solution&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As the above log file entry suggests, there is not enough detailed error information in a verbose MSI log file to determine a root cause of this type of 1935 error.&amp;nbsp; That means you will need to look in the Component Based Servicing (CBS) log file to try to narrow down the root cause further.&amp;nbsp; This log file is enabled and created by default on Windows Vista and higher, and it is located at %windir%\logs\cbs\cbs.log.&lt;/P&gt;
&lt;P&gt;You will notice that cbs.log is typically very large and can be difficult to read.&amp;nbsp; What I typically do is look at the time stamps for the 1935 error messages in the verbose MSI log file, then cross-reference those time stamps with the ones listed in cbs.log to try to find the exact error in cbs.log.&amp;nbsp; From there, I use the links listed in the blog post at &lt;A href="http://blogs.msdn.com/astebner/archive/2009/03/12/9472695.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2009/03/12/9472695.aspx"&gt;http://blogs.msdn.com/astebner/archive/2009/03/12/9472695.aspx&lt;/A&gt; to find more detailed information about the error code that is listed in cbs.log and to try to come up with workarounds from there. &lt;/P&gt;
&lt;P&gt;In some cases, the operating system will lock the file cbs.log so that you cannot open it.&amp;nbsp; In those cases, it usually works to make a copy of cbs.log in a new location and then open the copy of the file instead.&lt;/P&gt;
&lt;P&gt;Unfortunately, a 1935 error caused by a Win32 assembly on Windows Vista and later can be a pain to diagnose and solve because of the wide range of possible causes.&amp;nbsp; I have had the most luck in the past by using the System Update Readiness Tool to solve issues related to the OS component installation engine.&amp;nbsp; There are some steps listed at &lt;A href="http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx"&gt;http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx&lt;/A&gt; that I recommend trying in a lot of these scenarios.&lt;/P&gt;
&lt;P&gt;Note - If you see error code 0x800705aa (which means ERROR_NO_SYSTEM_RESOURCES) in your cbs.log file, then it could be caused by the issue described in &lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=1148&amp;amp;t=287391#902480" mce_href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=1148&amp;amp;t=287391#902480"&gt;this discussion thread&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;update date="1/18/2010"&amp;gt; Added a link to a discussion of error code 0x800705aa in cbs.log. &amp;lt;/update&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9904471" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Windows Vista" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+Vista/default.aspx" /><category term="Windows Installer" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+Installer/default.aspx" /><category term="Diagnosing" scheme="http://blogs.msdn.com/astebner/archive/tags/Diagnosing/default.aspx" /><category term="Windows 7" scheme="http://blogs.msdn.com/astebner/archive/tags/Windows+7/default.aspx" /></entry><entry><title>Mailbag: How to manage reboots when installing multiple versions of the .NET Framework</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/09/28/9900528.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/09/28/9900528.aspx</id><published>2009-09-29T03:59:10Z</published><updated>2009-09-29T03:59:10Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I am planning a network deployment of the .NET Framework, and I need to deploy all versions from 1.0 through 3.5 SP1 if any are missing on each of the computers on the network.&amp;#160; I have 2 questions related to reboots:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Is it possible to install all versions of the .NET Framework without any reboot being required? &lt;/li&gt;    &lt;li&gt;If it is not possible, can I ignore all reboot prompts and only reboot once after installing all versions of the .NET Framework?&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;It is not possible to guarantee with 100% accuracy whether or not a reboot will be needed before running .NET Framework setup.&amp;#160; Reboots during .NET Framework setup are caused by files being in use that need to be updated during the installation process.&amp;#160; Whether or not a reboot will be needed depends on the state of the computer that .NET Framework setup is being run on.&amp;#160; If there are any .NET Framework applications or services running on the computer, then they can lead to reboots being needed during installation of the .NET Framework.&lt;/p&gt;  &lt;p&gt;When deploying the .NET Framework, you should install in &lt;a href="http://blogs.msdn.com/astebner/archive/2009/04/16/9553804.aspx"&gt;silent or unattended mode&lt;/a&gt; and rely on the exit codes from the installation processes to determine whether or not a reboot is needed.&amp;#160; All .NET Framework setup packages will return the following exit codes:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;0 – installation is successful and no reboot is needed &lt;/li&gt;    &lt;li&gt;3010 – installation is successful and a reboot is needed &lt;/li&gt;    &lt;li&gt;Any other value – installation failed &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you receive a 3010 exit code from a .NET Framework installation process, you can safely defer the reboot until after you install all versions of the .NET Framework.&amp;#160; However, you must schedule a reboot at the end of the overall installation process if you receive a 3010 exit code from any of the .NET Framework installation processes.&amp;#160; You cannot safely defer a requested reboot if you also plan to install or run a .NET Framework application on the computer.&amp;#160; All .NET Framework applications require that the .NET Framework be fully installed before they will be able to run reliably, including completing any reboots that are requested. &lt;/p&gt;  &lt;p&gt;If you plan to install all versions of the .NET Framework on a computer, you can minimize the number of reboot requests that you might get by doing the following:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;If possible, close any .NET Framework applications and stop any .NET Framework services that are running on the computer before running any .NET Framework setup.&lt;/li&gt;    &lt;li&gt;Create an administrative install point for the .NET Framework 1.1 + the latest service packs and updates if desired. &lt;/li&gt;    &lt;li&gt;Create an administrative install point for the .NET Framework 1.0 + the latest service packs and updates if desired. &lt;/li&gt;    &lt;li&gt;Install the .NET Framework 4 if desired.&lt;/li&gt;    &lt;li&gt;Install the .NET Framework 3.5 SP1 (which will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes). &lt;/li&gt;    &lt;li&gt;Install the .NET Framework 1.1 + the latest SP from the install point created in step 2. &lt;/li&gt;    &lt;li&gt;Install the .NET Framework 1.0 + the latest SP from the install point created in step 3. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Installing the versions of the .NET Framework from newest to oldest will help ensure that the highest versions of any shared files are installed first.&amp;#160; That way, even if the files end up in use during the later installation processes, the .NET Framework setup program will not need to replace them because a higher version will already be installed. &lt;/p&gt;  &lt;p&gt;There are example steps for creating the administrative install points described in steps 2 and 3 above in the blog post at &lt;a href="http://blogs.msdn.com/astebner/archive/2005/03/05/385971.aspx"&gt;http://blogs.msdn.com/astebner/archive/2005/03/05/385971.aspx&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9900528" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Setup Issues" scheme="http://blogs.msdn.com/astebner/archive/tags/Setup+Issues/default.aspx" /><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="Mailbag" scheme="http://blogs.msdn.com/astebner/archive/tags/Mailbag/default.aspx" /><category term=".NET Framework setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+setup+and+deployment/default.aspx" /><category term=".NET Framework 3.5 setup and deployment" scheme="http://blogs.msdn.com/astebner/archive/tags/.NET+Framework+3.5+setup+and+deployment/default.aspx" /></entry><entry><title>XNA Game Studio 3.1 Zune Extensions now available for download</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/09/15/9895543.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/09/15/9895543.aspx</id><published>2009-09-15T22:21:45Z</published><updated>2009-09-15T22:21:45Z</updated><content type="html">&lt;p&gt;The &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=48f7ba37-8ba7-4d16-8873-0b7f83ef77f9"&gt;XNA Game Studio 3.1 Zune Extensions&lt;/a&gt; was posted on the Microsoft Download Center today.&amp;#160; This product can be installed on a system that has &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=80782277-d584-42d2-8024-893fcd9d3e82"&gt;XNA Game Studio 3.1&lt;/a&gt; installed, and it adds the following functionality to the XNA Game Studio 3.1 product:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The ability to develop and deploy games to the new &lt;a href="http://www.zune.net"&gt;Zune HD media player&lt;/a&gt; using XNA Game Studio 3.1.&lt;/li&gt;    &lt;li&gt;New touch APIs to the XNA Framework for use on the Zune HD.&lt;/li&gt;    &lt;li&gt;New accelerometer APIs to the XNA Framework for use on the Zune HD.&lt;/li&gt;    &lt;li&gt;New documentation and samples that demonstrate how to use the new touch and accelerometer APIs.&lt;/li&gt;    &lt;li&gt;A new tutorial demonstrating how to add support for the new touch APIs to the Platformer starter kit that ships with XNA Game Studio 3.1.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Here are a couple of links to help you get started installing and using the XNA Game Studio 3.1 Zune Extensions:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Download location - &lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=48f7ba37-8ba7-4d16-8873-0b7f83ef77f9" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=48f7ba37-8ba7-4d16-8873-0b7f83ef77f9"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=48f7ba37-8ba7-4d16-8873-0b7f83ef77f9&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Creators Club forum post - &lt;a href="http://forums.xna.com/forums/p/38975/226669.aspx"&gt;http://forums.xna.com/forums/p/38975/226669.aspx&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9895543" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="XNA - General info" scheme="http://blogs.msdn.com/astebner/archive/tags/XNA+-+General+info/default.aspx" /><category term="XNA Game Studio 3.1" scheme="http://blogs.msdn.com/astebner/archive/tags/XNA+Game+Studio+3.1/default.aspx" /></entry><entry><title>Possible workarounds for project type is not supported by this installation error in XNA Game Studio</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/astebner/archive/2009/08/30/9889189.aspx" /><id>http://blogs.msdn.com/astebner/archive/2009/08/30/9889189.aspx</id><published>2009-08-31T02:04:00Z</published><updated>2009-08-31T02:04:00Z</updated><content type="html">&lt;P&gt;&lt;EM&gt;Note - my colleague&amp;nbsp;&lt;/EM&gt;&lt;A class="" href="http://blogs.msdn.com/ito/" mce_href="http://blogs.msdn.com/ito/"&gt;&lt;EM&gt;Yuichi Ito&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt; has provided a Japanese version of the information in this blog post.&amp;nbsp; You can find it at &lt;/EM&gt;&lt;A class="" href="http://blogs.msdn.com/ito/archive/2009/11/16/the-project-type-is-not-supported-by-this-installation.aspx" mce_href="http://blogs.msdn.com/ito/archive/2009/11/16/the-project-type-is-not-supported-by-this-installation.aspx"&gt;&lt;EM&gt;this location on his blog&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Every so often, I hear from a user who has encountered an error like the following while trying to open an XNA Game Studio project in Visual Studio:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The project type is not supported by this installation.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There are a couple of common causes that I’ve seen for this type of error, so I wanted to describe each of them here in case they help anyone who encounters this type of error in the future.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Issue 1: The project file is from a version of XNA Game Studio not installed on the system&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you have an XNA Game Studio project created with a different version than you have installed on your system (for example, if you download a sample from the &lt;A href="http://creators.xna.com/education/" mce_href="http://creators.xna.com/education/"&gt;Creators Club site&lt;/A&gt; or something like that), then you might encounter this error.&lt;/P&gt;
&lt;P&gt;There are automatic upgrade paths for some versions of XNA Game Studio, but not for all of them.&amp;nbsp; An XNA Game Studio Express 1.0 or 1.0 Refresh game can be opened with XNA Game Studio 2.0.&amp;nbsp; An XNA Game Studio 2.0 project can be opened with XNA Game Studio 3.0 or 3.1.&amp;nbsp; An XNA Game Studio 3.0 project can be opened with XNA Game Studio 3.1.&amp;nbsp; Other combinations may lead to this error message.&lt;/P&gt;
&lt;P&gt;For example, you cannot open a project created with XNA Game Studio 3.0 on a system that only has XNA Game Studio 2.0 installed or has Visual Studio 2008 but does not have XNA Game Studio 3.0 installed.&lt;/P&gt;
&lt;P&gt;If this is the issue causing the error on your system, you will need to make sure that you have the version of XNA Game Studio installed that the project was created with, or you can create a new project using the version of XNA Game Studio that you have installed and then import the code and content from the original project as a workaround.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Issue 2: The XNA Game Studio package is not loading properly&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In some cases, XNA Game Studio is installed, but there is some kind of problem that causes it to fail to load correctly in Visual Studio.&amp;nbsp; I have seen this happen in the past (for example, in &lt;A href="http://forums.xna.com/forums/p/31995/182989.aspx" mce_href="http://forums.xna.com/forums/p/31995/182989.aspx"&gt;this forum post&lt;/A&gt;) when a user encountered a package load failure dialog like the following, and then clicked on the Yes button.&amp;nbsp; Doing this will prevent Visual Studio from loading the XNA Game Studio package in the future (which is why I personally always make sure to click No if I ever encounter a package load failure dialog within Visual Studio):&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://d9p7ma.blu.livefilestore.com/y1pKIeVrDefCNz7XEgfRoH7KniUSb496Us3rY-gHXHOfwApWGpsdUF6ZXATl-YfIa7FtyleR23JkBYz2NR0wqwJUQKxWBGyq2b9/xgs31_package_load_failure.jpg" mce_src="http://d9p7ma.blu.livefilestore.com/y1pKIeVrDefCNz7XEgfRoH7KniUSb496Us3rY-gHXHOfwApWGpsdUF6ZXATl-YfIa7FtyleR23JkBYz2NR0wqwJUQKxWBGyq2b9/xgs31_package_load_failure.jpg"&gt;&lt;/P&gt;
&lt;P&gt;If this is the cause of the error message on your system, you can run one of the following command lines to reset Visual Studio so that it will not automatically skip loading the XNA Game Studio package the next time you run Visual Studio:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;For Visual Studio 2005 Standard Edition and higher:&lt;/STRONG&gt;&amp;nbsp; %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\devenv.exe /ResetSkipPkgs&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;For Visual C# 2005 Express Edition:&lt;/STRONG&gt;&amp;nbsp; %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\vcsexpress.exe /ResetSkipPkgs&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;For Visual Studio 2008 Standard Edition and higher:&lt;/STRONG&gt;&amp;nbsp; %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe /ResetSkipPkgs&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;For Visual C# 2008 Express Edition:&lt;/STRONG&gt;&amp;nbsp; %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\vcsexpress.exe /ResetSkipPkgs&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Note – the above command lines assume that you have installed Visual Studio to the default location.&amp;nbsp; You may need to modify the command lines depending on where Visual Studio is installed on your system.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;update date="11/16/2009"&amp;gt; Added a link to a &lt;A class="" href="http://blogs.msdn.com/ito/archive/2009/11/16/the-project-type-is-not-supported-by-this-installation.aspx" mce_href="http://blogs.msdn.com/ito/archive/2009/11/16/the-project-type-is-not-supported-by-this-installation.aspx"&gt;Japanese version&lt;/A&gt; of the information in this blog post.&amp;nbsp; Thanks &lt;A class="" href="http://blogs.msdn.com/ito/" mce_href="http://blogs.msdn.com/ito/"&gt;Ito&lt;/A&gt;! &amp;lt;update&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889189" width="1" height="1"&gt;</content><author><name>astebner</name><uri>http://blogs.msdn.com/members/astebner.aspx</uri></author><category term="Visual Studio and .NET Framework" scheme="http://blogs.msdn.com/astebner/archive/tags/Visual+Studio+and+.NET+Framework/default.aspx" /><category term="XNA Game Studio 2.0" scheme="http://blogs.msdn.com/astebner/archive/tags/XNA+Game+Studio+2.0/default.aspx" /><category term="XNA Game Studio 3.0" scheme="http://blogs.msdn.com/astebner/archive/tags/XNA+Game+Studio+3.0/default.aspx" /><category term="XNA Game Studio 3.1" scheme="http://blogs.msdn.com/astebner/archive/tags/XNA+Game+Studio+3.1/default.aspx" /></entry></feed>