[PATCH] wine.inf: Disable file open associations by default

Vitaly Lipatov lav at etersoft.ru
Thu Feb 18 16:20:13 CST 2021


Otherwise, when a user runs winecfg for the first time in order to disable it,
winemenubuilder will create filetype associations for Wine's builtin programs,
and users will have to manually remove them.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45672

Signed-off-by: Vitaly Lipatov <lav at etersoft.ru>
---
 loader/wine.inf.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index d5dd2d5b66b..4a8d8a17247 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -761,6 +761,7 @@ HKLM,System\CurrentControlSet\Control\VMM32Files,,16
 HKLM,System\Select,"Current",0x10003,1
 HKCU,AppEvents\Schemes\Apps\Explorer\Navigating\.Current,,,""
 HKCU,Software\Microsoft\Protected Storage System Provider,,16
+HKCU,Software\Wine\FileOpenAssociations,"Enable",2,"N"
 ; Some apps requires at least four subkeys of Active Setup\Installed Components
 HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},,2,"DirectDrawEx"
 HKLM,SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA855-CC51-11CF-AAFA-00AA00B6015F},"ComponentID",2,"DirectDrawEx"
-- 
2.29.2




More information about the wine-devel mailing list