CN102541583A - Method and device for building installation programs - Google Patents

Method and device for building installation programs Download PDF

Info

Publication number
CN102541583A
CN102541583A CN2010106217540A CN201010621754A CN102541583A CN 102541583 A CN102541583 A CN 102541583A CN 2010106217540 A CN2010106217540 A CN 2010106217540A CN 201010621754 A CN201010621754 A CN 201010621754A CN 102541583 A CN102541583 A CN 102541583A
Authority
CN
China
Prior art keywords
installation procedure
file
installation
installer information
tools
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
CN2010106217540A
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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2010106217540A priority Critical patent/CN102541583A/en
Publication of CN102541583A publication Critical patent/CN102541583A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for building installation programs, which relate to the field of computers. The method for building installation programs includes: acquiring installation program information; configuring parameters of an installation program building tool according to the installation program information; and triggering the installation program building tool to generate an installation program according to the configured parameters. Parameter configuration of the installation program building tool is modified according to the installation program information after the installation program information is acquired, and the installation program building tool is triggered to generate the installation program according to the parameters, so that manual parameter configuration of the installation program building tool is avoided, and installation program building efficiency is improved.

Description

A kind of installation procedure method for making and device
Technical field
The present invention relates to computer technology, relate in particular to a kind of installation procedure method for making and device.
Background technology
Current, the scale of computer utility is increasing, and installation procedure especially implementation phase of the deployment of software product, plays a part very important as the important component part of finished product software.The various installation procedure tools that produce therefrom arise at the historic moment; Wherein InstallShield is a kind of installation procedure tools relatively more commonly used; Has powerful IDE (Integrated Development; IDE), thus can Rapid Realization conventional installation procedure make task and greatly improve the installation procedure make efficiency.Through these installation procedure tools, can make the software installation procedure of windows platform, can also carry out the renewal of installation procedure according to the demand of new technology.
But the inventor finds; Because the InstallShield function is more; And use flexibly, make study use relatively difficulty of these installation procedure tools, and when making a large amount of identic similar installation procedure; Use InstallShield just to have a large amount of repetitive works, thereby influence the installation procedure make efficiency.
Summary of the invention
The embodiment of the invention provides a kind of installation procedure method for making and device, to improve the make efficiency of installation procedure.
The embodiment of the invention provides a kind of installation procedure method for making and device; After obtaining Installer Information; Revise installation procedure tools parameter configuration according to Installer Information; And trigger the installation procedure tools and generate installation procedure according to parameter, avoided the people for carrying out installation procedure tools parameter configuration, improved the make efficiency of installation procedure.
Description of drawings
The installation procedure method for making process flow diagram that Fig. 1 provides for the embodiment of the invention;
The installation procedure producing device structural representation that Fig. 2 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of installation procedure method for making and device; After obtaining Installer Information; Revise installation procedure tools parameter configuration according to Installer Information; And trigger the installation procedure tools and generate installation procedure according to parameter, avoided the people for carrying out installation procedure tools parameter configuration, improved the make efficiency of installation procedure.
Installation procedure method for making as shown in Figure 1, that the embodiment of the invention provides comprises:
Step S101, obtain Installer Information;
Step S102, according to the parameter of Installer Information configuration installation procedure tools;
Step S103, triggering installation procedure tools generate installation procedure according to the parameter that is disposed.
Because after obtaining Installer Information; Directly disposed the parameter of installation procedure tools according to the Installer Information that obtains; And then can avoid directly installation procedure being carried out loaded down with trivial details configuration so that the installation procedure tools generate installation procedure according to pre-configured parameter by the staff.
In embodiments of the present invention; The installation procedure tools can use InstallShield; Also can use Windows Installer, production and installation instruments such as InstallMaker, those skilled in the art also can adopt other production and installation instrument according to actual needs.
In step S101, obtain the Installer Information that Installer Information can directly obtain user's input, also can make and obtain Installer Information the history file from installation procedure.
Generally, when making a kind of new installation procedure, adopt first method usually,, can provide comparison friendly interface, make the user in this interface, to select easily or to fill in for the user for the ease of user's input; And under the situation that installation procedure contents such as installation procedure upgrading change; Can directly read the history file that generates after the fabrication and installation program once; After directly obtaining historical Installer Information, make amendment according to actual needs by the user again and can get access to new Installer Information.
In step S102, the parameter according to said Installer Information configuration installation procedure tools, adopt following dual mode usually:
Parameter configuration in the project file of direct modification installation procedure tools perhaps generates the mount message file that supplies the installation procedure tools to read according to Installer Information, certainly, also can adopt this dual mode to be configured simultaneously.
Generally; When adopting dual mode to be configured at the same time; Main routing information to source file in the installation procedure is configured in project file; When generating installation procedure, the installation procedure tools can remove to search the required source file of fabrication and installation program according to the routing information in the project file.And in the mount message file; Then disposed file name, the file type of each file that is comprised in the installation procedure, the attributes such as installation path of file, the installation procedure tools come the fabrication and installation program according to each file attribute in the mount message file.
For example; If need comprise A, B, three files of C in the installation procedure; The source file of these three files all is stored in the sourcefiles file of D dish, is the sourcefiles file of D dish at configuration path in project file then, specifically can be D:/sourcefiles/.If the attribute of the A in the installation procedure, B, three files of C then disposed by the mount message file can be stored following content in the mount message file:
File 1:
Filename: A;
File type: directly duplicate;
Installation path: user definition installation path;
File 2:
Filename: B;
File type: execute file;
Installation path: user definition installation path/B/;
File 3:
Filename: C;
File type: Com assembly;
Installation path: user definition installation path;
According to the configuration in the mount message file, the installation procedure of generation directly copies to the file A in the installation procedure under the user definition installation path and to get final product when carrying out; And the file B in the installation procedure then need carry out installation, and is installed under the B file of user definition installation path; File C in the installation procedure need revise registration table, is installed under the user definition installation path.
In the mount message file, the user definition installation path of acquiescence can also be set, for example be set to C:/ProgramFiles/; Certainly,, can only be installed in the catalogue of regulations such as windows directory, System32 catalogue, like this, the catalogue of user definition installation path for regulation can be set in the mount message file, not allow the user to revise when mounted for some installation procedure.
In the mount message file; The form of the installation procedure that can also be generated according to user's needs configuration still is the multifile installation kit for the monofile installation kit; If the monofile installation kit all is compressed in file A, B, C in the file installation kit when then generating installation procedure, if the multifile installation kit; When then generating installation procedure, file A, B, C are placed in the installation procedure file that is generated as independent file.
In step S103; Accomplished the configuration of parameter; Then can trigger the installation procedure tools and generate installation procedure, during installation procedure tools fabrication and installation program, carry out the making of installation procedure according to project file that is disposed and the mount message file that reads according to parameter.
After installation procedure completes; Can also and make the result according to Installer Information; Generate installation procedure and make history file; So that when carrying out the installation procedure upgrading and revising, directly obtain Installer Information, thereby further simplify the making of installation procedure through this installation procedure history file.
After the fabrication and installation program is accomplished, all can generate corresponding installation procedure and make history file at every turn, it can be an xml file that this installation procedure is made history file, for example:
Figure BSA00000409124400041
Figure BSA00000409124400051
Wherein, Version is the version information of designated mounting program making instrument InstallShield, and system supports the version of InstallShield to have 6.22,12,2010 at present; InstallShieldPath is the installation path of these installation procedure tools of InstallShield in the system; SingleExe representes that the installation procedure that is generated is monofile installation kit or multifile installation kit, and monofile is 1, and multifile is 0; ExeName representes the installation procedure title that generated; Among the Mission corresponding each file is installed, the file content in the mount message file of being given an example among its content and the last embodiment is identical.
The embodiment of the invention is also corresponding to provide a kind of installation procedure producing device, as shown in Figure 2, comprising: acquiring unit 201, dispensing unit 202 and trigger element 203, wherein:
Acquiring unit 201 is used to obtain Installer Information;
Dispensing unit 202 is used for the parameter according to Installer Information configuration installation procedure tools;
Trigger element 203 is used to trigger the installation procedure tools and generates installation procedure according to the parameter that is disposed.
Wherein, obtain the Installer Information that Installer Information can directly obtain user's input, also can make from installation procedure and obtain Installer Information the history file, at this moment, acquiring unit 201 specifically is used for:
Obtain the Installer Information of user's input; Perhaps
From installation procedure making history file, obtain Installer Information.
According to the different installation procedure tools and the needs of actual conditions, dispensing unit 202 employed collocation methods also can be different, and dispensing unit 202 specifically is used for:
Parameter configuration in the project file of direct modification installation procedure tools; And/or
Generate the mount message file that supplies the installation procedure tools to read according to Installer Information.
Further,, after installation procedure completes, can also and make the result, generate installation procedure and make history file, at this moment, also comprise in the installation procedure producing device according to Installer Information for the ease of the modification or the upgrading of installation procedure:
Generation unit is used for generating installation procedure and making history file according to Installer Information and making result.
The embodiment of the invention provides a kind of installation procedure method for making and device; After obtaining Installer Information; Revise installation procedure tools parameter configuration according to Installer Information; And trigger the installation procedure tools and generate installation procedure according to parameter, avoided the people for carrying out installation procedure tools parameter configuration, improved the make efficiency of installation procedure.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. an installation procedure method for making is characterized in that, comprising:
Obtain Installer Information;
Parameter according to said Installer Information configuration installation procedure tools;
Trigger said installation procedure tools and generate installation procedure according to the parameter that is disposed.
2. the method for claim 1 is characterized in that, the said Installer Information that obtains is specially:
Obtain the Installer Information of user's input; Perhaps
From installation procedure making history file, obtain Installer Information.
3. the method for claim 1 is characterized in that, said parameter according to said Installer Information configuration installation procedure tools specifically comprises:
Parameter in the project file of the said installation procedure tools of direct modification; And/or
Generate the mount message file that supplies said installation procedure tools to read according to said Installer Information.
4. method as claimed in claim 3 is characterized in that, the parameter in the said project file specifically comprises:
The routing information of source file in the said installation procedure.
5. method as claimed in claim 3 is characterized in that, specifically comprises in the said mount message file:
The filename of each file, installation path and Setup Type in the said installation procedure.
6. the method for claim 1 is characterized in that, after the said installation procedure tools of triggering generate installation procedure according to the parameter that is disposed, also comprises:
According to said Installer Information and making result, generate installation procedure and make history file.
7. an installation procedure producing device is characterized in that, comprising:
Acquiring unit is used to obtain Installer Information;
Dispensing unit is used for the parameter according to said Installer Information configuration installation procedure tools;
Trigger element is used to trigger said installation procedure tools and generates installation procedure according to the parameter that is disposed.
8. device as claimed in claim 7 is characterized in that, said acquiring unit specifically is used for:
Obtain the Installer Information of user's input; Perhaps
From installation procedure making history file, obtain Installer Information.
9. device as claimed in claim 7 is characterized in that, said dispensing unit specifically is used for:
Parameter configuration in the project file of the said installation procedure tools of direct modification; And/or
Generate the mount message file that supplies said installation procedure tools to read according to said Installer Information.
10. device as claimed in claim 7 is characterized in that, also comprises:
Generation unit is used for generating installation procedure and making history file according to said Installer Information and making result.
CN2010106217540A 2010-12-24 2010-12-24 Method and device for building installation programs Pending CN102541583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106217540A CN102541583A (en) 2010-12-24 2010-12-24 Method and device for building installation programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106217540A CN102541583A (en) 2010-12-24 2010-12-24 Method and device for building installation programs

Publications (1)

Publication Number Publication Date
CN102541583A true CN102541583A (en) 2012-07-04

Family

ID=46348554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106217540A Pending CN102541583A (en) 2010-12-24 2010-12-24 Method and device for building installation programs

Country Status (1)

Country Link
CN (1) CN102541583A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334729A (en) * 2008-08-07 2008-12-31 金蝶软件(中国)有限公司 Method and device for treating the software package
CN101515238A (en) * 2009-03-31 2009-08-26 山东鲁西化工股份有限公司 Method for automatically installing or uninstalling application software of computers and a device thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334729A (en) * 2008-08-07 2008-12-31 金蝶软件(中国)有限公司 Method and device for treating the software package
CN101515238A (en) * 2009-03-31 2009-08-26 山东鲁西化工股份有限公司 Method for automatically installing or uninstalling application software of computers and a device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device

Similar Documents

Publication Publication Date Title
CN111027921B (en) Service processing method and device, electronic equipment and storage medium
CN102508669A (en) Automatic program code generating method
CN110633284B (en) Method and device for changing table in database
CN107247601B (en) Development process optimization method, device and storage medium
CN108334365B (en) Method for realizing instrument parameter interface dynamic configuration in automatic test system software
EP1835397A1 (en) Application framework
US10324438B2 (en) Sequence-control programming apparatus, sequence-control programming method, and operating system
CN105373406B (en) Application layout dynamic switching method and system based on Android platform
WO2016098168A1 (en) Information system construction support tool and information system construction support program
US20130055285A1 (en) Discovery and activation of application extensions
JP2011100447A (en) Entity morphing in metamodel-based tool
CN102314351A (en) Installation program generating device and installation program generating method
US20110179397A1 (en) Systems and methods for metamodel transformation
CN1744037A (en) Method for avoiding grid computing application to depend on bottom development tool box
CN105912641A (en) Icon update method and apparatus of Native Apps
CN102215264A (en) Method and device for supporting multi-tenancy data and service customized running
CN102541583A (en) Method and device for building installation programs
CN102957562B (en) Linux group system remote automatic maintenance method and maintenance system
CN102622213A (en) One-click upgrade tool generation system and manufacturing method thereof
CN101685395A (en) Object property processing method of product data management system
CN103714814A (en) Voice introducing method of voice recognition engine
CN102207880A (en) Software updating method and device
JP2010282286A (en) Development support device, and program
JP2010128776A (en) Apparatus and method for automatic maintenance of portable terminal
CN107368321B (en) Software version evolution method and system

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: 20120704