http://bugs.winehq.org/show_bug.cgi?id=22937
Summary: WBEM / WMI not implemented Product: Wine Version: unspecified Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: felix.nawothnig@gmail.com
Wine is currently missing an WBEM / WMI implementation.
IWbemLocator::ConnectServer() is stubbed and returns WBEM_E_FAILED.
As part of a host-locking algorithm my application (we all have to pay our rent) tries to connect to \.\ROOT\CIMV2, executes the WQL command
"SELECT * FROM Win32_OperatingSystem"
and looks for the "SerialNumber" property there, which is among the information used to generate a host-key which is later matched against the entered license-key.
Obviously this fails at the first step, causing my application to refuse to start.
Although this can be categorized as a copy-protection issue I'm not doing any dirty tricks here - just using a perfectly normal, documented interface to query some information about the system (which could be implemented in wine without problems by simply generating a random SerialNumber during initial registry setup or something).
So much for the bug-report - I realize this is nothing new but I couldn't find anything in bugzilla and this might after all affect other applications too (searching the net you find quite some fixme stubs from wbem_locator_ConnectServer).
I also realize that implementing WBEM is not an easy task done over the weekend. :-)
http://bugs.winehq.org/show_bug.cgi?id=22937
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other OS/Version|All |other Severity|normal |enhancement
http://bugs.winehq.org/show_bug.cgi?id=22937
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.2-rc2
http://bugs.winehq.org/show_bug.cgi?id=22937
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #1 from GyB gyebro69@gmail.com 2010-07-25 00:23:22 --- Elven Legacy (and all of its expansions) shows a warning dialogue when starting:
'WMI:pIWbemLocator->ConnectServer failed: 0x80041001'
However, the error is not fatal, you can continue loading the game up. Probably because of the lacking implementation of the WMI infrastructure, the game doesn't detect the amount of video memory correctly (it always sticks to 128 Mb installed).
Wine-1.2
http://bugs.winehq.org/show_bug.cgi?id=22937
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dank@kegel.com Ever Confirmed|0 |1
--- Comment #2 from Dan Kegel dank@kegel.com 2010-08-21 15:55:58 --- OnLive's client seems to suffer from this (once you get past an ioctl problem):
fixme:wbemprox:wbem_locator_ConnectServer 0x156bc0, L"\\.\root\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0xa5efcc) trace:seh:raise_exception code=c0000005 flags=0 addr=0x65f643ed ip=65f643ed tid=0009 ... 0009:Call user32.MessageBoxA(00000000,00a5e7cc "The application has encountered an unexpected error.\n\nPress OK button to exit the application.",0075f1a0 "The Application Encountered a Problem",00010040) ret=00444ab4
http://bugs.winehq.org/show_bug.cgi?id=22937
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|NEW |RESOLVED CC| |focht@gmx.net Component|-unknown |wmi&wbemprox Resolution| |DUPLICATE Severity|enhancement |normal
--- Comment #3 from Anastasius Focht focht@gmx.net 2010-09-19 14:56:26 CDT --- Hello,
dupe of bug 20651
Regards
*** This bug has been marked as a duplicate of bug 20651 ***
http://bugs.winehq.org/show_bug.cgi?id=22937
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2010-09-19 23:14:49 CDT --- Closing duplicate.