[PATCH 0/1] MR7374: wine.inf: Add VC runtime version key.
The Unreal engine bootstrapper relies on this to detect VC presence since version 5.3. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7374
From: Bernhard Kölbl <bkoelbl(a)codeweavers.com> The Unreal engine bootstrapper relies on this to detect VC presence since version 5.3. --- loader/wine.inf.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/loader/wine.inf.in b/loader/wine.inf.in index cedcf16fba7..1ad1390aed1 100644 --- a/loader/wine.inf.in +++ b/loader/wine.inf.in @@ -636,6 +636,14 @@ HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B1 HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Locale",2,"*" HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Version",2,"12,0,7601,18840" +; VC Runtime +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Bld",0x10003,0x00008686 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Installed",0x10003,0x00000001 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Major",0x10003,0x0000000e +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Minor",0x10003,0x0000002a +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Rbld",0x10003,0x00000000 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Version",2,"v14.42.34438.00" + ; URL Associations HKCU,Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp\UserChoice,"ProgId",,"ftp" HKCU,Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice,"ProgId",,"http" -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7374
Nikolay Sivov (@nsivov) commented about loader/wine.inf.in:
HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Locale",2,"*" HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6},"Version",2,"12,0,7601,18840"
+; VC Runtime +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Bld",0x10003,0x00008686 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Installed",0x10003,0x00000001 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Major",0x10003,0x0000000e +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Minor",0x10003,0x0000002a +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Rbld",0x10003,0x00000000 +HKLM,SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64,"Version",2,"v14.42.34438.00" If we're doing this, I would guess this has to match version resources in crt modules.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7374#note_95179
Does this make vcrt installer itself to skip or is that UE prereq logic to check those keys? Do we need corresponding 32 bit section, or it doesn't exist on Windows? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7374#note_95180
Please also mention that it fixes https://bugs.winehq.org/show_bug.cgi?id=56695 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7374#note_95195
participants (3)
-
Bernhard Kölbl -
Nikolay Sivov (@nsivov) -
Piotr Caban (@piotr)