[Bug 37839] Unable to license IAR Embedded Workbench Kickstart Edition 6.x/7.x (License Manager needs 'Win32_ComputerSystemProduct' WMI class)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 6 18:19:13 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=37839

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://supp.iar.com/Downloa
                   |                            |d/SW/?item=EWARM-EVAL
          Component|-unknown                    |wmi&wbemprox
            Summary|Unable to license IAR       |Unable to license IAR
                   |Embedded Workbench          |Embedded Workbench
                   |Kickstart Edition 6.70      |Kickstart Edition 6.x/7.x
                   |                            |(License Manager needs
                   |                            |'Win32_ComputerSystemProduc
                   |                            |t' WMI class)
     Ever confirmed|0                           |1

--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

Thanks for the upload but unfortunately your log didn't contain the information
needed (you killed it too early) hence I reproduced it on my own.

As I already suspected: WMI :)

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/IAR Systems/Embedded Workbench
7.0/common/bin

$ WINEDEBUG=+tid,+seh,+relay,+wbemprox wine ./LicenseManager.exe >>log.txt 2>&1
...
0028:trace:wbemprox:wbem_locator_ConnectServer 0x1d0718, L"ROOT\\CIMV2",
(null), (null), (null), 0x00000000, (null), (nil), 0x33d284)
...
0028:trace:wbemprox:WbemServices_create (0x33d284)
...
0028:trace:wbemprox:WbemServices_create returning iface 0x1d0540
...
0028:Call
ole32.CoSetProxyBlanket(001d0540,0000000a,00000000,00000000,00000003,00000003,00000000,00000000)
ret=00527676
0028:trace:wbemprox:wbem_services_QueryInterface 0x1d0540
{0000013d-0000-0000-c000-000000000046} 0x33d170
0028:fixme:wbemprox:client_security_SetBlanket 0x7d07c52c, 0x1d0540, 10, 0,
(null), 3, 3, (nil), 0x00000000
0028:fixme:wbemprox:client_security_Release 0x7d07c52c
0028:Ret  ole32.CoSetProxyBlanket() retval=00000000 ret=00527676
...
0028:trace:wbemprox:wbem_services_ExecQuery 0x1d0540, L"WQL", L"SELECT * FROM
Win32_ComputerSystemProduct", 0x00000030, (nil), 0x33d27c
...
0028:trace:wbemprox:parse_query wql_parse returned 0
...
0028:trace:wbemprox:EnumWbemClassObject_create returning iface 0x1d1950
....
0028:trace:wbemprox:enum_class_object_Next 0x1d1950, -1, 1, 0x33d270, 0x33d274
0028:trace:wbemprox:wbem_services_Release destroying 0x1d0540
....
0028:trace:wbemprox:wbem_locator_Release destroying 0x1d0718
...
0028:trace:wbemprox:enum_class_object_Release destroying 0x1d1950
...
0028:Call msvcr90.strlen(006fdd38 "The lock criteria for the specified lock
selector is not available") ret=7e500412
...
0028:Call winex11.drv.SetWindowText(00010164,01eb0818 L"Failed to request
licenses.\nCould not get the right locking code.\nThe lock criteria for the
specified lock selector is not available") ret=7ec58809 
--- snip ---

The license manager likely wants some nice UUIDs to uniquely identify the
machine for activation mechanism hence queries for
'Win32_ComputerSystemProduct'.
It specifically looks at the 'UUID' property.

MSDN: http://msdn.microsoft.com/en-us/library/aa394105%28v=vs.85%29.aspx

$ sha1sum EWARM-CD-7304-8187.exe 
fd40746be0e5fbcdb93b05e54a8c8f412204e607  EWARM-CD-7304-8187.exe

$ du -sh EWARM-CD-7304-8187.exe 
742M    EWARM-CD-7304-8187.exe

$ wine --version
wine-1.7.33-158-g25f24f2

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list