System, method, and computer-readable medium for repairing an application program that has been patched
First Claim
1. A computer-readable medium having computer-executable instructions for repairing an application program that has become damaged, which when executed comprises:
- receiving an indication that a resource operative to provide functionality to the application program is needed by the application program;
verifying that the resource is available to the application program at an expected location;
in response to a positive verification of the availability of the resource to the application program at the expected location, passing an existence verification to the application program;
in response to a failure to verify the availability of the resource to the application program at the expected location, determining if a patch exists for patching the application program;
in response to a positive determination that the patch exists for patching the application program, accessing the patch to retrieve information for applying the patch to the application program;
installing the resource at the expected location; and
applying the patch to the resource.
2 Assignments
0 Petitions
Accused Products
Abstract
A method repairing an installed and patched application program if a patched resource needed by the application program becomes inadvertently deleted or otherwise unavailable to the application program is disclosed. Briefly described, the present invention makes possible a system for verifying the existence of a resource needed to support a feature of the application program. The system may respond to a request from the application program to make use of the resource by first verifying the existence of the resource at an expected location. If the resource does not exist at the expected location, rather than returning an error to the application program, the system reinstalls the missing resource without interrupting the normal operation of the application program. If the resource has been patched since its original installation, the system reapplies the patch to the resource subsequent to reinstalling the resource.
-
Citations
16 Claims
-
1. A computer-readable medium having computer-executable instructions for repairing an application program that has become damaged, which when executed comprises:
-
receiving an indication that a resource operative to provide functionality to the application program is needed by the application program;
verifying that the resource is available to the application program at an expected location;
in response to a positive verification of the availability of the resource to the application program at the expected location, passing an existence verification to the application program;
in response to a failure to verify the availability of the resource to the application program at the expected location, determining if a patch exists for patching the application program;
in response to a positive determination that the patch exists for patching the application program, accessing the patch to retrieve information for applying the patch to the application program;
installing the resource at the expected location; and
applying the patch to the resource. - View Dependent Claims (2, 3, 4, 5, 6)
the expected location of the resource is described by a resource path; and
the existence verification comprises the resource path.
-
-
4. The computer-readable medium of claim 1, wherein the determining if the patch exists step comprises reading from an installer registry information describing the resources installed for the application program.
-
5. The computer-readable medium of claim 4, wherein the information describing the resources further comprises patch information describing the existence of a patch associated with the application program.
-
6. The computer-readable medium of claim 1, wherein the accessing the patch step comprises reading installation information contained in the patch to identify instructions for execution by an installer application to apply the patch to the resource.
-
7. A computer-implemented method for reinstalling a resource of an application program, the resource having been patched, comprising:
-
accessing an installer registry to identify an expected location for the resource, the installer registry containing the expected location for the resource, an indication that a patch exists, and an indication that the resource is affected by the patch;
verifying the existence of the resource at the expected location;
in response to a failure to verify the existence of the resource at the expected location, installing the resource to the expected location; and
applying the patch to the resource. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer-readable medium having computer-executable instructions for ensuring that a program file is available to an application program, which when executed perform steps comprising:
-
storing an indication that a patch exists and that the program file is affected by the patch;
in response to a need for the program file, verifying the existence of the program file at an expected location;
in response to a failure to verify the existence of the program file at the expected location, patching the program file and installing the program file to the expected location. - View Dependent Claims (13, 14, 15, 16)
-
Specification