System, method, and program for checking dependencies of installed software components during installation or uninstallation of software
First Claim
1. A method for installing a program onto a computer including an operating system, comprising:
- providing a dependency object indicating a dependent component on which the program to install depends;
processing the dependency object before installing the program;
determining an operating system in which the program is being installed;
determining an operating system command from a plurality of operating system commands for different operating systems that is capable of executing in the determined operating system;
executing the operating system command to determine whether the dependent component indicated in the dependency object is installed in the computer; and
indicating that the dependent component is not installed after determining that the dependent component is not installed.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method, system, program, and data structure for installing a program onto a computer including an operating system. Dependency objects indicate a dependent component on which the program to install depends. The program processes the dependency objects before installing the program and determines an operating system command that is capable of determining whether the dependent component indicated in the dependency object is installed in the computer. The program then executes the operating system command to determine whether the dependent components indicated in the dependency objects are installed in the computer. An indication is made as to the dependent components that are not installed after determining that dependent components are not installed.
-
Citations
31 Claims
-
1. A method for installing a program onto a computer including an operating system, comprising:
-
providing a dependency object indicating a dependent component on which the program to install depends;
processing the dependency object before installing the program;
determining an operating system in which the program is being installed;
determining an operating system command from a plurality of operating system commands for different operating systems that is capable of executing in the determined operating system;
executing the operating system command to determine whether the dependent component indicated in the dependency object is installed in the computer; and
indicating that the dependent component is not installed after determining that the dependent component is not installed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
determining whether the dependency object that includes the dependent component that is not installed in the computer includes install script; and
enabling the install script after determining that the dependency object includes install script, wherein a user may select to execute the enabled install script to install the dependent component.
-
-
3. The method of claim 2, wherein the dependency object is further capable of including a universal resource locator (URL), further comprising:
-
accessing a file at the URL when executing the install script; and
installing the file from the URL on the computer.
-
-
4. The method of claim 2, wherein the dependency object is further capable of including install information, further comprising:
-
determining whether install script is included in the dependency object, wherein the enabling of the install script occurs after determining that the install script is included in the dependency object; and
processing the install information to present the install information to a user after determining that the dependency object does not include install script.
-
-
5. The method of claim 1, wherein a plurality of dependency objects are provided for indicating a plurality of dependent components on which the program to install depends, further comprising:
-
installing the program and file sets therein after processing the dependency objects and determining that the dependent components are installed in the computer;
indicating in a data structure the installed program;
processing the dependency objects to determine the dependent components from which the installed program depends; and
indicating in the data structure the dependent components determined from the dependency objects for the installed program.
-
-
6. The method of claim 5, further comprising:
-
processing a command to remove the installed program from the computer;
processing the data structure to determine whether the installed program to remove is indicated as a dependent component;
determining from the data structure depending programs that depend upon the dependent components to operate in at least one respect; and
indicating that the installed program cannot be removed until the determined depending programs are removed.
-
-
7. The method of claim 6, further comprising continuing with the removal of the installed program after determining that the installed program is not a dependent component for another installed program.
-
8. The method of claim 1, wherein the dependency object further includes an operating system field indicating the operating system on which the program will be installed, wherein the determined operating system command depends upon the operating system indicated in the operating system field, and wherein executing the operating system command further comprises passing data from the dependency object to the operating system command as parameters, dependent on the type of operating system indicated in the operating system field.
-
9. A system for installing a program, comprising:
-
a computer including an operating system;
a computer monitor;
a memory device storing a dependency object indicating a dependent component on which the program to install depends;
program logic executed by the computer in communication with the computer monitor and the memory device, comprising;
(i) means for processing the dependency object before installing the program;
(ii) determining an operating system in which the program is being installed;
(iii) means for determining an operating system command from a plurality of operating system commands for different operating systems that is capable of executing in the determined operating system;
(iv) means for executing the operating system command to determine whether the dependent component indicated in the dependency object is installed in the computer; and
(v) means for indicating that the dependent component is not installed after determining that the dependent component is not installed. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
means for determining whether the dependency object that includes the dependent component that is not installed in the computer includes install script; and
means for enabling the install script after determining that the dependency object includes install script, wherein a user may select to execute the enabled install script to install the dependent component.
-
-
11. The system of claim 10, wherein the dependency object is further capable of including a universal resource locator (URL), wherein the program logic further comprises:
-
means for accessing a file at the URL when executing the install script; and
means for installing the file from the URL on the computer.
-
-
12. The system of claim 10, wherein the dependency object is further capable of including install information, wherein the program logic further comprises:
-
means for determining whether install script is included in the dependency component, wherein the enabling of the install script occurs after determining that the install script is included in the dependency component; and
means for processing the install information to present the install information to a user after determining that the dependency component does not include install script.
-
-
13. The system of claim 9, wherein the memory device includes a plurality of dependency objects that are provided for indicating a plurality of dependent components on which the program to install depends, wherein the program logic further comprises:
-
means for installing the program after processing the dependency objects and determining that the dependent components are installed in the computer;
means for indicating in a data structure stored in the memory device the installed program;
means for processing the dependency objects to determine the dependent components from which the installed program depends; and
means for indicating in the data structure the dependent components determined from the dependency objects for the installed program.
-
-
14. The system of claim 13, wherein the program logic further comprises:
-
means for processing a command to remove the installed program from the computer;
means for processing the data structure to determine whether the installed program to remove is indicated as a dependent component;
means for determining from the data structure depending programs that depend upon the dependent components to operate in at least one respect; and
means for indicating to a user that the installed program cannot be removed until the determined depending programs are removed.
-
-
15. The system of claim 14, wherein the program logic further comprises means for removing the installed program after determining that the installed program is not a dependent component for another installed program.
-
16. The system of claim 9, wherein the dependency object further includes an operating system field indicating the operating system on which the program will be installed, wherein the determined operating system command depends upon the operating system indicated in the operating system field, and wherein the program logic further includes means for passing data from the dependency object to the operating system command as parameters, dependent upon the type of operating system indicated in the operating system field.
-
17. An article of manufacture for use in programming a computer system to install a program, the article of manufacture comprising computer useable media accessible to the computer system, wherein the computer usable media includes at least one computer program that is capable of causing the computer system to perform:
-
providing a dependency object indicating a dependent component on which the program to install depends;
processing the dependency object before installing the program;
determining an operating system in which the program is being installed;
determining an operating system command from a plurality of operating system commands for different operating systems that is capable of executing in the determined operating system;
executing the operating system command to determine whether the dependent component indicated in the dependency object is installed in the computer; and
indicating that the dependent component is not installed after determining that the dependent component is not installed. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
determining whether the dependency object that includes the dependent component that is not installed in the computer includes install script; and
enabling the install script after determining that the dependency object includes install script, wherein a user may select to execute the enabled install script to install the dependent component.
-
-
19. The article of manufacture of claim 18, wherein the dependency object is further capable of including a universal resource locator (URL), further capable of causing the computer system to perform:
-
accessing a file at the URL when executing the install script; and
installing the file from the URL on the computer.
-
-
20. The article of manufacture of claim 18, wherein the dependency object is further capable of including install information, further capable of causing the computer system to perform:
-
determining whether install script is included in the dependency object, wherein the enabling of the install script occurs after determining that the install script is included in the dependency object; and
processing the install information to present the install information to a user after determining that the dependency object does not include install script.
-
-
21. The article of manufacture of claim 17, wherein a plurality of dependency objects are provided for indicating a plurality of dependent components on which the program to install depends, further capable of causing the computer system to perform:
-
installing the program and file sets therein after processing the dependency object and determining that the dependent component is installed in the computer;
indicating in a data structure the installed program;
processing the dependency object to determine the dependent component from which the installed program depends; and
indicating in the data structure the dependent component determined from the dependency objects for the installed program.
-
-
22. The article of manufacture of claim 21, further capable of causing the computer system to perform:
-
processing a command to remove the installed program from the computer;
processing the data structure to determine whether the installed program to remove is indicated as a dependent component;
determining from the data structure depending programs that depend upon the dependent components to operate in at least one respect; and
indicating that the installed program cannot be removed until the determined depending programs are removed.
-
-
23. The article of manufacture of claim 22, further capable of causing the computer system to perform continuing with the removal of the installed program after determining that the installed program is not a dependent component for another installed program.
-
24. The article of manufacture of claim 17, wherein the dependency object further includes an operating system field indicating the operating system on which the program will be installed, wherein the determined operating system command depends upon the operating system indicated in the operating system field, and wherein executing the operating system command further comprises passing data from the dependency object to the operating system command as parameters, dependent on the type of operating system indicated in the operating system field.
-
25. A memory within a computer system for storing data for access by an installation program for installing a program onto the computer system, comprising:
-
a dependency object stored in the memory indicating a dependent component on which the program to install depends, wherein the dependency object is processed before installing the program; and
a plurality of operating system commands for different operating systems, wherein one of the operating system commands that is capable of executing in the operating system in which the program is being installed is executed to determine whether the dependent component indicated in the dependency object is installed in the computer, and wherein an indication is made that the dependent component is not installed after determining that the dependent component is not installed. - View Dependent Claims (26, 27, 28, 29, 30, 31)
-
Specification