Method and system for storing configuration data into a common registry
First Claim
1. A method in a computer system for registering configuration information for an application program, the computer system having a registry for storing configuration data, the application program having a setup program for storing setup configuration information in the registry during installation of the application program on the computer system, comprising:
- under control of the setup program, invoking a registration routine passing an indication of a configuration file containing a description of the configuration information to be loaded into the registry for the application program;
under control of the application program, invoking the registration routine passing the indication of the configuration file; and
under control of the invoked registration routine,opening the indicated configuration file,retrieving the description of the configuration information to be loaded, andstoring configuration information in the registry based on the retrieved description of the configuration informationwherein the setup program and the application program store the configuration information in the registry in a consistent manner.
2 Assignments
0 Petitions
Accused Products
Abstract
A shared registration DLL and configuration data files that are used by setup programs and their corresponding application programs to register configuration information in a registry and to un-register configuration information from a registry. The shared registration DLL simplifies writing and synchronizing configuration information registration routines in a setup program and in its corresponding application program. The shared registration DLL allows for specifying relative file system pathnames to the application and to application files, rather than requiring file system pathnames to be fully specified. The shared registration DLL allows for configuration information registered previously by an older version of an application to be stored in the registry when a newer version of the application is installed, and to be restored when the newer version is removed from the computer system. The shared registration DLL and configuration data files allow for incremental addition of configuration information to the registry when new components for a previously installed application are added to the computer system.
158 Citations
40 Claims
-
1. A method in a computer system for registering configuration information for an application program, the computer system having a registry for storing configuration data, the application program having a setup program for storing setup configuration information in the registry during installation of the application program on the computer system, comprising:
-
under control of the setup program, invoking a registration routine passing an indication of a configuration file containing a description of the configuration information to be loaded into the registry for the application program; under control of the application program, invoking the registration routine passing the indication of the configuration file; and under control of the invoked registration routine, opening the indicated configuration file, retrieving the description of the configuration information to be loaded, and storing configuration information in the registry based on the retrieved description of the configuration information wherein the setup program and the application program store the configuration information in the registry in a consistent manner. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer system for registering configuration information, comprising:
-
a registry for storing keys and associated values; a configuration file containing a description of configuration information to be stored in the registry; a registration routine for retrieving the description from the configuration file and for storing the described configuration information in the registry; a setup program for invoking the registration routine to store in the registry configuration information described in the configuration file; and an application program for invoking the registration routine to store in the registry configuration information described in the configuration file and for retrieving configuration information from the registry and performing a behavior based on the retrieved configuration information wherein the setup program and the application program register configuration information in a consistent manner. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A method in a computer system for registering and un-registering configuration information of an application program, the computer system having a registry for storing configuration information for the application program, the application program having a new version and an old version, configuration information for the old version of the application program being registered in the registry, comprising:
-
when registering configuration information for the new version of the application program, saving configuration information for the old version of the application program; and storing the configuration information for the new version of the application program in the registry; and when un-registering configuration information for the new version of the application program, removing configuration information for the new version of the application program from the registry; and storing the saved configuration information for the old version of the application program in the registry so that after un-registering the configuration information for the new version of the application program, the old version of the application program can retrieve its configuration information from the registry. - View Dependent Claims (21, 22, 23)
-
-
24. A method in a computer system for customizing configuration information for an application program to be registered in a registry, comprising:
-
creating a configuration skeletal file containing configuration information with placeholders indicating where customized configuration information is to be inserted; creating a configuration token file containing tokens corresponding to customized configuration information replace the placeholders of the configuration skeletal file; creating a customized configuration file by replacing the placeholders of the configuration skeletal file with the tokens of the configuration token file; opening the customized configuration file; retrieving the configuration information from the opened configuration file; and storing the configuration information in the registry. - View Dependent Claims (25, 26, 27, 28, 29)
-
-
30. A method in a computer system for registering components of an application program after installation of the application program, the computer system having a registry for containing configuration information, the application program having a configuration file containing configuration information for the application program, comprising:
-
modifying the configuration file to contain configuration information describing the component to be installed; and under control of the application program, opening the modified configuration file, retrieving from the opened configuration file configuration information describing the component; and storing the retrieved configuration information in the registry so that the component can be automatically installed when the application program is executed.
-
-
31. A computer-readable medium containing instruction for causing a computer system to register configuration information for an application program, the computer system having a registry for storing configuration data, the application program having a setup program for storing setup configuration information in the registry during installation of the application program on the computer system, by:
-
under control of the setup program, invoking a registration routine passing an indication of a configuration file containing a description of the configuration information to be loaded into the registry for the application program, the registration routine being invocable by a plurality of computer programs; under control of the application program, invoking the registration routine passing the indication of the configuration file; and under control of the invoked registration routine, opening the indicated configuration file, retrieving the description of the configuration information to be loaded, and storing configuration information in the registry based on the retrieved description of the configuration information. - View Dependent Claims (32, 33, 34, 35, 36)
-
-
37. A computer-readable medium containing instructions for causing a computer system to register and un-register configuration information of an application program, the computer system having a registry for storing configuration information for the application program, the application program having a new version and an old version, configuration information for the old version of the application program being registered in the registry, by:
-
when registering configuration information for the new version of the application program, saving configuration information for the old version of the application program; and storing the configuration information for the new version of the application program in the registry; and when un-registering configuration information for the new version of the application program, removing configuration information for the new version of the application program from the registry; and storing the saved configuration information for the old version of the application program in the registry so that after un-registering the configuration information for the new version of the application program, the old version of the application program can retrieve its configuration information from the registry. - View Dependent Claims (38, 39, 40)
-
Specification