.NET Framework 3.5 OR .Net Framework 3.0 Setup might fail while installing WCF components

The following steps could be tried to diagnose the problem:

Please verify that .Net Framework 2.0 is installed properly. You might want to start with .NET Framework setup verification tool. The .NET Framework setup verification tool is available for download at the following location: http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%7C_Tools/netfx%7C_setupverifier%7C_new.zip


You can try the following steps to locate this type of error in the application event log:

1. Click on the Start menu, choose Run, type eventvwr and click OK
2. Click on the Application log on the left side of the Event Viewer
3. Locate the application event log entries with time stamps that match the time stamps of the custom action listed in the verbose MSI log files
4. Look for errors with the source value set to System.ServiceModel.Install (this is the assembly that is loaded by ServiceModelReg.exe to perform the registration that it needs to do)

Step -2
Check the following registry keys. Please delete them after taking a backup

i. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC Bridge\Performance
ii. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceModelEndpoint\Performance
iv. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceModelService\Performance
v. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMSvcHost\Performance

Command Prompt

1. In the command prompt, type: sc delete “InfoCard Service"
2. Reboot the machine

Run the WMI diagnostics and repair tool available at http://www.microsoft.com/downloads/details.aspx?familyid=D7BA3CD6-18D1-4D05-B11E-4C64192AE97D&displaylang=en to repair the WMI service.
A description of the tool is available at http://technet.microsoft.com/en-us/scriptcenter/default.aspx Rerun the .NET Framework 3.0/3.5 setup utility

Remove the stale machine.config entries by hand
From a command window run “notepad
Remove any xml nodes and child nodes that reference System.ServiceModel.dll

1. Uninstall IIS.
2. Re-install IIS.
3. Re-run .NET Framework 3.0 setup