http://bugs.winehq.org/show_bug.cgi?id=16882
--- Comment #7 from Anastasius Focht focht@gmx.net 2012-02-23 14:54:28 CST --- Hello Dan,
--- quote --- This still seems to make 'winetricks dotnet30' fail for me with wine-1.4rc4. --- quote ---
Works for me. Did you really use a clean WINEPREFIX?
The bug was created at a time when Wine WBEM proxy didn't exist yet and the class factory instantiation failure is considered a "hard" error:
--- snip --- ServiceModelReg [12:50:19:516]: System.InvalidCastException: Retrieving the COM class factory for component with CLSID {4590F811-1D3A-11D0-891F-00AA004B2E24} failed due to the following error: 80004002. ... --- snip ---
Nowadays with wbemprox present the check for WMI classes still fails in "servicemodelreg" tool - at later stage. This is not considered a "hard" error: 0x80041001 (WBEM_E_FAILED) -> translated to COM Error 0x80131501 -> "Generic failure" (managed exception thrown and caught).
--- snip --- ... servicemodelreg [21:35:29:530]: Repairing: WMI Classes servicemodelreg [21:35:29:531]: Starting tool 'C:\windows\system32\wbem\mofcomp.exe' with parameters '"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"'. servicemodelreg [21:35:29:540]: servicemodelreg [21:35:29:540]: servicemodelreg [21:35:29:540]: Tool 'C:\windows\system32\wbem\mofcomp.exe' with parameters '"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModel.mof"' exited with code '0'. servicemodelreg [21:35:29:585]: Error: WMI classes are not installed. servicemodelreg [21:35:29:586]: Repairing: Windows CardSpace (idsvc) servicemodelreg [21:35:29:600]: Repairing: Net.Tcp Port Sharing Service (NetTcpPortSharing) servicemodelreg [21:35:29:611]: Uninstalling: HTTP Namespace Reservations servicemodelreg [21:35:29:614]: Warning: HTTP namespace reservations are not installed. servicemodelreg [21:35:29:615]: Installing: HTTP Namespace Reservations servicemodelreg [21:35:29:617]: Information: The ServiceModelReg tool has completed successfully. --- snip ---
Regards