https://bugs.winehq.org/show_bug.cgi?id=54675
Bug ID: 54675 Summary: HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionId registry key is missing in wine Product: Wine Version: 8.3 Hardware: x86-64 OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
OpebSSH installer by chocolatey fails because of this missing regkey
See https://community.chocolatey.org/packages/openssh#files (tools\chocolateyinstall.ps1) $EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
Please feel free to pick up patch below. ( I don`t wanna spend another hour to find out again how gitlab works; too complex for me ,sorry)
diff --git a/loader/wine.inf.in b/loader/wine.inf.in index e7b435ed0f0..e20e0d391a0 100644 --- a/loader/wine.inf.in +++ b/loader/wine.inf.in @@ -2461,6 +2461,7 @@ HKLM,%CurrentVersionNT%,"DigitalProductId",1,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 +HKLM,%CurrentVersionNT%,"EditionId",2,"Core" HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows 7" HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT" HKLM,%Control%\Windows,"CSDVersion",0x10003,0x100