[PATCH] wine.inf: Disable file open associations by default
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(a)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
On Fri, Feb 19, 2021 at 12:20 AM Vitaly Lipatov <lav(a)etersoft.ru> wrote:
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.
winemenubuilder knows what associations it created, and should be able to delete them all. Users may also wish to enable/disable associations at any point, not just when the WINEPREFIX is first being created. Maybe we should have a "Remove all associations" button instead, or some other UI, eg. a combined Gecko/Mono/menus/associations/etc. dialog that sets the desired settings from the start? Damjan
participants (2)
-
Damjan Jovanovic -
Vitaly Lipatov