[Bug 13548] New: Wine's setupapi does not know how to recursively delete registry keys

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 30 11:55:49 CDT 2008


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 at winehq.org
        ReportedBy: fgouget at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list