摘要:
A generic way of publishing globally available functionality that can be shared across applications. Utilizing an Installer Registry, an Installer, Descriptors and a Publish Component Table, related components can be retrieved using an qualifier. A request for a listing of related components, which includes a qualifier, is received from an application. The installer retrieves all the related components, matching the qualifier, from the Publish Component Table. The installer then retrieves the features associated with the components and presents the list of components to the application. The application then selects a specific component and the installer then determines the product associated with the selected component by using the feature and component information retrieved from the Publish Component Table. Once the product information is retrieved, the present invention searches the Installer Registry, using the product, feature and component information as a token, and returns a keypath for that token. If the keypath does not exist, the Installer installs the feature and associated component and then returns the keypath of the installed component.
摘要:
A method and system for advertising software applications by placing application shortcuts on a start menu or desktop and writing entries to the system registry enabling file extension-based activation and Class ID-based activation of those applications, thereby advertising the applications as available even if not installed. In network settings, advertised applications may be assigned to a user via a policy. To this end, an advertising script is stored with a policy associated with computer or user policy recipients, and the advertising script includes assigned application identifier information. One or more scripts are applied, such as to a user at logon or a machine at re-boot. The scripts are processed by an installer mechanism to advertise the application. Applications advertised as available to the user prior to any installation thereof are installed by an installer as needed upon user activation. Other applications may be published, whereby they do not appear to be available, but the installer mechanism looks for them in a centralized network store when indirectly activated such as via file extension-based activation and Class ID-based activation. If found, the installer mechanism installs the published application and essentially changes it to an assigned application.
摘要:
A system and method for providing the ability to repair an installed application program if a resource needed by the application program becomes inadvertently deleted or otherwise unavailable to the application program. 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 initiates an installation procedure for restoring the missing resource without interrupting the normal operation of the application program.
摘要:
A method and mechanism for automatically installing software implementations such as applications and COM classes as they are needed from an external source. When a software implementation is needed, the mechanism first looks to the local system (e.g., registry) for that software implementation, and if found, returns the information such as a local path needed to use the software implementation. If the implementation is not found, the mechanism looks to another source, such as a CD-ROM or a centralized class store of a network, to locate the needed implementation. When located, the implementation is downloaded and locally installed from the source, and a local path is returned in a manner that is essentially transparent to the user. Software implementations such as application products may be divided into features and components to improve on-demand installation thereof.
摘要:
A system and method for managing locations of software components via a source list. The needed software components are identified. A list of source locations is referenced repeatedly until a valid source location is found or until each source location on the list has been referenced. If a valid source location is found, the software components are retrieved from that source location. New source locations may be added to this list of source locations when the user identifies these new source locations. A list of source locations is continually maintained.
摘要:
A system and method for creating rollback scripts for operations performed by an installer program module. A rollback script may be used to reverse an action of an installer program module so that a user's machine is restored to its original state, i.e., the state before the installer program module began performing operations. In performing operations, the installer program module typically generates installation script records of specific actions that are to be performed to a particular machine with regard to installation data. During the processing of each installation script record, an inverse record is created, known as a rollback script record. When installing a file, if there is no file with the same name in the same location stored on the machine, then a rollback script record describing how to delete the file is stored. However, if an old file stored in the same location does exist, then the old file is backed up to another location and a rollback script record is saved describing how to copy the old file back to its prior location on the machine.
摘要:
Internal database validation is disclosed. In one embodiment, the system comprises a database having a data table and a validation table. The data table has at least one data column and at least one data row and the validation table has a plurality of validation columns and a validation row. Also included is a database engine module for maintaining the database and a database validation module operative to read a validation value from the validation column of the validation row and using the validation value to validate a data value in the data column of the data row.
摘要:
A method of managing non-persistent data in a persistent database includes adding the non-persistent data to the database in the form of a temporary entry. The temporary entry can be a temporary row or column, a temporary table or a temporary database with temporary tables. The method also includes tracking the non-persistent data in order to maintain the original state of the persistent database. A column of temporary bits is added to track the rows, and the temporary columns are tracked via a bit in the schema. Non-persistent temporary entries can be added to any relational database to manipulate data while maintaining the original state of the database. Using temporary entries is advantageous when a large amount of data already exists in a database and a user needs to enhance and/or manipulate the data while still retaining the original state of the data.
摘要:
Internal database validation system comprises a database having a data table and a validation table. The data table has at least one data column and at least one data row and the validation table has a plurality of validation columns and a validation row. Also included is a database engine module for maintaining the database and a database validation module operative to read a validation value from the validation column of the validation row and for using the validation value to validate a data value in the data column of the data row.
摘要:
A method and system for installing computer programs is provided where installation is accomplished based on an “as complete” description of the installed features, components and resources of the computer program. The necessary files and components required for installation of a given feature or component are determined by marking for installation any components which are not presently installed, preparing a script of required installation executions, and then executing the instructions to install the necessary files or components. Components are marked for installation or un-installation in temporary columns and rows which are dynamically added to data tables used to identify components and features which are available for installation. Individual components of a feature may be added or removed by simply marking that component for installation or removal. When the instructions in the installation script are executed, that particular component will be installed or removed according to the instructions. Installation of a given software application is streamlined because any component of a program application to be installed which is already installed on the user's computer need not be reinstalled upon the installation of the desired feature. Only components or files thereof which must be installed in addition to previously installed components or files need be installed for the installation of the software application program.