http://bugs.winehq.org/show_bug.cgi?id=13548
Summary: Wine's setupapi does not know how to recursively delete registry keys Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: fgouget@codeweavers.com
On Windows (XP) the following inf file deletes the Telephony registry key without trouble, even though it has lots of subkeys and values.
--- [version] signature="$CHICAGO$"
[DelTest] DelReg=DelTestReg
[DelTestReg] HKLM,Software\Microsoft\Windows\CurrentVersion\Telephony ---
In Wine this fails unless the Telephony registry key has no subkey.
Notes: * You can run the inf file with the following command: rundll32 setupapi.dll,InstallHinfSection DelTest 128 c:\deltest.inf * The above command needs a full path to the inf file. * Obviously, don't do this on a real Windows machine unless you know how to restore your Telephony registry key. If you must try this on Windows, then the best is to do it in a virtual machine with a good snapshot.