https://bugs.winehq.org/show_bug.cgi?id=41384
Bug ID: 41384 Summary: Office 2010: Activation doesn't work after wine-staging 1.9.3 Product: Wine-staging Version: 1.9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jvtr@f.fxnxs.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
After comparing logs between wine-staging versions 1.9.3 and 1.9.4 I have realized an unsuccessful call happening to SetupDiGetDeviceRegistryProperty with property value 1 (SPDRP_HARDWAREID). HardwareId is not present, because the patch <b>setupapi-Display_Device/0001-setupapi-Create-registry-keys-for-display-devices-an.patch</b> creates keys for the display device (create_display_keys) without HardwareID value. Before the patch there was no device info and thus no calls from application to get that property.
Workaround is simple - create registry value HardwareID of type REG_MULTI_SZ with value "PCI\VEN_0000&DEV_0000" (to be honest I don't know what constitutes the right values) in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\VEN_0000&DEV_0000\13&12345&0. It can even be empty for the activation to work.
example registry file:
REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\VEN_0000&DEV_0000\13&12345&0] "HardwareId"=hex(7):50,43,49,5c,56,45,4e,5f,30,30,30,30,26,44,45,56,5f,30,30,\ 30,30,00,00,00,00
Tested with Microsoft Word 2010 version 14.0.7015.1000.
https://bugs.winehq.org/show_bug.cgi?id=41384
--- Comment #1 from jvtr@f.fxnxs.com --- I don't know if it makes any difference, but the activation type was KMS for a Volume Licensed Office 2010 (could be tested with vlmcsd).
https://bugs.winehq.org/show_bug.cgi?id=41384
--- Comment #2 from jvtr@f.fxnxs.com --- Sorry for spamming, but for testing it might be worth noting the workaround for KMS activation should any problems arise: https://bugs.winehq.org/show_bug.cgi?id=30033#c6 (comment no 6).
Also I have set the default GVLK key using: https://bugs.winehq.org/show_bug.cgi?id=30033#c31 (comment no 31).
https://bugs.winehq.org/show_bug.cgi?id=41384
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- I forgot to mention it here, but this should be fixed with 1.9.20. (see https://github.com/wine-compholio/wine-staging/commit/6b626b3f42dedb9c672c79...)
Can you confirm that this patch is sufficient?
https://bugs.winehq.org/show_bug.cgi?id=41384
jvtr@f.fxnxs.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from jvtr@f.fxnxs.com --- Yes, thank you. I did a clean wineprefix Office installation and the activation worked out of the box.
https://bugs.winehq.org/show_bug.cgi?id=41384
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Fixed Staging 3.14