Hello Aaron
Thank you for your answer. I cleaned the 3 logs and ran the setup again. Now i get several warnings & errors, where the first one states that machine.config doesn't contain a "System.ServiceModel" section. I read again the issue-list on http://msdn2.microsoft.com/en-us/windowsvista/bb188202.aspx, where is said to remove any references to System.ServiceModel in machine.config.
Info:
The ServiceModelReg tool will take the following actions:
Reinstalling configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Reinstalling configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Reinstalling configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Adding configuration entry for BuildProvider:
System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Reinstalling compilation assembly node to System.Web section group:
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Reinstalling compilation assembly node to System.Web section group:
System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Reinstalling compilation assembly node to System.Web section group:
System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Reinstalling HttpHandlers node to System.Web section group:
*.svc
Reinstalling HttpModules node to System.Web section group:
ServiceModel
Reinstalling Web Host Script Mapping for extension: .svc
Reinstalling WMI classes.
Reinstalling Windows CardSpace (idsvc).
Reinstalling Net.Tcp Port Sharing Service (NetTcpPortSharing).
Reinstalling HTTP namespace reservations.
Warning:Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Warning: Configuration section system.runtime.serialization does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Warning: Configuration section system.serviceModel.activation does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Warning: A configuration entry for BuildProvider System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 does not exist.
Warning: All compilation assembly nodes do not exist in System.Web section group.
Warning: HttpHandlers node *.svc does not exist in System.Web section group.
Warning: HttpModules node ServiceModel does not exist in System.Web section group.
Warning: A Web Host Script Mapping does not exist for extension .svc.
Warning: Failure executing "C:\WINDOWS\system32\wbem\mofcomp.exe" with parameters ""C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"": System.ApplicationException: Unexpected result 3 executing C:\WINDOWS\system32\wbem\mofcomp.exe with "C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"
at System.ServiceModel.Install.InstallHelper.ExecuteWait(String program, String parameters, Int32[] allowedExitCodes)
at System.ServiceModel.Install.WmiInstallComponent.OnInstall(OutputLevel outputLevel)
ERROR: System.InvalidCastException: Specified cast is not valid.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()
at System.ServiceModel.Install.WmiInstallComponent.ApplyNamespaceDacl(OutputLevel outputLevel)
Info: The ServiceModelReg tool will take the following actions:
Removing configuration section system.serviceModel from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration section system.runtime.serialization from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration section system.serviceModel.activation from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Removing configuration entry for BuildProvider:
System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Removing compilation assembly node from System.Web section group:
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Removing compilation assembly node from System.Web section group:
System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Removing compilation assembly node from System.Web section group:
System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Removing HttpHandlers node from System.Web section group:
*.svc
Removing HttpModules node from System.Web section group:
ServiceModel
Removing Web Host Script Mapping for extension: .svc
Removing WMI classes.
Removing Windows CardSpace (idsvc).
Removing Net.Tcp Port Sharing Service (NetTcpPortSharing).
Removing HTTP namespace reservations.
ERROR: System.InvalidCastException: Specified cast is not valid.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at System.ServiceModel.Install.WmiInstallComponent.get_IsInstalled()
at System.ServiceModel.Install.WmiInstallComponent.Uninstall(OutputLevel outputLevel)
at Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem actionItem, Nullable`1 confirmUninstall)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
Warning: Windows CardSpace (idsvc) is not installed.
Warning: Net.Tcp Port Sharing Service (NetTcpPortSharing) is not installed.
Warning: HTTP namespace reservations are not installed.
ERROR:System.InvalidCastException: Specified cast is not valid.
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)