Closed Bug 163514 Opened 24 years ago Closed 17 years ago

Need a deletekeyrecursive function in xpinstaller

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

x86
Windows NT
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID
mozilla1.2beta

People

(Reporter: slogan, Assigned: ssu0262)

Details

(Keywords: helpwanted)

Instead of this: [362/474] Delete Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\NETSCP6.EXE\DefaultIcon [] [363/474] Delete Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\NETSCP6.EXE\shell\open\command [] [364/474] Delete Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\NETSCP6.EXE\shell\open [] [365/474] Delete Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\NETSCP6.EXE\shell [] Should be able to do this: Delete Registry Key Recursive: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\NETSCP6.EXE\shell [] It is evil that we are expecting installer scripts to know what all the subkeys are below a directory and delete them one by one. If they try deleting a subkey that still has children, they will get an error return (and possible abort) because the Win registry doesn't allow that. Instead, an installer should be able to delete a single subkey and all subkeys below it are deleted as well.
Keywords: nsbeta1+
Target Milestone: --- → mozilla1.2beta
over to me.
Assignee: syd → ssu
Installer triage team: nsbeta1-
Keywords: nsbeta1+ → nsbeta1-
Keywords: helpwanted
install.js is no longer supported
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.