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?
https://bugs.winehq.org/show_bug.cgi?id=52772
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- In general that sort of thing is a WONTFIX, yes. What we want to do instead is fix the bugs that make it necessary to install wmp9.
https://bugs.winehq.org/show_bug.cgi?id=52772
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Alexandre Julliard from comment #1)
In general that sort of thing is a WONTFIX, yes. What we want to do instead is fix the bugs that make it necessary to install wmp9.
While I absolutely agree regarding wmp9, I also think that it's only a matter of time until we run into a real (non-Microsoft) application that has a similar issue.
It may be worth considering a solution now, preemptively.
Or we can close this WONTFIX, but I'll leave that to someone else to decide.
https://bugs.winehq.org/show_bug.cgi?id=52772
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- I'm not aware of a mechanism to handle this on Windows, which would seem to indicate that it's not a big issue in practice. If we find some real world cases we can investigate how Windows deals with them.
https://bugs.winehq.org/show_bug.cgi?id=52772
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax@dexter.no
--- Comment #4 from Sveinar Søpler cybermax@dexter.no --- (In reply to Alexandre Julliard from comment #3)
I'm not aware of a mechanism to handle this on Windows, which would seem to indicate that it's not a big issue in practice. If we find some real world cases we can investigate how Windows deals with them.
Well, when it comes to installing WMP9 on Win7 users dealt with it like this: https://www.youtube.com/watch?v=yp7qmclz5fI
The first step of the video can probably be skipped, as wine will not throw that error.. but the second part is basically using resourcehacker to remove the error message from the wmp9 installer.
Not tested this, but just saying it does not really work in windows either.
https://bugs.winehq.org/show_bug.cgi?id=52772
soredake gi85qht0z@relay.firefox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gi85qht0z@relay.firefox.com
https://bugs.winehq.org/show_bug.cgi?id=52772
j-r@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |j-r@online.de
--- Comment #5 from j-r@online.de --- Native wmvcore provides undocumented interfaces used by actual applications (s. https://bugs.winehq.org/show_bug.cgi?id=45759#c5).
So there might be a valid use case for installing wmp9.
https://bugs.winehq.org/show_bug.cgi?id=52772
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #6 from Zeb Figura z.figura12@gmail.com --- Implementing undocumented APIs isn't outside the scope of Wine (although implementing undocumented interfaces may be quite hard...)
https://bugs.winehq.org/show_bug.cgi?id=52772
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #7 from Austin English austinenglish@gmail.com --- I've added a workaround in winetricks: https://github.com/Winetricks/winetricks/issues/1997
https://bugs.winehq.org/show_bug.cgi?id=52772
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- Closing WONTFIX.