https://bugs.winehq.org/show_bug.cgi?id=50873
Bug ID: 50873 Summary: reg.exe ignores /f parameter Product: Wine Version: 6.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: mywine@schiermeier-it.de Distribution: ---
I tried:
wine reg.exe add 'HKCU\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t REG_SZ /d '' /f
to disable "winemenubuilder.exe'. But when I run the command above I got this question:
The registry value 'winemenubuilder.exe' already exists. Do you want to overwrite it? (Yes|No)
But according to reg.exe's help: /f Modify the registry without prompting for confirmation.
this question should not happen. I suspect reg.exe to do a mistake.
Also the content of the writen registry key is wrong:
[Software\Wow6432Node\Wine\DllOverrides] 1616887989 #time=1d723618c0b1168 "winemenubuilder.exe"="/f"
Correct would be for the last line: "winemenubuilder.exe"=""