×

Resource-conservative installation of compressed archives

  • US 7,478,386 B2
  • Filed: 05/03/2005
  • Issued: 01/13/2009
  • Est. Priority Date: 05/03/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method wherein a set of payload files are to be installed on a data processing system from a compressed archive comprising a plurality of files, wherein the set of payload files comprises a first payload file and a second payload file, wherein first payload file and the second payload file are contained in the compressed archive, and wherein the computer implemented method comprises:

  • reading an end-of-configuration marker, wherein the end-of-configuration marker comprises a predetermined binary sequence stored in a configuration logic section of the compressed archive, wherein the configuration logic section comprises an index, computer readable code, and configuration data, wherein the index, computer readable code, and configuration data allow an installation program to determine where and how to install the first payload file to the data processing system, and wherein the end-of configuration marker indicates an end of the configuration data and the index;

    loading the configuration data and the index into a first memory of the data processing system, wherein the configuration data determines which file among the plurality of files is the first payload file, and wherein the index describes a location of the first payload file in the compressed archive;

    finding the first payload file in the compressed archive using the index;

    decompressing the first payload file inline;

    writing the first payload file directly to a second memory of the data processing system, wherein writing the first payload file is performed as the first payload file is decompressed, and wherein writing is performed without making an additional copy of the first payload file on the data processing system and without intermediate expansion of the compressed archive;

    maintaining a pointer to the compressed archive just after the end-of-configuration marker;

    returning to the pointer when preparing to install the second payload file;

    finding the second payload file in the compressed archive using the index;

    decompressing the second payload file inline;

    writing the second payload file directly to the second memory of the data processing system, wherein writing the second payload file is performed as the second payload file is decompressed, and wherein writing is performed without making an additional copy of the second payload file on the data processing system and without intermediate expansion of the compressed archive; and

    selectively choosing, before writing the first payload file and before writing the second payload file, an order in which the first payload file and the second payload file is decompressed and written to the second memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×