https://bugs.winehq.org/show_bug.cgi?id=56801
Bug ID: 56801 Summary: Invalid path to UIAutomationCore.dll in the registry Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: rikul@inbox.ru Distribution: ---
Created attachment 76604 --> https://bugs.winehq.org/attachment.cgi?id=76604 test app
I'm using the pywinauto library to perform some automatic actions in a GUI. pywinauto, in turn, uses comtypes, which requires the location of UIAutomationCore.dll to work. During this process, comtypes reports that it cannot find UIAutomationCore.dll.
It turns out that, comtypes uses windll.oleaut32.QueryPathOfRegTypeLib (that is, the QueryPathOfRegTypeLib from oleaut32.dll) to find UIAutomationCore.dll.
Wine 9.0 registry [HKEY_CLASSES_ROOT\Typelib{8A9CA8EB-856B-43D9-ABD7-4A590054064F}\1.0\0\win64] lists its location as "C:\windows\system32\uiautomationcore.dll\1", while the path in Wine 8.0 is C:\windows\system32\uiautomationcore.dll.
Windows registry shows path as C:\windows\system32\uiautomationcore.dll
Can the correctness of this behavior be verified? Should it be "C:\windows\system32\uiautomationcore.dll\1" (\1 at the end) or is this the wrong value?
I have attached a test application that reports the guid and path from the registry.