CN102314365A - Method and tool for making installation package - Google Patents

Method and tool for making installation package Download PDF

Info

Publication number
CN102314365A
CN102314365A CN201110265090A CN201110265090A CN102314365A CN 102314365 A CN102314365 A CN 102314365A CN 201110265090 A CN201110265090 A CN 201110265090A CN 201110265090 A CN201110265090 A CN 201110265090A CN 102314365 A CN102314365 A CN 102314365A
Authority
CN
China
Prior art keywords
file
installation kit
lists
documents
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110265090A
Other languages
Chinese (zh)
Inventor
王志新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201110265090A priority Critical patent/CN102314365A/en
Publication of CN102314365A publication Critical patent/CN102314365A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a tool for making an installation package. In the method, the packaging process of the installation package comprises the following steps of: starting up an installation package project, and loading a decompression assembly with the installation package project; and compressing each file in a software product catalog into a data file and a file list by using the decompression assembly. According to the technical scheme of the invention, an efficiently-compressed installation package can be provided.

Description

A kind of installation kit method for making and instrument
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of installation kit method for making and instrument.
Background technology
It is that software product is packaged into an executable file that installation kit is made, and the user can be deployed to software product on the PC through moving this executable file.
But in the existing installation kit production program, the different piece of software product is compressed into different files, so compression efficiency is lower.
Summary of the invention
The invention provides a kind of installation kit method for making, this method can provide the installation kit of efficient compression.
The present invention also provides a kind of installation kit tools, and these installation kit tools can be produced the installation kit of efficient compression.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of installation kit method for making, the packing process of installation kit comprises:
Start the installation kit engineering, the installation kit engineering loads extractor component;
Said extractor component is a data files and lists of documents with each File Compress in the software product catalogue.
In the said method, the information in the said lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
In the said method, the packing process of installation kit also comprises:
The installation kit engineering loads said data file and lists of documents, and loads user interface resource;
Compile said loaded data file, lists of documents and user interface resource, generate executable file.
In the said method, the packet procedures of separating of installation kit comprises:
Move said executable file;
Load user interface resource, the prompting user selects installation directory;
Load extractor component, said extractor component unzips to installation directory according to lists of documents with the content in the data file;
Write software product registry information and registration dynamic link library (DLL).
In the said method, said data file is a binary file, and said lists of documents are the xml file.
In the said method, said extractor component unzips to installation directory according to lists of documents with the content in the data file and comprises:
Extractor component unzips to each file in the data file under the installation directory according to the relation of the catalogue between each file in the lists of documents.
The invention also discloses a kind of installation kit tools, it is characterized in that, these installation kit tools comprise: installation kit engineering and extractor component;
Said installation kit engineering is used for after startup, loading said extractor component;
Said extractor component, each File Compress that is used for the software product catalogue is a data files and lists of documents.
Information in the said lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
These installation kit tools further comprise: compiler component;
Said installation kit engineering is used to load data file and the lists of documents that said extractor component is compressed into, and loads user interface resource;
Said compiler component is used to compile installation kit engineering loaded data file, lists of documents and user interface resource, generates executable file.
These installation kit tools further comprise: component registration;
Said installation kit engineering is used to move said executable file, loads user interface resource, and the prompting user selects installation directory, and loads extractor component;
Extractor component is further used for according to the relation of the catalogue between each file in the lists of documents each file in the data file being unziped under the installation directory;
Component registration is used to write software product registry information and registration dynamic link library (DLL).
By above-mentioned visible, this startup installation kit of the present invention engineering loads compression assembly; Said compression assembly is a data files and lists of documents with each File Compress in the software product catalogue, in the installation kit engineering, loads said data file and lists of documents, and loads user interface resource; Compiling loaded data file, lists of documents and user interface resource; Generate the technical scheme of executable file, owing to be a data files with the File Compress in the software product catalogue, and lists of documents are provided; Therefore improved compression efficiency greatly, the installation kit of efficient compression can be provided.
Description of drawings
Fig. 1 is the installation kit packing process process flow diagram in the embodiment of the invention;
Fig. 2 is that the installation kit in the embodiment of the invention unpacks process flow diagram flow chart;
Fig. 3 is the composition synoptic diagram of a kind of installation kit tools in the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
Fig. 1 is the installation kit packing process process flow diagram in the embodiment of the invention.As shown in Figure 1, may further comprise the steps:
1) starts the installation kit engineering;
2) the installation kit engineering loads extractor component; Said extractor component is a data files and lists of documents with each File Compress in the software product catalogue;
Said data file is binary file (being bin file, like data.bin), and said lists of documents are xml file (data.xml).
The xml file is that lists of documents provide each file and the relevant information of each file in the sub-directory at different levels in the software product catalogue.Information in the said specifically lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
3) the installation kit engineering loads said data file and lists of documents, and loads user interface (UI, User Interface) resource;
4) compiling said loaded data file, lists of documents and user interface resource generates executable file (Install.exe).
The size of the install.exe file that is generated is relevant with concrete software product.File in some software product catalogue is more, and bigger, and then the Install.exe file also can be bigger, and vice versa.
In the packing process shown in Figure 1, owing to be a data files with the File Compress in the software product catalogue, and lists of documents are provided, and therefore improved compression efficiency greatly, the installation kit of efficient compression can be provided.And can realize the installation interface of customizable.
Fig. 2 is that the installation kit in the embodiment of the invention unpacks process flow diagram flow chart.As shown in Figure 2, may further comprise the steps:
1) moves said executable file;
2) load user interface resource, the prompting user selects installation directory;
3) load extractor component, said extractor component unzips to installation directory according to lists of documents with the content in the data file;
Extractor component unzips to each file in the data file under the installation directory according to the relation of the catalogue between each file in the lists of documents.
4) write software product registry information and registration dynamic link library (DLL).
The process of filling in and register DLL of the registry information of the software product in this step is similar with the installation process of existing software installation kit.
5) installation.
Fig. 3 is the composition synoptic diagram of a kind of installation kit tools in the embodiment of the invention.As shown in Figure 3, these installation kit tools comprise: installation kit engineering 301, extractor component 302 and compiler component 303;
Said extractor component 302, each File Compress that is used for the software product catalogue is a data files and lists of documents;
Said installation kit engineering 301 is used for after startup, loading said extractor component 302; Be used to load data file and the lists of documents that said extractor component 302 is compressed into, and load user interface resource;
Said compiler component 303 is used to compile installation kit engineering loaded data file, lists of documents and user interface resource, generates executable file.
Information in the said lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
Installation kit tools shown in Figure 3 further comprise: component registration 304;
Installation kit engineering 301 is used to move said executable file, loads user interface resource, and the prompting user selects installation directory, and loads extractor component 302;
Extractor component 302 is further used for according to lists of documents the content in the data file being unziped to installation directory;
Component registration 304 is used to write software product registry information and registration dynamic link library (DLL).
Said extractor component 302, each File Compress that is used for the software product catalogue is the data file of a bin form and the lists of documents of an xml form.
Said extractor component 302 is used for according to the relation of the catalogue between each file of lists of documents each file in the data file being unziped under the installation directory.
In sum, this startup installation kit of the present invention engineering loads compression assembly; Said compression assembly is a data files and lists of documents with each File Compress in the software product catalogue, in the installation kit engineering, loads said data file and lists of documents, and loads user interface resource; Compiling loaded data file, lists of documents and user interface resource; Generate the technical scheme of executable file, owing to be a data files with the File Compress in the software product catalogue, and lists of documents are provided; Therefore improved compression efficiency greatly, the installation kit of efficient compression can be provided.And can realize the installation interface of customizable.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (10)

1. an installation kit method for making is characterized in that, the packing process of installation kit comprises:
Start the installation kit engineering, the installation kit engineering loads extractor component;
Said extractor component is a data files and lists of documents with each File Compress in the software product catalogue.
2. method according to claim 1 is characterized in that,
Information in the said lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
3. method according to claim 2 is characterized in that, the packing process of installation kit also comprises:
The installation kit engineering loads said data file and lists of documents, and loads user interface resource;
Compile said loaded data file, lists of documents and user interface resource, generate executable file.
4. method according to claim 3 is characterized in that, the packet procedures of separating of installation kit comprises:
Move said executable file;
Load user interface resource, the prompting user selects installation directory;
Load extractor component, said extractor component unzips to installation directory according to lists of documents with the content in the data file;
Write software product registry information and registration dynamic link library (DLL).
5. according to each described method in the claim 1 to 4, it is characterized in that,
Said data file is a binary file, and said lists of documents are the xml file.
6. method according to claim 4 is characterized in that, said extractor component unzips to installation directory according to lists of documents with the content in the data file and comprises:
Extractor component unzips to each file in the data file under the installation directory according to the relation of the catalogue between each file in the lists of documents.
7. installation kit tools is characterized in that, these installation kit tools comprise: installation kit engineering and extractor component;
Said installation kit engineering is used for after startup, loading said extractor component;
Said extractor component, each File Compress that is used for the software product catalogue is a data files and lists of documents.
8. installation kit tools according to claim 7 is characterized in that,
Information in the said lists of documents comprises: the catalogue relation between each file in the software product catalogue, and the length information of each file.
9. installation kit tools according to claim 8 is characterized in that, these installation kit tools further comprise: compiler component;
Said installation kit engineering is used to load data file and the lists of documents that said extractor component is compressed into, and loads user interface resource;
Said compiler component is used to compile installation kit engineering loaded data file, lists of documents and user interface resource, generates executable file.
10. installation kit tools according to claim 9 is characterized in that, these installation kit tools further comprise: component registration;
Said installation kit engineering is used to move said executable file, loads user interface resource, and the prompting user selects installation directory, and loads extractor component;
Extractor component is further used for according to the relation of the catalogue between each file in the lists of documents each file in the data file being unziped under the installation directory;
Component registration is used to write software product registry information and registration dynamic link library (DLL).
CN201110265090A 2011-09-08 2011-09-08 Method and tool for making installation package Pending CN102314365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110265090A CN102314365A (en) 2011-09-08 2011-09-08 Method and tool for making installation package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110265090A CN102314365A (en) 2011-09-08 2011-09-08 Method and tool for making installation package

Publications (1)

Publication Number Publication Date
CN102314365A true CN102314365A (en) 2012-01-11

Family

ID=45427558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110265090A Pending CN102314365A (en) 2011-09-08 2011-09-08 Method and tool for making installation package

Country Status (1)

Country Link
CN (1) CN102314365A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944949A (en) * 2013-01-21 2014-07-23 中国电信股份有限公司 Method of uploading files, system and cloud storage equipment
CN104156225A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Downloading method, system and server for installation package
CN104679523A (en) * 2015-03-17 2015-06-03 浪潮集团有限公司 Graphical packaged software realization method based on domestic platform
US9128793B2 (en) 2013-05-14 2015-09-08 Tencent Technology (Shenzhen) Company Limited Method, system and server for downloading installation package
CN105975311A (en) * 2016-05-09 2016-09-28 腾讯科技(深圳)有限公司 Application startup method and device
CN105988834A (en) * 2015-02-12 2016-10-05 腾讯科技(深圳)有限公司 Application installation package generating and installing method and apparatus
CN106406923A (en) * 2015-07-30 2017-02-15 腾讯科技(深圳)有限公司 Processing method and device of dynamic library file
CN108491695A (en) * 2018-03-26 2018-09-04 威创集团股份有限公司 A kind of joined screen system web project encryption method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588313A (en) * 2004-08-31 2005-03-02 威盛电子股份有限公司 Method and system for integrating software mounting kit
CN1609799A (en) * 2003-10-23 2005-04-27 微软公司 Resource manifest
CN101561762A (en) * 2008-04-18 2009-10-21 鸿富锦精密工业(深圳)有限公司 Software installation procedure packing system and method
US7685596B1 (en) * 2004-09-01 2010-03-23 The Mathworks, Inc. Deploying and distributing of applications and software components

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609799A (en) * 2003-10-23 2005-04-27 微软公司 Resource manifest
CN1588313A (en) * 2004-08-31 2005-03-02 威盛电子股份有限公司 Method and system for integrating software mounting kit
US7685596B1 (en) * 2004-09-01 2010-03-23 The Mathworks, Inc. Deploying and distributing of applications and software components
CN101561762A (en) * 2008-04-18 2009-10-21 鸿富锦精密工业(深圳)有限公司 Software installation procedure packing system and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944949A (en) * 2013-01-21 2014-07-23 中国电信股份有限公司 Method of uploading files, system and cloud storage equipment
CN104156225A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Downloading method, system and server for installation package
WO2014183447A1 (en) * 2013-05-14 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method, system and sever for downloading installation package
US9128793B2 (en) 2013-05-14 2015-09-08 Tencent Technology (Shenzhen) Company Limited Method, system and server for downloading installation package
CN105988834A (en) * 2015-02-12 2016-10-05 腾讯科技(深圳)有限公司 Application installation package generating and installing method and apparatus
CN105988834B (en) * 2015-02-12 2019-11-19 腾讯科技(深圳)有限公司 A kind of application installation package generates, installation method and device
CN104679523A (en) * 2015-03-17 2015-06-03 浪潮集团有限公司 Graphical packaged software realization method based on domestic platform
CN106406923A (en) * 2015-07-30 2017-02-15 腾讯科技(深圳)有限公司 Processing method and device of dynamic library file
CN105975311A (en) * 2016-05-09 2016-09-28 腾讯科技(深圳)有限公司 Application startup method and device
CN108491695A (en) * 2018-03-26 2018-09-04 威创集团股份有限公司 A kind of joined screen system web project encryption method and device
CN108491695B (en) * 2018-03-26 2022-02-22 威创集团股份有限公司 Web project encryption method and device for spliced wall system

Similar Documents

Publication Publication Date Title
CN102314365A (en) Method and tool for making installation package
CN104375849B (en) Load the method and device of kernel
CN102231117B (en) Software installment method and system for embedded platform
CN106126290A (en) Application program optimization method, Apparatus and system
US8898662B2 (en) Method and device for generating software installation packet
KR101427561B1 (en) Method for adaptively executing an android application on tizen platform by automatically transforming the android application into tizen-installable package, and computer-readable recording medium for the same
CN104360884A (en) Plug-in resource packet loading method based on Android system
CN103955375A (en) Generation method for application installation file and starting method and device for application
CN104184814A (en) Method and system for generating and compounding embedded firmware differential upgrading file
CN105975311A (en) Application startup method and device
CN104866365A (en) Method and device for improving boot speed, and electronic equipment
CN102693121A (en) Automatic developing and manufacturing system of cross-platform mobile phone application and implementation method for cross-platform mobile phone application
CN106202158A (en) The using method of a kind of graphics file format and device
CN103513966A (en) PHP developing framework based on assemblies
CN114706564B (en) Software package manufacturing method and device, electronic equipment and storage medium
CN103761107A (en) Software package customizing device and method
CN111209001A (en) Method, system, equipment and medium for batch generation of APKs of android channels
CN107977208A (en) A kind of Safety actuality configuration authority method based on maven
CN111045686B (en) Method for improving decompilation speed of application, intelligent terminal and storage medium
US9699508B2 (en) Display apparatus having virtual machine and method of controlling the same
CN101714151A (en) SQL database-based set top box data storage method
AU2016378425B2 (en) Application program running method and apparatus
KR101427562B1 (en) Method for automatically transforming an android application into tizen-installable application package, and computer-readable recording medium for the same
KR101617765B1 (en) Method for automatically transforming android application package
CN103942051A (en) Application deployment method and device based on PAAS platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120111