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. :-)