CN106775776A - The optimization method and system at a kind of software installation interface - Google Patents

The optimization method and system at a kind of software installation interface Download PDF

Info

Publication number
CN106775776A
CN106775776A CN201710056473.7A CN201710056473A CN106775776A CN 106775776 A CN106775776 A CN 106775776A CN 201710056473 A CN201710056473 A CN 201710056473A CN 106775776 A CN106775776 A CN 106775776A
Authority
CN
China
Prior art keywords
installation
software
installation interface
interface
nsis
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.)
Granted
Application number
CN201710056473.7A
Other languages
Chinese (zh)
Other versions
CN106775776B (en
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.)
Wuhan Tianyu Education Technology Co Ltd
Original Assignee
Wuhan Tianyu Education 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 Wuhan Tianyu Education Technology Co Ltd filed Critical Wuhan Tianyu Education Technology Co Ltd
Priority to CN201710056473.7A priority Critical patent/CN106775776B/en
Publication of CN106775776A publication Critical patent/CN106775776A/en
Application granted granted Critical
Publication of CN106775776B publication Critical patent/CN106775776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to computer realm, a kind of optimization method at software installation interface, including step S1 are disclosed:Corresponding installation interface is designed according to installation procedure, the installation procedure includes beginnings, agreement, installation path selection, installs to carry out neutralizing installation and terminates, and installation interface corresponding to installation procedure described at least one includes the element for decoration and/or interaction;Step S2:The element is inserted into corresponding installation interface;Step S3:Duilib instruments are packaged into NSIS plug-in units, installation procedure is controlled using NSIS installation scripts, and the function control of the installation interface is completed by the NSIS plug-in units.Also disclose a kind of optimization system at software installation interface.The present invention can effectively improve the flexibility of software installation interface.

Description

The optimization method and system at a kind of software installation interface
Technical field
The present invention relates to computer realm, and in particular to the optimization method and a kind of software installation at a kind of software installation interface The optimization system at interface.
Background technology
In the application of computer program, often carry out the installation of client related software installation kit and update, therefore Inevitably it is related to the making of software installation bag.Software installation bag generally uses NSIS and is made, and NSIS is one The production process of the software installation procedure under the Windows systems increased income, while NSIS is reserved with feature card expansion interface.
It is the friendliness between attractive in appearance and software and the user that improve software installation interface, in the making of software installation bag Cheng Zhong, can beautify to the installation interface of software, and common way is the plug-in extension interface for using NSIS to reserve, and access special UI (User's Interface, user interface) interface beautification bag of solid plate, so that the beautification at software installation interface is completed, but Due to the UI interfaces beautification Templated limitation of bag, during installation interface is beautified, it is only capable of using UI interfaces to beautify in bag The beautification scheme of existing installation interface, it is impossible to customized installation interface beautification is carried out according to software itself selling point and is set Meter, and then the product demand of user or software developer's diversification cannot be met.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of optimization side at software installation interface Method and a kind of optimization system at software installation interface, effectively improve the flexibility of software installation interface.
To achieve the above objectives, the present invention adopts the technical scheme that, including:
Step S1:Corresponding installation interface is designed according to installation procedure, the installation procedure includes beginning, agreement, installation Path selection, installation are carried out neutralizing installation and terminated, and installation interface corresponding to installation procedure described at least one includes being used for Decoration and/or the element of interaction;
Step S2:The element is inserted into corresponding installation interface;
Step S3:Duilib instruments are packaged into NSIS plug-in units, installation procedure is controlled using NSIS installation scripts, and pass through The NSIS plug-in units complete the function control of the installation interface.
On the basis of above-mentioned technical proposal, the function control of installation interface includes switching, installation circle between installation interface The triggering of function button, the read-write of registration table and software service are installed on face.
On the basis of above-mentioned technical proposal, the element is the animation or picture for introducing software function.
On the basis of above-mentioned technical proposal, the NSIS installation scripts are used to carry out the configuration of installation interface, install boundary Face layout injection, define NSIS power functions and with installation interface bind.
On the basis of above-mentioned technical proposal, the NSIS installation scripts are additionally operable to for NSIS power functions to be put into register In, and NSIS power functions and NSIS plug-in units are bound.
On the basis of above-mentioned technical proposal, the installation interface is write by XML.
The present invention also provides a kind of optimization system at software installation interface, including:
NSIS primary modules, it is used for systematic parameter management in installation interface, registration table management and is interacted with communication between plug-in unit, And installation procedure control;The systematic parameter management includes software installation path parameter, temporary path parameter and system version Parameter;
Supplementary module is installed, it is used to completing element displaying in installation interface, download when software installation is run and rely on component And Service Management and management of process during software installation.
On the basis of above-mentioned technical proposal, the element is the animation or picture for introducing software function, described NSIS primary modules are additionally operable to the displaying of animation effect.
On the basis of above-mentioned technical proposal, the installation interface is write by XML, and the installation supplementary module is additionally operable to solution Analysis XML file.
On the basis of above-mentioned technical proposal, the Service Management includes the detection of Windows service states and Windows clothes The start and stop of business, the management of process includes that the process status of software installation judges, and the process of software installation terminates.
Compared with prior art, a kind of advantage of the optimization method at software installation interface of the invention is:Using script plus The mode of plug-in unit, the NSIS plug-in units being packaged into by Duilib instruments complete installation interface beautification and the self-defined of function sets Meter, realizes personalized software installation procedure, and to being customized of installation interface of each installation procedure, such as installation interface is individual Property design, the dynamic typesetting of installation interface and installation process page quantity set;To being customized of installation process, such as software peace Fill configuration, the detection of installation environment and the dynamic configuration of authority;Realize the customization of mounting means, such as software download online peace Dress, offline install or offline installed with on-line mixing formula.Meet the product demand of diversification, farthest embody product certainly The characteristic of body.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the optimization method at software installation interface of the invention.
Specific embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Shown in Figure 1, the present invention provides a kind of optimization method at software installation interface, the optimization at the software installation interface Method is based on NSIS (Nullsoft Scriptable Install System), and NSIS is a Windows system increased income Under software installation procedure production process, it provide the peace loading, unloading of software installation bag, system set, file decompression etc. Function, it can be described the behavior of software installation procedure and patrolled by the script with programming language similar structures and grammer Volume.The optimization method at the software installation interface specifically includes following steps:
Step S1:Corresponding installation interface is designed according to installation procedure, the installation procedure includes beginning, agreement, installation Path selection, installation are carried out neutralizing installation and terminated, and installation interface corresponding at least one installation procedure is included for decorating And/or the element of interaction.Start to be chosen whether by software installation in computer for user when starting the installation of software installation bag, association The related description and legal agreements used for software are discussed, installation path selection is specific disk position of the software installation in computer Put, it is installation, the storing process of software to install in carrying out, and installs and terminates to terminate for whole software installation, therefore according to each installation Flow, each flow to that should have installation interface, such as:Start page, agreement page, installation path selection page, installation carry out middle page and Sign-off sheet is installed.According to actual needs, the additions and deletions of part flow and the page can be carried out.After completing the design of installation interface, pair set The installation interface of meter cut figure, and by installation interface cut figure and the packing of required control is put into file.Element be to The animation or picture of software function (or characteristic) are introduced, by animation or the form of picture, preferably shows software certainly to user The characteristic of body, increases and the friendliness interacted between user.For the installation interface for designing, by XML (Extensible Markup Language, extensible markup language) to be write, installation interface is write XML file by text editor In entering installation interface.
Step S2:Element is inserted into corresponding installation interface, while extra Dynamic Display can also be added to installation interface Effect, Dynamic Display effect can be translation, rotation, upset or gradual change, finally cause when software installation bag is installed, respectively Individual installation interface is presented with animation or dynamic form.
Step S3:Duilib instruments are packaged into NSIS plug-in units, installation procedure is controlled using NSIS installation scripts, and pass through The NSIS plug-in units complete the function control of the installation interface.By NSIS installation scripts, control software installation kit is according to step Installation procedure in rapid S1 is carried out successively, is the installation procedure control that software installation bag is realized by script in NSIS, and The functions such as installation, software unloading, system setting, the file decompression of software installation bag can also be carried out by script, by script Language describes behavior and the function logic of installation procedure.NSIS installation scripts are additionally operable to carry out the configuration of installation interface (as weighed Limit configuration), installation interface layout injection, define NSIS power functions and with installation interface binding, NSIS power functions be root Some functions that factually border displaying or installation need to use SQL or call back function to realize.NSIS installation scripts are also used It is put into register in by NSIS power functions, and NSIS power functions and NSIS plug-in units is bound.Dynamic exhibition in step S2 Show that effect is realized by NSIS plug-in units.
Opening has developing plug interface in NSIS, and in the present embodiment, NSIS plug-in units are formed by the encapsulation of Duilib instruments, and NSIS plug-in units are dll file, will Duilib instruments be encapsulated as the mode of NSIS plug-in units, make to be carried out between Duilib instruments and NSIS Interaction, Duilib instruments are a powerful interface development frameworks, can be completely separated the interface of user and treatment logic, pole The earth improves the development efficiency of user interface, and the present invention increases the function of software installation bag installation interface by Duilib instruments Control, (function button is such as the triggering of installation interface function control function button including the switching between installation interface, on installation interface Start button etc.), the read-write of registration table (such as related registration table read-write of software) and software service be (such as with software matching suit Business) install.
By the way of script inserts part, the soft of personalization is realized in the injection by NSIS plug-in units to installation interface function Part installation procedure, to being customized of installation interface of each installation procedure, such as Character Design of installation interface, installation interface Dynamic typesetting and installation process page quantity are set;To being customized of installation process, such as configuration of software installation authority, installation The detection of environment and dynamic configuration;Realize the customization of mounting means, such as software download online install, it is offline install or it is offline and On-line mixing formula is installed.Meet the product demand of diversification, farthest embody the characteristic of product itself.
The present invention also provides a kind of optimization system at the software installation interface based on above-mentioned software installation interface optimization method, Including NSIS primary modules and installation supplementary module,
NSIS primary modules be used for installation interface in systematic parameter management, registration table management and between plug-in unit communication interact and Installation procedure is controlled.Systematic parameter management includes software installation path parameter, temporary path parameter and system version parameter, i.e., soft The installation path parameter of part, the temporary path parameter of software and the system version parameter of software.It is to be based on to install supplementary module The NSIS plug-in units that Duilib instruments are packaged into, thus NSIS primary modules be used for supplementary module is installed between communicate and interact.Element is It is used to introduce the animation or picture of software function, NSIS primary modules are additionally operable to the displaying of animation effect, i.e., in displaying installation interface The related Dynamic Display of animation.NSIS primary modules are additionally operable to control installation interface operationally, and the operation of third party's program is such as pacified Dress .net environment, VC installation kits, Windows service installations etc..
Install supplementary module be used to complete element displaying in installation interface, download relied on when software installation is run component and Service Management and management of process during software installation.Installation interface is write by XML, therefore installs supplementary module and be additionally operable to parse XML File, both write the corresponding XML file of installation interface by XML.Service Management include Windows service states detection and The start and stop of Windows services, management of process includes that the process status of software installation judges, and the process of software installation terminates. Download when software installation is run and rely on component, in the installation process of software, corresponding installation interface can rely on component, such as .NET Framework, and for relying on the download of component, the pattern that can be installed using the download online from internet or offline bag.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (10)

1. a kind of optimization method at software installation interface, the optimization method at the software installation interface is based on NSIS, it is characterised in that Including:
Step S1:Corresponding installation interface is designed according to installation procedure, the installation procedure includes beginning, agreement, installation path Selection, install to carry out neutralizing installation and terminate, and installation interface corresponding to installation procedure described at least one is included for decorating And/or the element of interaction;
Step S2:The element is inserted into corresponding installation interface;
Step S3:Duilib instruments are packaged into NSIS plug-in units, installation procedure is controlled using NSIS installation scripts, and by described NSIS plug-in units complete the function control of the installation interface.
2. a kind of optimization method at software installation interface as claimed in claim 1, it is characterised in that:The function control of installation interface System includes switching between installation interface, the triggering of function button, the read-write of registration table and software service installation on installation interface.
3. a kind of optimization method at software installation interface as claimed in claim 1, it is characterised in that:The element is to be situated between The animation or picture of the software function that continues.
4. a kind of optimization method at software installation interface as claimed in claim 1, it is characterised in that:The NSIS installation scripts For carrying out the configuration of installation interface, the injection that installation interface is laid out, defining NSIS power functions and bound with installation interface.
5. a kind of optimization method at software installation interface as claimed in claim 4, it is characterised in that:The NSIS installation scripts It is additionally operable to be put into NSIS power functions in register, and NSIS power functions and NSIS plug-in units is bound.
6. a kind of optimization method at software installation interface as claimed in claim 1, it is characterised in that:The installation interface by XML writes.
7. a kind of optimization system at the software installation interface based on optimization method described in claim 1, it is characterised in that including:
NSIS primary modules, it is used for systematic parameter management in installation interface, registration table management and is interacted with communication between plug-in unit, and Installation procedure is controlled;The systematic parameter management includes software installation path parameter, temporary path parameter and system version parameter;
Supplementary module is installed, its be used to completing element displaying in installation interface, download relied on when software installation is run component and Service Management and management of process during software installation.
8. a kind of optimization system at software installation interface as claimed in claim 7, it is characterised in that:The element is to be situated between The animation or picture of the software function that continues, the NSIS primary modules are additionally operable to the displaying of animation effect.
9. a kind of optimization system at software installation interface as claimed in claim 7, it is characterised in that:The installation interface by XML writes, and the installation supplementary module is additionally operable to parse XML file.
10. a kind of optimization system at software installation interface as claimed in claim 7, it is characterised in that:The Service Management bag The start and stop of the detection of Windows service states and Windows services are included, the management of process includes that the process status of software installation is sentenced Break, and the process of software installation terminates.
CN201710056473.7A 2017-01-25 2017-01-25 Optimization method and system of software installation interface Active CN106775776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710056473.7A CN106775776B (en) 2017-01-25 2017-01-25 Optimization method and system of software installation interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710056473.7A CN106775776B (en) 2017-01-25 2017-01-25 Optimization method and system of software installation interface

Publications (2)

Publication Number Publication Date
CN106775776A true CN106775776A (en) 2017-05-31
CN106775776B CN106775776B (en) 2020-04-10

Family

ID=58942873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710056473.7A Active CN106775776B (en) 2017-01-25 2017-01-25 Optimization method and system of software installation interface

Country Status (1)

Country Link
CN (1) CN106775776B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391178A (en) * 2017-06-29 2017-11-24 北京北信源软件股份有限公司 A kind of terminal installation kit deployment and implementation method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955689A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Software installation package producing method and software installation package device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955689A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Software installation package producing method and software installation package device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
笨笨D幸福: "NSIS 2.0界面快速入门", 《HTTPS://WWW.CNBLOGS.COM/BBDXF/P/3804603.HTML》 *
管理员: "分享一个使用NSIS制作安装包的UI插件", 《HTTP://GGNIU.CN/ARTICLES/NSNIUNIUSKIN.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391178A (en) * 2017-06-29 2017-11-24 北京北信源软件股份有限公司 A kind of terminal installation kit deployment and implementation method and device
CN107391178B (en) * 2017-06-29 2020-10-16 北京北信源软件股份有限公司 Terminal installation package deployment and implementation method and device

Also Published As

Publication number Publication date
CN106775776B (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN107656914A (en) Form generation method, device, terminal device and the storage medium of configurableization
CN106598924A (en) Form generation method and device
US10120660B2 (en) Systems and methods for producing launchers for a mobile terminal
CN103927163A (en) Plugin frame processing device and plugin system
CN104267981B (en) A kind of method and device of application layout on loading desktop
CN106873972A (en) Electric Power Network Planning emulation platform computing module cut-in method and system based on plug-in unit
CN102495735A (en) Web end UI (user interface) component application frame system
CN106469047A (en) A kind of list implementation method and device
CN110580174B (en) Application component generation method, server and terminal
CN108089847A (en) A kind of Components Development method based on ElementUI and UEditor rich texts
CN109783083A (en) WEB application development approach and its system
Pohjonen et al. Domain-specific modeling
US20060076420A1 (en) System and method for updating access control mechanisms
CN103902271B (en) The unified method for showing window interfaces in client and browser
CN110045956A (en) Configuration method, device, equipment and the readable storage medium storing program for executing of component
CN102004648B (en) Program customization method and device
CN106775776A (en) The optimization method and system at a kind of software installation interface
WO2006038103A1 (en) System and method for post-issuance code update employing embedded native code.
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN112214202B (en) Mobile phone program development system without writing codes
CN104572280B (en) A kind of Android applications method for switching theme
CN107040818B (en) Layout analytic hierarchy process method and system for Android TV
CN110825367B (en) Design method of form designer suitable for Loongson CPU environment
CN102779059B (en) The method and apparatus starting application in the client of Saipan
CN108536434A (en) A kind of method and device for realizing Hook Function based on high-level programming language

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant