Wednesday, December 24, 2008

Visual Studio 2005 Extensions WCF, WPF

I had heck of a time installing Visual studio 2005 extensions for WPF, WCF

To go through the installation process without any issues follow process mentioned by Microsoft with some tricks. Strictly follow the order of installation/uninstallation suggested by Microsoft

If you have any higher version of .NET installed in your system, I'm sure you are going to have fun time.

Visual Studio 2005 already installed with .NET Framework 2.0, then all that you need to do it install .NET Framework 3.0 and/or .NET Framework 3.0 SP1, I believe it will be dotnetfx30SP1setup.exe or dotnetfx3setup.exe

Install VS 2005 Entension for WCF - vsextwfx.msi

One of the common problem/error people received is
"Setup has detected that a prereqisite is missing. To use Visual Studio 2005 Extension for .NET Framework 3.0(WCF, WPF), November 2006 CTP, you must have .NET Framework 3.0 runtime installed. Please install .NET Framework 3.0 runtime and restart setup."

This problem could be because, you do not have .NET Framework 3.0 installed - In this case first install .NET 3.0 and then continue
If you haad installed .NET Framework 3.0 SP1 and you still receive this error, don't fret. This is Microsoft BUG. Visual Studio 2005 Extension for .NET Framework 3.0 Installer is not able to understand .NET 3.0 SP1 as .NET 3.0. to get rid of the issue, you have to manually say to the installer that you already have right version of .NET Framework.

Here are the steps to do it
1. Open command prompt
2. Browse to the directory that contains the installer vsextwfx.msi
3. Execute msiexec /i vsextwfx.msi WRC_INSTALLED_OVERRIDE=1
4. You'll receive a couple of message boxes, click OK.
5. It'll take a while for installation
6. Restart, and you are all set

No comments: