https://bugs.winehq.org/show_bug.cgi?id=54844
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- (In reply to Austin English from comment #3)
Introduced by: commit 3a819255f57e54917c598e66e60efb875162f8a3 Author: Hans Leidekker hans@codeweavers.com Date: Mon Jan 23 15:09:58 2023 +0100
winecfg: Fix CurrentVersion registry string for Windows 10 and up. It no longer reflects the real OS major and minor version numbers.
The issue existed before this patch but didn't show up because winecfg didn't look at the CurrentMajor/MinorVersion values before this patch (introduced with Windows 10).
Adding FLG_ADDREG_NOCLOBBER(0x2) to these registry values fixes it.