deleteRegisteredFile
(Netscape 6 and Mozilla do not currently support this method.)
Deletes the specified file and removes its entry from the Client Version Registry.
Method of
Syntax
int deleteRegisteredFile (String registryName);Parameters
The
deleteRegisteredFilemethod has the following parameter:
registryNameThe pathname in the Client Version Registry for the file that is to be deleted. Returns
An integer error code. For a list of possible values, see Return Codes.
Description
The
deleteRegisteredFilemethod deletes the specified file and removes the file's entry from the Client Version Registry. If the file is currently being used, the name of the file that is to be deleted is saved and Netscape 6 attempts to delete it each time it starts up until the file is successfully deleted. This method is used to delete files that cannot be removed by theuninstallmethod or to remove files that are no longer necessary or whose names have changed.
| Netscape Communications devedge.netscape.com |