https://bugs.winehq.org/show_bug.cgi?id=41565
Bug ID: 41565 Summary: WMI error in object Win32_ComputerSystemProduct, property UUID Product: Wine Version: 1.8.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: atraversi@gosierra.com Distribution: ---
HI
Sorry, my english is bad.
I'm trying to use my Windows app in Mac with Wine 1.8.4. In my application, I use WbemScripting (WMI) to obtain a unique serial number of the PC. I use the object Win32_ComputerSystemProduct, property: UUID. In a bottle with Windows 7, this property returns "00000000-0000-0000-0000-000000000000"
Regards, Angel Traversi
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Does your app fail because it gets a null UUID?
https://bugs.winehq.org/show_bug.cgi?id=41565
Angel atraversi@gosierra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.8.5 |1.8.4
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #2 from Angel atraversi@gosierra.com --- (In reply to Hans Leidekker from comment #1)
Does your app fail because it gets a null UUID?
My app needs to have a unique ID on each PC, because it is used in a licensing system
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- (In reply to Angel from comment #2)
(In reply to Hans Leidekker from comment #1)
Does your app fail because it gets a null UUID?
My app needs to have a unique ID on each PC, because it is used in a licensing system
Can you rely on getting a unique ID on Windows? The documentation for Win32_ComputerSystemProduct.UUID says that a string of all zeros is returned when a UUID is not available. This suggests that you can't, but maybe in practice it is always available.
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #4 from Angel atraversi@gosierra.com --- (In reply to Hans Leidekker from comment #3)
(In reply to Angel from comment #2)
(In reply to Hans Leidekker from comment #1)
Does your app fail because it gets a null UUID?
My app needs to have a unique ID on each PC, because it is used in a licensing system
Can you rely on getting a unique ID on Windows? The documentation for Win32_ComputerSystemProduct.UUID says that a string of all zeros is returned when a UUID is not available. This suggests that you can't, but maybe in practice it is always available.
Actually my ID is a mix between UUID mensioned, the Volume serial number of drive C and other IDs, but I will not go into detail because it is confidential and does not make the problem. This combination never gives null (or strings with zeros) on a real or virtual PC with Windows.
Instead, the opposite happens with Wine: for example, the volume serial number of any drive is always 0000. Then combine the two Ids is always the same on a Mac with Wine and that's a huge problem for me. And this, with a real Windows, this does not happen
https://bugs.winehq.org/show_bug.cgi?id=41565
Angel atraversi@gosierra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Mac OS X Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #5 from Angel atraversi@gosierra.com --- I updtate two bad properties in the report:
1. Hardware type to "x84-64" 2. Operating system to "Mac OS X"
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #6 from Angel atraversi@gosierra.com --- (In reply to Hans Leidekker from comment #3)
(In reply to Angel from comment #2)
(In reply to Hans Leidekker from comment #1)
Does your app fail because it gets a null UUID?
My app needs to have a unique ID on each PC, because it is used in a licensing system
Can you rely on getting a unique ID on Windows? The documentation for Win32_ComputerSystemProduct.UUID says that a string of all zeros is returned when a UUID is not available. This suggests that you can't, but maybe in practice it is always available.
There any way to get a unique id of the mac, that Wine will have support?
https://bugs.winehq.org/show_bug.cgi?id=41565
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |96c46b1ca7a0718c8b179677059 | |3c4ad9cb3e850 Resolution|--- |FIXED
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- This should be fixed with 96c46b1ca7a0718c8b1796770593c4ad9cb3e850. Please test.
https://bugs.winehq.org/show_bug.cgi?id=41565
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.22.
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #9 from Angel atraversi@gosierra.com --- (In reply to Alexandre Julliard from comment #8)
Closing bugs fixed in 1.9.22.
Thank you very much!!
Regards, Angel
https://bugs.winehq.org/show_bug.cgi?id=41565
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=41565
--- Comment #10 from Michael Stefaniuc mstefani@redhat.com --- Remove 1.8.x target milestone from bugs that didn't make it into 1.8.x for one reason or another. This are all included in the stable 2.0 release.
https://bugs.winehq.org/show_bug.cgi?id=41565
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---