[Bug 54463] New: wbemprox: wrong version value is returned from win32_operatingsystem on win10 (regression)
https://bugs.winehq.org/show_bug.cgi?id=54463 Bug ID: 54463 Summary: wbemprox: wrong version value is returned from win32_operatingsystem on win10 (regression) Product: Wine Version: 8.1 Hardware: x86-64 URL: https://github.com/PowerShell/PowerShell/releases/down load/v7.0.3/PowerShell-7.0.3-win-x64.msi OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs(a)winehq.org Reporter: xerox.xerox2000x(a)gmail.com CC: hans(a)meelstraat.net Distribution: Debian Following powershell script returns wrong version on win10 (winetricks dotnet48 is required): $searcher = [wmisearcher]'Select version From win32_operatingsystem' $searcher.scope.path = "\\.\root\cimv2" $searcher.get() Result: __GENUS : 2 __CLASS : Win32_OperatingSystem __RELPATH : __PROPERTY_COUNT : 1 __DERIVATION : {} __SERVER : __NAMESPACE : __PATH : Version : 6.3.18362 PSComputerName : In wine 8.0 it reports correctly: __GENUS : 2 __CLASS : Win32_OperatingSystem __RELPATH : __PROPERTY_COUNT : 1 __DERIVATION : {} __SERVER : __NAMESPACE : __PATH : Version : 10.0.18362 PSComputerName : This bug results in Chocolateley downloading tons off MB's off updates because it believes version is <win10. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- This is because RtlGetVersion() reports the version taken from the CurrentVersion registry string and this string was changed to match recent Windows versions. The solution is probably to look at CurrentMajorVersionNumber/CurrentMinorVersionNumber first, like we do in winecfg. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Regression SHA1| |3a819255f57e54917c598e66e60 | |efb875162f8a3 Fixed by SHA1| |0692d07f85f30ee5191a781b8b6 | |f51006f2ae407 Status|NEW |RESOLVED --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- Fixed with 0692d07f85f30ee5191a781b8b6f51006f2ae407. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wmi&wbemprox |ntdll Summary|wbemprox: wrong version |Wrong version value is |value is returned from |returned from |win32_operatingsystem on |win32_operatingsystem on |win10 (regression) |win10 (regression) --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Hans Leidekker from comment #2)
Fixed with 0692d07f85f30ee5191a781b8b6f51006f2ae407.
Yes, can confirm it's fixed. Thank you Hans for the quick fix -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Louis Lenders from comment #3)
(In reply to Hans Leidekker from comment #2)
Fixed with 0692d07f85f30ee5191a781b8b6f51006f2ae407.
Yes, can confirm it's fixed.
Thank you Hans for the quick fix
No problem. Thanks for the report! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54463 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #6 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- *** Bug 51682 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla