Method for automatically updating a computer registry
First Claim
1. A method for automatically updating a portion of a system registry of a computing device based upon an occurrence of a predefined event that affects the proper functioning of an application program module in the computing device, comprising the steps of:
- building a portion of self-registration data into a resource fork of the application program module, the self-registration data being automatically updatable to be in sync with one or more corresponding linking files of the application program, the self-registration data being part of the resource fork of the application program module such that explicit calls to separate self-registration files are avoided;
determining that the predefined event that affects the proper functioning of the application program module in the computing device has occurred; and
if so,determining whether the portion of the system registry of the computing device needs to be updated because at least one of the following conditions exists;
any information in a registration cache has changed; and
a registration cache does not exist; and
if so,automatically updating the portion of the system registry by referring to the corresponding self-registration data built into the resource fork of the application program module.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for automatically registering resources required for an application program module to execute. After the application program module is booted, a registration cache, which is stored in association with the application program module, is examined to determine its status. It indicates whether a registry on the computer system needs to be updated, e.g., after the user has moved files or renamed files. If so, a search is made through a predetermined directory to look for an application file or a dynamic link library file. If either is found, a resource fork in association with the file is opened, and it is determined whether there is a self-registration resource or an Object Linking and Embedded (OLE) Type Library (OTLB) in the resource fork. If found, any self-registration resource is registered by initiating a self-registration dynamic link library, and any OTLB resource is registered by initiating an OLE call.
14 Citations
23 Claims
-
1. A method for automatically updating a portion of a system registry of a computing device based upon an occurrence of a predefined event that affects the proper functioning of an application program module in the computing device, comprising the steps of:
-
building a portion of self-registration data into a resource fork of the application program module, the self-registration data being automatically updatable to be in sync with one or more corresponding linking files of the application program, the self-registration data being part of the resource fork of the application program module such that explicit calls to separate self-registration files are avoided; determining that the predefined event that affects the proper functioning of the application program module in the computing device has occurred; and
if so,determining whether the portion of the system registry of the computing device needs to be updated because at least one of the following conditions exists; any information in a registration cache has changed; and a registration cache does not exist; and
if so,automatically updating the portion of the system registry by referring to the corresponding self-registration data built into the resource fork of the application program module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for automatically updating a portion of a system registry based of the system upon an occurrence of a predefined event that affects the proper functioning of an application program module in the system, comprising:
-
a memory that stores; a system registry; a registration cache; and the application program module; and a processor coupled to the memory, wherein the memory stores machine instructions causing the processor to; build a portion of self-registration data into a resource fork of the application program module, the self-registration data being automatically updatable to be in sync with one or more corresponding linking files of the application program, the self-registration data being part of the resource fork of the application program module such that explicit calls to separate self-registration files are avoided; determine that the predefined event that affects the proper functioning of the application program module in the system has occurred; and
if so,determine whether the portion of the system registry of the system needs to be updated because at least one of the following conditions exists; any information in a registration cache has changed; and a registration cache does not exist; and
if so,automatically update the portion of the system registry by referring to the corresponding self-registration data built into the resource fork of the application program module.
-
-
15. A computer program product for implementing a method for automatically updating a portion of a system registry of a computing device based upon the activation of a user-defined trigger, the computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of the computing system, cause the computing system to perform the method, the method comprising:
-
building a portion of self-registration data into a resource fork of the application program module, the self-registration data being automatically updatable to be in sync with one or more corresponding linking files of the application program, the self-registration data being part of the resource fork of the application program module such that explicit calls to separate self-registration files are avoided; determining that the predefined event that affects the proper functioning of the application program module in the computing device has occurred; and
if so,determining whether the portion of the system registry of the computing device needs to be updated because at least one of the following conditions exists; any information in a registration cache has changed; a user-configured trigger has been activated; and a registration cache does not exist; and
if so,automatically updating the portion of the system registry by referring to the corresponding self-registration data built into the resource fork of the application program module. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
Specification