CN100416499C - Method and system for integrating software installation suite - Google Patents
Method and system for integrating software installation suite Download PDFInfo
- Publication number
- CN100416499C CN100416499C CNB200410075105XA CN200410075105A CN100416499C CN 100416499 C CN100416499 C CN 100416499C CN B200410075105X A CNB200410075105X A CN B200410075105XA CN 200410075105 A CN200410075105 A CN 200410075105A CN 100416499 C CN100416499 C CN 100416499C
- Authority
- CN
- China
- Prior art keywords
- installation
- file
- mentioned
- main
- mounting kit
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000009434 installation Methods 0.000 claims abstract description 114
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000011900 installation process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种安装程序,特别是涉及一种整合软件安装套件的方法与系统。The invention relates to an installation program, in particular to a method and system for integrating software installation kits.
背景技术Background technique
图1示出了已知撰写软件安装程序的步骤流程图。FIG. 1 shows a flow chart of the known steps of writing a software installation program.
在步骤S11中,建立安装套件(setup package),选取必须的安装组件与建立安装路径。In step S11, a setup package is established, necessary installation components are selected and an installation path is established.
在步骤S12中,建立安装程序(flow control),确定所有安装步骤与相关设定无误。In step S12, an installation program (flow control) is established, and all installation steps and related settings are confirmed to be correct.
在步骤S13中,建立或导入动态连结数据库(Dynamic Link Library,DLL),为特定软件或装置撰写动态连结数据库,或者使用预先建好的动态连结数据库。In step S13, create or import a dynamic link database (Dynamic Link Library, DLL), write a dynamic link database for a specific software or device, or use a pre-built dynamic link database.
在步骤S14中,测试安装套件,确认安装组件与安装路径彼此间的连结无误。In step S14, the installation kit is tested to confirm that the connection between the installation components and the installation paths is correct.
在步骤S15中,导入多国语言套件,让使用者选取适合的语系。In step S15, the multi-language package is imported to allow the user to select a suitable language system.
如上所述,软件安装需使用特定的安装程序,而程序设计师利用专属的软件套件,如InstallShield、DemoShield等等,以快速地撰写安装程序。程序设计师需为每一软件撰写专属的安装程序,但这样的方式会造成重复撰写某些共享的程序代码,导致资源与时间的浪费。As mentioned above, software installation needs to use a specific installation program, and program designers use exclusive software suites, such as InstallShield, DemoShield, etc., to quickly write installation programs. Programmers need to write a dedicated installation program for each software, but this method will cause repeated writing of some shared program codes, resulting in waste of resources and time.
举例来说,A软件与B软件的安装过程是类似的,差别只在于B软件在安装过程中多了个人化设定的步骤,则程序设计师无法套用A软件的安装程序与其程序,其必须重新定义B软件的安装程序以及导入所需的安装组件,以重新撰写安装程序。For example, the installation process of software A and software B is similar, the only difference is that there are more steps of personalization setting in the installation process of software B, then the programmer cannot apply the installation program and program of software A, he must Redefine the installation program of B software and import the required installation components to rewrite the installation program.
此外,针对某一软件所撰写的核心程序,其文件大小通常只占整个程序的一小部份,其余的为多国语言套件或其它共享组件。若程序设计师只需设计一个整合多个安装程序的核心程序与共享套件的安装界面,而非撰写该核心程序与共享套件的程序代码,将可节省开发时间与系统资源。In addition, the file size of the core program written for a certain software usually only accounts for a small part of the entire program, and the rest are multi-language packages or other shared components. If the program designer only needs to design an installation interface that integrates the core program and the shared package of multiple installers, instead of writing the program code of the core program and the shared package, development time and system resources can be saved.
因此,本发明提供一种可快速撰写安装程序的方法。Therefore, the present invention provides a method for quickly writing an installation program.
发明内容Contents of the invention
有鉴于此,本发明的目的是提供一种整合软件安装套件的方法,整合软件安装所需的共享套件,避免重复撰写可共享的安装套件。In view of this, the object of the present invention is to provide a method for integrating software installation kits, which integrates shared kits required for software installation, and avoids duplication of compiling sharable installation kits.
本发明的另一目的是提供一种整合软件安装套件的系统,提供一整合安装程序的核心程序与共享套件的安装界面,令使用者不需撰写核心程序与共享套件的程序代码,节省软件开发时间与系统资源。Another object of the present invention is to provide a system for integrating software installation kits, providing an installation interface that integrates the core program of the installation program and the shared kit, so that users do not need to write program codes for the core program and shared kit, saving software development time and system resources.
基于上述目的,本发明提供一种整合软件安装套件的系统,其包括至少一安装组件、一安装配置文件以及一主安装程序。该安装组件包括一界面文件与一组件执行文件。该安装配置文件记载该主安装程序所支持的安装组件数量以及一安装设定。该主安装程序包括一主执行文件与多个共享套件,其存取该安装配置文件,判断是否有相符的安装组件,若有,则接着存取安装配置文件中的安装设定,并根据该安装设定安装该共享套件与组件执行文件。Based on the above purpose, the present invention provides a system for integrating software installation kits, which includes at least one installation component, an installation configuration file and a main installation program. The installation component includes an interface file and a component execution file. The installation configuration file records the number of installation components supported by the main installation program and an installation setting. The main installation program includes a main execution file and a plurality of shared packages. It accesses the installation configuration file to determine whether there is a matching installation component. If so, it then accesses the installation settings in the installation configuration file, and according to the The installer setting installs the shared package and component executable files.
本发明还提供一种整合软件安装套件的方法。将一主执行文件与多个共享套件封装为一主安装程序。该主安装程序存取一安装配置文件,其中该安装配置文件记载该主安装程序所支持的安装组件数量以及一安装设定,判断是否有相符的安装组件,若有,则接着存取安装配置文件中的安装设定。该主安装程序根据该安装设定安装上述共享套件与一安装组件中的组件执行文件。The invention also provides a method for integrating software installation kits. A main executable file and multiple shared packages are packaged into a main installer. The main installer accesses an installation configuration file, wherein the installation configuration file records the number of installation components supported by the main installer and an installation setting, and determines whether there are matching installation components, and if so, then accesses the installation configuration installation settings in the file. The main installation program installs the above-mentioned shared package and component execution files in an installation component according to the installation setting.
附图说明Description of drawings
图1示出了已知撰写软件安装程序的步骤流程图。FIG. 1 shows a flow chart of the known steps of writing a software installation program.
图2示出了本发明的整合软件安装套件的系统架构图。FIG. 2 shows a system architecture diagram of the integrated software installation kit of the present invention.
图3示出了本发明的整合软件安装套件的方法步骤流程图。Fig. 3 shows a flow chart of the method steps of the integrated software installation kit of the present invention.
附图符号说明Description of reference symbols
10、20、30~安装组件10, 20, 30~installation components
10a、20a、30a~界面文件10a, 20a, 30a~interface files
10b、20b、30b~组件执行文件10b, 20b, 30b~component execution file
10c、20c、30c~多国语言文件10c, 20c, 30c~multilingual files
11、21、31~界面指令11, 21, 31~Interface commands
100~主安装程序100 ~ Main Installer
110~主执行文件110~main execution file
120~共享套件120~shared suite
200~安装配置文件200~install configuration file
300~安装配置多国语言文件300~Installing and configuring multi-language files
具体实施方式Detailed ways
为使本发明的上述和其它目的、特征和优点能更明显易懂,下文特举出较佳实施例,并结合附图详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are enumerated below and described in detail with reference to the accompanying drawings.
本发明提供一种整合软件安装套件的方法与系统。本发明将所有共享的安装套件整合成单一界面,程序设计师只需针对单一软件撰写其所需的核心程序。The invention provides a method and system for integrating software installation kits. The invention integrates all shared installation kits into a single interface, and program designers only need to write their required core programs for a single software.
图2示出了本发明的整合软件安装套件的系统架构图。本发明架构包括一主安装程序100、一安装配置文件200、一安装配置多国语言文件300以及多个安装组件(在本实施例中提供安装组件10、20与30),每一个安装组件使用于一安装程序。安装组件10包括一界面文件10a、一组件执行文件10b、以及一多国语言文件10c。安装组件20包括一界面文件20a、一组件执行文件20b、以及一多国语言文件20c。安装组件30包括一界面文件30a、一组件执行文件30b、以及一多国语言文件30c。FIG. 2 shows a system architecture diagram of the integrated software installation kit of the present invention. The architecture of the present invention includes a
界面文件10a、20a、30a为主安装程序100与安装组件10、20、30中的组件执行文件10b、20b、30b间的沟通界面,令主安装程序100可根据界面指令11、21、31中描述安装组件10、20、30的内容、特性、安装顺序等语法执行组件执行文件10b、20b、30b。组件执行文件10b、20b、30b分别包含可执行文件、驱动程序文件以及动态连结文件等用于执行软件安装的核心程序。多国语言文件10c、20c、30c为分别适用于安装组件10、20、30的语言套件。
主安装程序100包含主执行文件(main setup file)110与所有安装软件皆会使用到的共享套件120。举例来说,若所有安装软件皆需用到某一动态数据库连结文件(例如,msvcrt.dll),则将该文件预先内建于主安装程序100。另外,共享套件具有固定的安装顺序,不允许使用者任意修改该安装序列以确保软件可正常安装以及维护系统安全与稳定。The
安装配置文件200记载主安装程序100所支持的安装组件数量以及安装设定,即执行安装程序时,共享套件120与每一组件执行文件中的核心程序的安装顺序。主安装程序100可支持安装的软件数量没有限制,而每一组件执行文件中的核心程序与主安装程序100中包含的共享套件的安装顺序经预先定义好,使用者即根据该安装顺序执行软件安装。The
安装配置多国语言文件300记载每一安装组件所支持的多国语言设定。当套用某一安装组件时,即根据安装配置多国语言文件300安装使用者选择的语系。The installation configuration
举例来说,当执行主安装程序100的主执行文件110以进行软件安装时,主安装程序100先存取安装配置文件200,判断是否有相符的安装组件。若有,则接着存取安装配置文件200中的安装设定。根据所需安装组件的界面文件中的描述语法,以依安装顺序安装共享套件与该安装组件中的核心程序。若需安装不同语系,则令主安装程序100根据安装配置多国语言文件300中记载的安装设定安装多国语言套件。For example, when executing the main execution file 110 of the
此外,本发明所述的安装组件可同时支持软件与不同类型的固件装置进行软件安装,上述固件装置包括储存装置、网络设备或硬件输入设备等等。In addition, the installation component of the present invention can simultaneously support software and different types of firmware devices for software installation, and the above-mentioned firmware devices include storage devices, network devices, or hardware input devices and so on.
图3示出了本发明的整合软件安装套件的方法步骤流程图。Fig. 3 shows a flow chart of the method steps of the integrated software installation kit of the present invention.
在步骤S21中,将一主执行文件与多个共享套件封装为一主安装程序。In step S21, a main executable file and multiple shared packages are packaged into a main installation program.
在步骤S22中,提供一安装配置文件与一安装配置多国语言文件。安装配置文件记载主安装程序所支持的安装组件数量以及安装设定。安装配置多国语言文件记载每一安装组件所支持的多国语言设定。In step S22, an installation configuration file and an installation configuration file in multiple languages are provided. The installation configuration file records the number of installation components supported by the main installer and the installation settings. The installation configuration multi-language file records the multi-language settings supported by each installation component.
在步骤S23中,该主安装程序存取该安装配置文件,取得其中包含的安装设定。In step S23, the main installer accesses the installation configuration file to obtain the installation settings contained therein.
在步骤S24中,该主安装程序根据该安装设定安装共享套件与该安装组件中的核心程序。In step S24, the main installation program installs the shared package and the core program in the installation component according to the installation setting.
本发明提供一整合安装程序的核心程序与共享套件的安装界面,令使用者不需撰写核心程序与共享套件的程序代码,以节省开发时间与系统资源。The present invention provides an installation interface that integrates the core program of the installation program and the shared package, so that the user does not need to write the program code of the core program and the shared package, so as to save development time and system resources.
虽然本发明已以较佳实施例披露如上,然其并非用以限定本发明,本领域的技术人员在不脱离本发明的精神和范围的前提下可作各种的更动与润饰,因此本发明的保护范围以本发明的权利要求为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The protection scope of the invention shall be determined by the claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410075105XA CN100416499C (en) | 2004-08-31 | 2004-08-31 | Method and system for integrating software installation suite |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410075105XA CN100416499C (en) | 2004-08-31 | 2004-08-31 | Method and system for integrating software installation suite |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1588313A CN1588313A (en) | 2005-03-02 |
CN100416499C true CN100416499C (en) | 2008-09-03 |
Family
ID=34604892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200410075105XA Expired - Lifetime CN100416499C (en) | 2004-08-31 | 2004-08-31 | Method and system for integrating software installation suite |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100416499C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7861241B2 (en) | 2006-02-09 | 2010-12-28 | Canon Kabushiki Kaisha | Install apparatus, install method, program, and storage medium |
JP2007213343A (en) * | 2006-02-09 | 2007-08-23 | Canon Inc | Installation device, installation method, program and storage medium |
CN101694624B (en) * | 2009-10-19 | 2015-05-20 | 中兴通讯股份有限公司 | Method for processing compact disc image files of software installation package and device |
CN102012826A (en) * | 2010-11-19 | 2011-04-13 | 奇智软件(北京)有限公司 | Method and system for intelligently installing/upgrading software |
CN102314365A (en) * | 2011-09-08 | 2012-01-11 | 北京新媒传信科技有限公司 | Method and tool for making installation package |
CN103257868B (en) * | 2012-02-20 | 2016-12-28 | 联想(北京)有限公司 | The method and apparatus of installation procedure |
CN103729176B (en) * | 2012-10-12 | 2018-01-26 | 腾讯科技(深圳)有限公司 | Application program integration method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1266225A (en) * | 1999-03-04 | 2000-09-13 | 英业达股份有限公司 | Software Preinstallation Method |
CN1485732A (en) * | 2002-09-27 | 2004-03-31 | 联想(北京)有限公司 | Application software automatic installing and automatic restoring method |
-
2004
- 2004-08-31 CN CNB200410075105XA patent/CN100416499C/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1266225A (en) * | 1999-03-04 | 2000-09-13 | 英业达股份有限公司 | Software Preinstallation Method |
CN1485732A (en) * | 2002-09-27 | 2004-03-31 | 联想(北京)有限公司 | Application software automatic installing and automatic restoring method |
Also Published As
Publication number | Publication date |
---|---|
CN1588313A (en) | 2005-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8621419B2 (en) | Automating the life cycle of a distributed computing application | |
CN107526625B (en) | Java intelligent contract security detection method based on bytecode inspection | |
US20090064196A1 (en) | Model based device driver code generation | |
CN107832059B (en) | Code static analysis method and device based on Makefile | |
US8387032B1 (en) | Captive runtime deployment | |
CN100535856C (en) | Method for constructing middle library | |
RU2009115662A (en) | SOFTWARE DEVELOPMENT ENVIRONMENT FOR A THIN CUSTOMER | |
CN100492387C (en) | Method and system for software protected development based on Keil C51 | |
CN109670299A (en) | A kind of method and electronic equipment creating Python sandbox environment | |
CN113312046A (en) | Sub-application page processing method and device and computer equipment | |
US7376935B2 (en) | Design-time system and method to enable programming assistance across languages and compilation boundaries | |
CN100416499C (en) | Method and system for integrating software installation suite | |
CN112631915B (en) | Method, system, device and medium for PCIE device software simulation | |
TWI341992B (en) | Method and system for quickly developing an embedded operating system through utilizing an automated building framework | |
CN105573913A (en) | Program debugging method and program debugging system in optical network unit (ONU) system | |
Chakravarthy et al. | Edicts: implementing features with flexible binding times | |
US9646118B1 (en) | Linking of simulators into a circuit design tool | |
CN100361075C (en) | Method and device for rapidly developing embedded system by applying automatic compiling framework | |
US20090089779A1 (en) | Apparatus system and method for customizing a computing environment | |
CN118051421A (en) | Injection method and device for IO time delay fault, electronic equipment and storage medium | |
RU2521265C2 (en) | System and method for automatic processing of software system errors | |
CN113805899B (en) | Automatic software deployment method | |
CN117573154B (en) | Method and device for optimizing desktop application installation package based on electronics on Linux system | |
KR100638476B1 (en) | System-on-chip development environment and development method based on virtual platform | |
CN114253615B (en) | Method and device for setting bootstrap program, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20080903 |
|
CX01 | Expiry of patent term |