Registry emulation

Data processing: software development – installation – and managem – Software installation – Network

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S121000, C709S203000, C709S206000

Reexamination Certificate

active

06779179

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates generally to computer application software, and specifically to methods and system enabling application software to run on a computer without installation.
BACKGROUND OF THE INVENTION
The registry is a system-defined database, which is included as a part of Microsoft Windows 3.1 and later Windows operating systems. It is used by applications and other system components to store and retrieve consistent configuration data. Information regarding the registry and its use is provided in publications available from the Microsoft Developers' Network (MSDN) of Microsoft Corporation, Redmond, Wash., including “Platform SDK: Performance Monitoring/Registry,” and Chapter 23 (Registry) of the “Driver Development Kit.” These publications are incorporated herein by reference. Data in the registry can be manipulated using application program interface (API) functions and services described in the above-mentioned publication, as well as with a Windows utility called the Registry Editor (Regedit.exe). Registry-related services are normally carried out by the Virtual Machine Manager (VMM) component of the Windows operating system kernel.
The registry stores data in a hierarchically-structured tree. Each node in the tree is called a key. Each key can contain both subkeys (which are themselves keys) and data entries called values. When an application is installed on a computer running Windows, it typically stores its own registry data in a branch under a key that is created for the particular application. In addition, the application may also use subkeys and values that are stored under other keys, which are shared with the operating system and/or with other applications. While the application is running, it uses the names of the appropriate keys to navigate in the registry for the purpose of reading and writing configuration data. Without the configuration data, the application is unable to run. For this reason, installation is an indispensable preparatory step to running most Windows applications that are known in the art.
During the installation procedure, the application creates any necessary new keys and writes the values that it will require in the registry. To add a new key or value to the registry, the application must first open an existing key, typically using the RegOpenKeyEx function (or a corresponding service _RegOpenKey), as described in the above-mentioned documentation. After creating a new subkey or setting a new value, the key is closed, and the new data are written to the registry. A group of keys, subkeys and values belonging to a specified branch of the registry may be saved to a backup file, known as a hive file, using the RegSaveKey function, as described in the above-mentioned MSDN documentation. Subsequently, the RegLoadKey function can be used to recall the information from the hive file and to restore it to the registry in a specified location. When the hive file contains data used by an application, it must be loaded back into the registry before the application can run.
SUMMARY OF THE INVENTION
It is an object of some aspects of the present invention to provide methods for enabling a software application to run on a computer without installation.
It is a further object of some aspects of the present invention to provide tools for emulating functions of the Windows registry.
In preferred embodiments of the present invention, a computer running a Windows operating system, and thus having a local registry, initiates running of a software application without installing on the computer. Instead, registry information needed for the application is provided in a previously-created emulation hive file. The data in the hive file are loaded into the local registry at a predetermined location before the application begins to run. When the application attempts to access the registry, by invoking an appropriate key as specified by the application designer, a registry emulation function intercepts the application's request. The emulation function determines whether the key is located in the local registry or is taken from the data in the emulation hive file. Based on this determination, the emulation function services the request. The registry emulation is transparent to the application and to the operating system, so that the application runs as though it was actually installed on the computer.
In some preferred embodiments of the present invention, the application software and hive file are stored on a server, which is accessed by the computer via a network, such as the Internet. The registry emulation feature enables the computer to run the application without a user of the computer having to spend the time and effort required to download and install the entire application. Typically, only the hive file and required portions of the application are downloaded. Preferably, configuration changes made by the user while the application is running are saved in the emulation hive file when the computer exits from the application. The next time the user accesses this application, the hive file enables the saved configuration to be restored immediately. The local registry on the computer is substantially unaffected, however.
In some preferred embodiments of the present invention, the emulation hive file is created by actually installing the application on a trial computer, and intercepting requests by the application to write data to the registry during installation. A list is maintained of the keys created or used by the application during installation. The keys and their values are preferably arranged in a special branch of the registry of the trial computer that is created for this purpose, which mirrors the actual locations of the keys in the registry as used by the installation process, Upon the conclusion of installation, the special branch is saved, thus creating the emulation hive file.
Although preferred embodiments described herein are based on the registry of the Windows operating system, the principles of the present invention are similarly applicable to other operating systems that use a common database to maintain consistent configuration data for different applications.
There is therefore provided, in accordance with a preferred embodiment of the present invention, a method for running a software application on a computer having an operating system that provides a local database containing consistent configuration data to be accessed by programs running on the computer, the method including:
providing a file containing further configuration data required by the application, which further data are not stored in the local database;
intercepting a request by the application to access the local database; and
returning an item of the further configuration data from the file to the application, responsive to the request.
Preferably, the database includes a hierarchical database having a tree structure that includes a plurality of branches, and providing the file includes providing data corresponding to one or more branches of the tree structure that are used by the application. Further preferably, the operating system includes a Windows operating system, and the database includes a Windows registry, and providing the data includes providing one or more registry keys, wherein intercepting the request includes hooking a registry service request. Most preferably, hooking the registry service request includes identifying one of the keys in the request, and processing the request responsive to the identified key. Further preferably, providing the file includes providing a hive file, and loading the data from the file into the registry before running the application.
Preferably, intercepting the request includes making a determination whether the request relates to one of the branches that contains only the further configuration data, or whether the request relates to another of the branches that is shared with the database, and processing the request responsive to the determination.
Additionally or alternatively, interce

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Registry emulation does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Registry emulation, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Registry emulation will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3361367

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.