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