Mechanism for determining applicability of software packages for installation
First Claim
1. A method for installing a software package, the method comprising:
- retrieving authentication information from an installation descriptor file describing installation information of the software package, the software package having one or more components and each component having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed;
verifying an existing component corresponding to the component according to the verification setting, wherein the existing component has already been installed;
selecting one of the first plurality of keys if the verification of the existing component is successful;
authenticating a first image of a first existing sub-component corresponding to the first sub-component using the selected key, wherein the first existing subcomponent has already been installed;
authenticating a second image of a second existing sub-component corresponding the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, wherein the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other;
indicating whether there is a need to install the first sub-component according to the authentication of the first image; and
determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds.
2 Assignments
0 Petitions
Accused Products
Abstract
Mechanism for determining applicability of a software package for installation is described herein. In one embodiment, a process is provided to retrieve authentication information of a component from an installation descriptor file, where the descriptor file describes installation information of the software package. The software package may include one or more components and each component having zero or more sub-components. For at least one sub-component of at least one existing component that has already been installed, an image of the sub-component is authenticated using an authentication key extracted from the authentication information to determine whether the component can be installed based on the existing component. Other methods and apparatuses are also described.
-
Citations
39 Claims
-
1. A method for installing a software package, the method comprising:
-
retrieving authentication information from an installation descriptor file describing installation information of the software package, the software package having one or more components and each component having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; verifying an existing component corresponding to the component according to the verification setting, wherein the existing component has already been installed; selecting one of the first plurality of keys if the verification of the existing component is successful; authenticating a first image of a first existing sub-component corresponding to the first sub-component using the selected key, wherein the first existing subcomponent has already been installed; authenticating a second image of a second existing sub-component corresponding the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, wherein the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other; indicating whether there is a need to install the first sub-component according to the authentication of the first image; and determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium having executable code to cause a machine to perform a method for installing a software package, the method comprising:
-
retrieving authentication information of a component from an installation descriptor file describing installation information of the software package, the software package having one or more components and each component having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; verifying an existing component corresponding to the component according to the verification setting, wherein the existing component has already been installed; selecting one of the first plurality of keys if the verification of the existing component is successful; authenticating a first image of a first existing sub-component corresponding to the first sub-component using the selected key, wherein the first existing subcomponent has already been installed; authenticating a second image of a second existing sub-component corresponding to the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, wherein the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other; indicating whether there is a need to install the first sub-component according to the authentication of the first image; and determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. An apparatus for installing a software package, the apparatus comprising:
-
a storage to store an installation descriptor file to describe installation information of the software package, the software package including one or more components and each of the components having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the first component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; and a processor coupled to the storage to execute an installer to retrieve the authentication information from the installation descriptor file, to verify an existing component corresponding to the component according to the verification setting, the existing component has already been installed, to select one of the first plurality of keys if the verification of the existing component is successful, to authenticate a first image of a first existing sub-component corresponding to the first sub-component using the selected key, the first existing subcomponent has already been installed, to authenticate a second image of a second existing sub-component corresponding to the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, wherein the second existing sub-component has already been installed, to determine a need to install the first sub-component according to the authentication of the first image, and to determine whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds. - View Dependent Claims (30, 31, 32, 33, 34)
-
-
35. A hardware apparatus for installing a software package, the apparatus comprising:
-
means for retrieving authentication information from an installation descriptor file describing installation information of the software package, the software package having one or more components and each component having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the first component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys, including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; means for verifying an existing component corresponding to the component according to the verification setting, wherein the existing component has already been installed; means for selecting one of the first plurality of keys if the verification of the existing component is successful; means for authenticating a first image of a first existing sub-component corresponding to the first sub-component using the selected key, the first existing subcomponent has already been installed; means for authenticating a second image of a second existing sub-component corresponding to the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other; means for determining a need to install the first sub-component according to the authentication of the first image; and means for determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds.
-
-
36. A data processing system, comprising:
-
a processor; and a memory coupled to the processor having instructions that, when executed from the memory, cause the processor to perform operations including, retrieving authentication information from an installation descriptor file describing installation information of the software package, the software package having one or more components and each component having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the first component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; verifying an existing component corresponding to the component according to the verification setting, the existing component has already been installed; selecting one of the first plurality of keys if the verification of the existing component is successful; authenticating an first image of a first existing sub-component corresponding to the first sub-component using the selected key, the first existing subcomponent has already been installed; authenticating a second image of a second existing sub-component corresponding to the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuring the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other; determining a need to install the first sub-component according to the authentication of the first image; and determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds.
-
-
37. A method for installing a software package, the method comprising:
-
downloading from a server over a network a package metadata (PKM) file describing installation of the software package without downloading the software package, the package meta data file including authentication information for the installation, the software package including one or more components and each of the components having zero or more sub-components, the one or more components including a component having a first sub-component and a second sub-component, the authentication information including a verification setting for the first component, the authentication information including a first authentication setting for the first sub-component, the authentication information including a second authentication setting for the second sub-component, the first authentication setting having a first plurality of keys, and the second authentication setting having a second plurality of keys including a pre-install key and a post-install key, the pre-install key to ensure a prerequisite for installing the software package is satisfied and the post-install key to determine whether a portion of the software package has already been installed; verifying an existing component corresponding to the component according to the verification setting, the existing component has already been installed; selecting one of the first plurality of keys if the verification of the existing component is successful; authenticating a first image of a first existing sub-component corresponding to the first sub-component using the selected key, the first existing subcomponent has already been installed; authenticating a second image of a second existing sub-component corresponding to the second sub-component using more than one of the second plurality of keys including the pre-install key and the post-install key, wherein the authentication of the second image includes a first authentication and a second authentication, the first authentication being based on the pre-install key for ensuing the second existing sub-component satisfying the prerequisite for installing the software package, the second authentication being based on the post-install key for determining the second existing sub-component as the portion of the software package already installed, the second existing sub-component has already been installed and wherein the authentication of the first image and the authentication of the second image being independent of each other; determining a need to install the first sub-component according to the authentication of the first image; determining whether to install the first sub-component according to the authentication of the second image if the need to install the first sub-component is determined, wherein the first sub-component is installed if the first authentication fails and the second authentication succeeds; and downloading at least a portion of the software package from the server to be installed if the first image of the first existing sub-component is authenticated successfully using the selected key retrieved from the PKM file. - View Dependent Claims (38, 39)
-
Specification