Monday, March 17, 2008

Installing Visual Studio Extensions for WCF after an upgrade to .NET 3.0 Service Pack 1

Yesterday, I got stuck installing Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP after my computer had been upgraded to .NET Framework 3.0 Service Pack 1. The installation fails with a warning that a prerequisite, i.e. Microsoft .NET framework 3.0, is missing.

A quick search on the Internet gave me the following trick which works:

  1. Add the following key and value to the registry aimed at luring the installer:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{15095BF3-A3D7-4DDF-B193-3A496881E003}]
    "DisplayName"="Microsoft .NET Framework 3.0"
  2. Install vsextwfx.msi.
  3. Remove the key above.

Source: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2550726&SiteID=1.
Thanks Erich.

No comments: