https://bugs.winehq.org/show_bug.cgi?id=52772
Bug ID: 52772 Summary: winetricks wmp9 fails to install (kernel32 version string doesn't match windows version) Product: Wine Version: 6.6 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, Installer, regression Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Regression SHA1: 04a8213ba9e3b8aa1f980d19b240929948da5abe Distribution: ---
After:
commit 04a8213ba9e3b8aa1f980d19b240929948da5abe Author: Arkadiusz Hiler ahiler@codeweavers.com Date: Tue Apr 20 14:38:09 2021 +0300
kernel32: Update version to Win 10.
This fixes the game Evil Genius 2 complaining about unsupported OS.
Signed-off-by: Arkadiusz Hiler ahiler@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
`winetricks wmp9` no longer installs; instead an error dialog saying that <= WINXP is required: 0124:trace:text:DrawTextExW L"This version of Windows Media Player can be installed only on Windows 98 Second Edition, Windows Millennium Edition, Windows 2000, Windows XP, and Windows .NET Server.", -1, [(0,0)-(237,52)] 00000850
winetricks is setting the windows version of the wineprefix to winxp before installing, but it seems that the installer is checking the kernel32 version strings, and failing to install as a result.
Still present in wine-7.5-175-g0de8d01b09b, reverting the patch allows the installer to proceed.
I'm not sure what we can do here. Currently the version string is hardcoded regardless of what version of windows we're reporting. I'd guess either we need to allow overriding the string/shipping different resource files for different reported windows versions, or call this a WONTFIX?