[PATCH] wine.inf: Add Winlogon keys

Alex Henrie alexhenrie24 at gmail.com
Sun Mar 22 01:44:26 CDT 2020


The Winlogon key in HKLM was incorrectly under "Windows" instead of
"Windows NT" whereas the one in HKCU was missing altogether.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48611
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 loader/wine.inf.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 6e0cb21253..ad79c084dd 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -524,6 +524,7 @@ HKLM,System\CurrentControlSet\Control\Class\{745a17a0-74d3-11d0-b6fe-00a0c90f57d
 
 [CurrentVersion]
 HKCU,%CurrentVersion%\Run,,16
+HKCU,%CurrentVersionNT%\Winlogon,,16
 HKLM,%CurrentVersion%,"CommonFilesDir",,"%16427%"
 HKLM,%CurrentVersion%,"FirstInstallDateTime",1,21,81,7c,23
 HKLM,%CurrentVersion%,"ProductId",,"12345-oem-0000001-54321"
@@ -549,7 +550,6 @@ HKLM,%CurrentVersion%\Setup,"SharedDir",,"%25%"
 HKLM,%CurrentVersion%\Setup\WindowsFeatures\WindowsMediaVersion,,,"12.0.7601.18840"
 HKLM,%CurrentVersion%\Shell Extensions\Approved,,16
 HKLM,%CurrentVersion%\Uninstall,,16
-HKLM,%CurrentVersion%\Winlogon,,16
 HKLM,%CurrentVersionNT%,"InstallDate",0x10003,1273299354
 HKLM,%CurrentVersionNT%,"ProductId",,"12345-oem-0000001-54321"
 HKLM,%CurrentVersionNT%,"RegisteredOrganization",2,""
@@ -572,6 +572,7 @@ HKLM,%CurrentVersionNT%\Perflib,,16
 HKLM,%CurrentVersionNT%\Ports,,16
 HKLM,%CurrentVersionNT%\Print,,16
 HKLM,%CurrentVersionNT%\ProfileList,,16
+HKLM,%CurrentVersionNT%\Winlogon,"Shell",,"explorer.exe"
 
 [CurrentVersionWow64]
 HKLM,%CurrentVersion%,"ProgramFilesDir (x86)",,"%16426%"
-- 
2.25.2




More information about the wine-devel mailing list