CN114327511A - Application software installation method and device - Google Patents

Application software installation method and device Download PDF

Info

Publication number
CN114327511A
CN114327511A CN202111599160.9A CN202111599160A CN114327511A CN 114327511 A CN114327511 A CN 114327511A CN 202111599160 A CN202111599160 A CN 202111599160A CN 114327511 A CN114327511 A CN 114327511A
Authority
CN
China
Prior art keywords
installation
software
target software
target
folder
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
CN202111599160.9A
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.)
Qax Technology Group Inc
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qax Technology Group Inc
Secworld Information Technology Beijing 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 Qax Technology Group Inc, Secworld Information Technology Beijing Co Ltd filed Critical Qax Technology Group Inc
Priority to CN202111599160.9A priority Critical patent/CN114327511A/en
Publication of CN114327511A publication Critical patent/CN114327511A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application software installation method and device. The method is applied to the server and comprises the following steps: receiving a folder of target software, wherein the folder of the target software comprises a plurality of installation files of the target software; compressing the received folder of the target software to obtain an installation package of the target software; if the target software is silent installation software, receiving an installation strategy of the target software; pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software. The embodiment of the invention can ensure the standardization of the compression method, realize the automatic installation of the software on a plurality of clients, meet the requirement of software batch installation, save the labor and time of software installation, improve the efficiency of software installation and simplify the software operation and maintenance management work of enterprises.

Description

Application software installation method and device
Technical Field
The invention relates to the technical field of computers, in particular to an application software installation method and device.
Background
Application software (Application) is software for satisfying Application requirements of users in different fields and different problems. It can widen the application field of computer and amplify the function of hardware. With the increase of kinds and functions in application software, the installation files of the application software are already expanded from the original single installation file to have a plurality of installation files. Most of the existing installation methods of application software are to place a plurality of installation files of the application software into a folder for compression, upload the compressed files to a server or store the compressed files in an optical disc or a U disc, acquire the compressed files at a client in a webpage downloading mode or in an optical disc or U disc inserting mode, decompress and install the compressed files. Because the compression methods adopted by different devices may be different, the compressed file is uploaded to a server or stored in an optical disk or a U disk, and the situation that the compressed file cannot be decompressed easily occurs at a client. And the compressed file is acquired at the client side through a webpage downloading mode or a mode of inserting an optical disc or a U disc, each client side needs to be operated independently, a large amount of labor and time are consumed when software is installed in batches, and the software installation efficiency is low.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides an application software installation method and device.
Specifically, the embodiment of the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides an application software installation method, which is applied to a server, and includes:
receiving a folder of target software, wherein the folder of the target software comprises a plurality of installation files of the target software;
compressing the received folder of the target software to obtain an installation package of the target software;
if the target software is silent installation software, receiving an installation strategy of the target software;
pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software.
Further, the installation policy of the target software includes: and the main program of the target software installs the path of the file in the folder of the target software and the silent installation parameter of the target software.
Further, before pushing the installation package of the target software and the installation policy of the target software to the target client, the method further includes:
and receiving an installation request of the target software sent by the target client.
Further, still include:
judging whether the target software is silent installation software:
and if the target software is non-silent installation software, pushing an installation package of the target software to the target client, so that the target client manually installs the target software based on the installation package of the target software.
In a second aspect, an embodiment of the present invention further provides an application software installation method, applied to a client, including:
receiving an installation package of target software pushed by a server and an installation strategy of the target software;
decompressing the received installation package of the target software to obtain a folder of the target software;
analyzing the received installation strategy of the target software;
and executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and carrying out silent installation on the target software.
Further, the parsing the received installation policy of the target software includes:
analyzing the received installation strategy of the target software to obtain a path of a main program installation file of the target software in a folder of the target software and a silent installation parameter of the target software;
executing a plurality of installation files contained in the folder of the target software based on the analyzed installation policy, including:
executing a main program installation file of the target software based on a path of the main program installation file of the target software in a folder of the target software and the silent installation parameter of the target software;
and calling other installation files contained in the folder of the target software based on the main program installation file of the target software, and executing the other installation files contained in the folder of the target software.
Further, before the receiving the installation package of the target software pushed by the server and the installation policy of the target software, the method further includes:
and sending an installation request of the target software to the server.
Further, before decompressing the received installation package of the target software and obtaining the folder of the target software, the method further includes:
receiving an installation package of target software pushed by the server;
after the decompressing the received installation package of the target software to obtain the folder of the target software, the method further includes:
executing a plurality of installation files contained in the folder of the target software, and manually installing the target software.
In a third aspect, an embodiment of the present invention further provides an application software installation apparatus, which is applied to a server, and includes:
the installation file receiving module is used for receiving a folder of target software, and the folder of the target software comprises a plurality of installation files of the target software;
the installation file compression module is used for compressing the received folder of the target software to obtain an installation package of the target software;
the installation strategy configuration module is used for receiving the installation strategy of the target software if the target software is silent installation software;
the first communication module is used for pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client installs the target software based on the installation strategy of the target software and the installation package of the target software.
In a fourth aspect, an embodiment of the present invention further provides an application software installation apparatus, which is applied to a client, and includes:
the second communication module is used for receiving the installation package of the target software pushed by the server and the installation strategy of the target software;
the installation file decompression module is used for decompressing the received installation package of the target software to obtain a folder of the target software;
the installation strategy analysis module is used for analyzing the received installation strategy of the target software;
and the installation file execution module is used for executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy and carrying out silent installation on the target software.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the application software installation method according to the first aspect are implemented.
In a sixth aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the application software installation method according to the first aspect.
In a seventh aspect, an embodiment of the present invention further provides a computer program product, on which executable instructions are stored, and when executed by a processor, the instructions cause the processor to implement the steps of the application software installation method according to the first aspect.
The application software installation method and the device provided by the embodiment of the invention can ensure the standardization of the compression method by uploading the folder of the target software containing a plurality of installation files to the server, compressing the folder by the server and pushing the compressed installation package of the target software to the target client, avoid the situation that the client can not decompress easily because the compression method does not standardize different equipment and adopts different compression methods, receive the installation strategy of the target software by the server when the target software is silent installation software, push the installation strategy of the target software while pushing the installation package of the target software to the target client, realize the silent installation of the target software at the target client by the installation strategy of the target software, realize the automatic installation of the software on a plurality of clients and meet the requirement of batch installation of the software, the labor and time for installing the software are saved, the software installation efficiency is improved, and the software operation and maintenance management work of enterprises is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating an application software installation method provided by the present invention;
FIG. 2 is a flow chart illustrating another application installation method provided by the present invention;
FIG. 3 is a flow chart illustrating a further method for installing application software provided by the present invention;
FIG. 4 is a flowchart illustrating a method for installing another application software according to the present invention;
FIG. 5 is a flowchart illustrating an application scenario of the application software installation method according to the present invention;
FIG. 6 is a schematic structural diagram of an application software installation apparatus provided in the present invention;
FIG. 7 is a schematic structural diagram of another application software installation apparatus provided in the present invention;
fig. 8 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application installation method of the present invention is described below in conjunction with fig. 1-5.
Referring to fig. 1, fig. 1 is a schematic flowchart of an application software installation method provided by the present invention, and the application software installation method shown in fig. 1 may be applied to a server, for example, the server may be a physical server including an independent host, a virtual server borne by a host cluster, a cloud server, and the like, which is not limited in the embodiment of the present invention. As shown in fig. 1, the application software installation method at least includes:
101, a folder of target software is received, wherein the folder of the target software comprises a plurality of installation files of the target software.
In the embodiment of the present invention, the target software may be large application software such as office software, drawing software, and game software, for example, office software, auto CAD, and stand-alone game. Such large applications usually have a plurality of installation files because of their relatively comprehensive functions, and the installation files of the large applications are usually stored in folders. When the large application software is installed, the folder of the large application software containing a plurality of installation files can be uploaded to the server, and the server pushes the folder of the large application software to the client after receiving the folder of the large application software, so that the installation of the large application software on the client is realized.
The embodiment of the invention does not limit the implementation mode of the folder for receiving the large application software by the server. Optionally, the server may receive, through the network, a folder of the large application software uploaded by a device connected to the server through the network, for example, the device connected to the server through the network may be a terminal device or another server, and the embodiment of the present invention does not limit this; alternatively, the server may receive, through the hardware interface, a folder of the large application software uploaded by a device directly connected to the server through hardware, for example, the device directly connected to the server through hardware may be a usb disk or a removable hard disk, and the embodiment of the present invention is not limited thereto.
And 102, compressing the received target software folder to obtain the target software installation package.
In the embodiment of the invention, after receiving the folder of the large application software, the server can compress the received folder of the large application software to obtain the installation package of the large application software. The embodiment of the invention does not limit the implementation mode of compressing the folder of the large application software by the server. Optionally, existing compression software may be used to compress the folder of the large application software, for example, compression software such as WinRAR or WinZIP; or writing a corresponding compression algorithm to compress the folder of the large application software according to the requirement. The embodiment of the present invention does not limit the format of the installation package of the large application software obtained by compression, and when the folder of the large application software is compressed, the format of the installation package of the large application software obtained by compression may be selected as needed, for example, the installation package of the large application software obtained by compression may be in a ZIP format or an RAR format.
Optionally, when the folder of the large application software is compressed, the installation package of the large application software obtained by compression may be decomposed into a plurality of compressed packages through volume splitting. Optionally, when the folder of the large application software is compressed, the installation package of the large application software obtained by compression may be encrypted through password setting.
103, if the target software is the silent installation software, receiving the installation strategy of the target software.
In the embodiment of the invention, the silent installation of the software refers to that the software is directly installed according to default settings without any human intervention during the installation of the software. After the folder of the large application software is compressed to obtain the installation package of the large application software, the server can judge whether the large application software is silent installation software according to whether the large application software supports silent installation, if the large application software supports silent installation, the server can judge that the large application software is silent installation software, the server can further receive an installation strategy configured for silent installation of the large application software, and according to the installation strategy, a plurality of installation files contained in the folder of the large application software can be automatically executed to realize silent installation of the large application software.
The embodiment of the invention does not limit the implementation form of the installation strategy of the large application software received by the server. Alternatively, the installation policy of the large application software may be a text document, such as a bat-formatted file, and the installation policy of the large application software may include: the path of the main program installation file of the large application software in the folder of the large application software and the silent installation parameter of the large application software are shown as folder 1\ folder 2\ software name. exe/S, wherein the folder 1\ folder 2\ software name. exe is the path of the main program installation file, and/S is the silent installation parameter.
The embodiment of the invention does not limit the implementation mode of the installation strategy of the large application software received by the server. Optionally, the server may receive, through the network, an installation policy of the large application configured by the device connected to the server through the network, for example, the device connected to the server through the network may be a terminal device or another server, and the embodiment of the present invention does not limit this; or the server may also receive, through a hardware interface, an installation policy of large application software configured by a device connected to the server through direct hardware, for example, the device connected to the server through direct hardware may be a keyboard, a mouse, and the like, which is not limited in this embodiment of the present invention.
And 104, pushing the installation package of the target software and the installation strategy of the target software to the target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software.
In the embodiment of the invention, after the installation package of the large application software and the installation strategy of the large application software are obtained, the server can push the installation package of the large application software and the installation strategy of the large application software to the target client, so that the target client can perform silent installation on the large application software according to the received installation package of the large application software and the received installation strategy of the large application software. The target client may be all or part of the clients connected to the server, which is not limited in the embodiment of the present invention.
For example, when the server is an intra-enterprise server, the client is an intra-enterprise desktop computer and a notebook computer, and the intra-enterprise server receives the folder of office and the folder of auto CAD, the folder of office and the folder of auto CAD may be compressed respectively to obtain the installation package of office and the installation package of auto CAD, and when determining that office and auto CAD are silent installation software, the installation policy of office and the installation policy of auto CAD may be further received, and finally the installation package of office and the installation policy of office, the installation package of auto CAD, and the installation policy of auto CAD may be pushed to the intra-enterprise desktop computer and the notebook computer respectively, so that the intra-enterprise desktop computer and the notebook computer may complete the silent installation policy of office according to the pushed installation package of office and the installation policy of office, and finishing silent installation of the auto CAD according to the installation package of the pushed auto CAD and the installation strategy of the auto CAD.
Optionally, when the server determines whether the large application software is silent installation software according to whether the large application software supports silent installation or not, if the large application software does not support silent installation, it may be determined that the large application software is non-silent installation software, and the server may not further receive an installation policy of the large application software, and may directly push an installation package of the large application software to the target client, so that the target client may manually install the large application software according to the received installation package of the large application software.
The application software installation method provided by the embodiment of the invention can ensure the standardization of the compression method by uploading the folder of the target software containing a plurality of installation files to the server and compressing the folder and pushing the compressed installation package of the target software to the target client, avoids the situation that the client cannot decompress the target software easily because the compression method does not standardize different equipment and adopts different compression methods, and when the target software is silent installation software, the installation strategy of the target software is received by the server and is pushed while the installation package of the target software is pushed to the target client, the silent installation of the target software can be realized at the target client by the installation strategy of the target software, the automatic installation of the software on a plurality of clients can be realized, and the requirement on the batch installation of the software can be met, the labor and time for installing the software are saved, the software installation efficiency is improved, and the software operation and maintenance management work of enterprises is simplified.
Referring to fig. 2, fig. 2 is a schematic flow chart of another application software installation method provided by the present invention, and as shown in fig. 2, the application software installation method at least includes:
a folder of the target software is received 201, and the folder of the target software comprises a plurality of installation files of the target software.
In the embodiment of the present invention, the description about 201 may refer to the description about 101 in fig. 1, and thus, the description will not be repeated here.
And 202, compressing the received folder of the target software to obtain an installation package of the target software.
In the embodiment of the present invention, the description of 202 may refer to the description of 102 in fig. 1, and thus will not be repeated here.
And 203, if the target software is the silent installation software, receiving the installation strategy of the target software.
In the embodiment of the present invention, the description about 203 may refer to the description about 103 in fig. 1, and thus will not be repeated here.
And 204, receiving an installation request of the target software sent by the target client.
205, pushing the installation package of the target software and the installation policy of the target software to the target client, so that the target client performs silent installation on the target software based on the installation policy of the target software and the installation package of the target software.
In the embodiment of the invention, after the installation package of the large application software and the installation strategy of the large application software are obtained, the server can store the installation package of the large application software and the installation strategy of the large application software, and after the installation request of the large application software sent by the target client is received, the server can push the installation package of the large application software and the installation strategy of the large application software to the target client, so that the target client can perform silent installation on the large application software according to the received installation package of the large application software and the received installation strategy of the large application software. The target client may be all or part of the clients connected to the server, which is not limited in the embodiment of the present invention.
For example, the server is an intra-enterprise server, the client is a desktop computer and a notebook computer outside the enterprise, the intra-enterprise server can compress the office folder and the auto CAD folder after receiving the office folder and the auto CAD folder to obtain the office installation package and the auto CAD installation package, and further receive the office installation policy and the auto CAD installation policy when determining that the office and the auto CAD are silent installation software, and can send the office installation request and the auto CAD installation request to the intra-enterprise server through the external desktop computer and the notebook computer when the office and the auto CAD installation request are required to be performed on the external desktop computer and the notebook computer, and the intra-enterprise server can push the office installation package and the auto CAD installation policy to the desktop computer and the notebook computer after receiving the office installation request and the auto CAD installation request The installation package of the auto CAD and the installation strategy of the auto CAD enable desktop computers and notebook computers outside enterprises to complete silent installation of office according to the pushed installation package of the office and the installation strategy of the office, and complete silent installation of the auto CAD according to the pushed installation package of the auto CAD and the installation strategy of the auto CAD.
Optionally, when the server determines whether the large application software is silent installation software according to whether the large application software supports silent installation or not, if the large application software does not support silent installation, it may be determined that the large application software is non-silent installation software, and the server may not further receive an installation policy of the large application software, and may push an installation package of the large application software to the target client after receiving an installation request for the large application software sent by the target client, so that the target client may manually install the large application software according to the received installation package of the large application software.
Referring to fig. 3, fig. 3 is a flowchart illustrating a further application software installation method provided by the present invention, where the application software installation method shown in fig. 3 may be applied to a client, for example, the client may be a desktop computer, a notebook computer, and the like, and the embodiment of the present invention is not limited thereto. As shown in fig. 3, the application software installation method at least includes:
301, receiving the installation package of the target software pushed by the server and the installation strategy of the target software.
In the embodiment of the present invention, the description of 301 may refer to the description of 101, 102, 103, and 104 in fig. 1, and thus will not be repeated here.
And 302, decompressing the received installation package of the target software to obtain a folder of the target software.
In the embodiment of the invention, after receiving the installation package of the large application software, the client can decompress the received installation package of the large application software to obtain the folder of the large application software. The method for decompressing the installation package of the large application software by the client can be determined according to the method for compressing the folder of the large application software by the server. For example, the server compresses a folder of the large application software by using existing compression software, the client decompresses the installation package of the large application software by using the existing compression software, and the existing compression software used by the client and the existing compression software used by the server are the same compression software, such as WinRAR or WinZIP.
Optionally, if the server compresses the folder of the large application software, the installation package of the large application software obtained by compression is decomposed into a plurality of compressed packages through the split setting, and the client may automatically restore the folder of the large application software through the split self-decompression. Optionally, if the server compresses the folder of the large application software, the installation package of the large application software obtained by compression is encrypted through password setting, and the client may decrypt the installation package of the large application software through a password agreed with the server when decompressing, so as to obtain the folder of the large application software.
303, analyzing the received installation strategy of the target software.
In the embodiment of the present invention, after the installation package of the large application software is decompressed to obtain the folder of the large application software, the client may analyze the received installation policy of the large application software. The method for analyzing the installation strategy of the large application software by the client can be determined according to the implementation form of the installation strategy of the large application software received by the server. For example, the installation policy of the large application software is a text document containing the path of the main program installation file of the large application software in the folder of the large application software and the silent installation parameter of the large application software, and the client analyzes the installation policy of the large application software to obtain the path of the main program installation file of the large application software in the folder of the large application software and the silent installation parameter of the large application software.
And 304, executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and carrying out silent installation on the target software.
In the embodiment of the present invention, after analyzing the installation policy of the large application software, the client may execute a plurality of installation files included in the folder of the large application software according to the analyzed installation policy, and perform silent installation on the large application software. For example, the client analyzes the installation policy of the type application software to obtain the path of the main program installation file of the large application software in the folder of the large application software and the silent installation parameter of the large application software, and the client can execute the main program installation file of the large application software according to the path of the main program installation file of the large application software in the folder of the large application software and the silent installation parameter of the large application software, so that in the process of executing the main program installation file of the large application software, other installation files contained in the folder of the large application software are called according to the main program installation file of the large application software, and other installation files contained in the folder of the large application software are executed.
Optionally, when the large application software is non-silent installation software, the server may only push the installation package of the large application software to the client, at this time, the client may receive the installation package of the large application software pushed by the server, decompress the received installation package of the large application software to obtain a folder of the target software, execute a plurality of installation files included in the folder of the large application software, and manually install the large application software.
Referring to fig. 4, fig. 4 is a schematic flow chart of another application software installation method provided by the present invention, as shown in fig. 4, the application software installation method at least includes:
401, an installation request for target software is issued to a server.
In the embodiment of the present invention, the description of 401 may refer to the description of 204 in fig. 2, and thus, the description will not be repeated.
And 402, receiving the installation package of the target software pushed by the server and the installation strategy of the target software.
In the embodiment of the present invention, the description of 401 may refer to the description of 101, 102, 103, and 104 in fig. 1, and thus will not be repeated here.
And 403, decompressing the received installation package of the target software to obtain a folder of the target software.
In the embodiment of the present invention, the description about 403 may refer to the description about 302 in fig. 3, and thus will not be repeated here.
And 404, analyzing the received installation strategy of the target software.
In the embodiment of the present invention, the description about 404 may refer to the description about 303 in fig. 3, and thus will not be repeated here.
And 405, executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and performing silent installation on the target software.
In the embodiment of the present invention, the description about 405 may refer to the description about 304 in fig. 3, and thus will not be repeated here.
Referring to fig. 5, fig. 5 is a schematic flow diagram of an application scenario of the application software installation method provided by the present invention, as shown in fig. 5, a cloud server receives a folder, i.e., a large folder, of a large application software that includes a plurality of installation files and is uploaded by a user, compresses the large folder to obtain a software installation package, receives an installation policy, i.e., a large file execution policy, of the large application software configured by the user when the large application software is determined to be silent installation software, distributes the software installation package and the large file execution policy to a terminal device of a client, after receiving the software installation package and the large file execution policy, the terminal device can determine whether to execute installation of the software, automatically decompress the software installation package if the installation of the software is executed, and determine whether decompression is successful, and report an execution result to the cloud server if the decompression is failed, and if the decompression is successful, analyzing the large file execution strategy, automatically executing the installation file in the large folder, namely the large file, according to the analyzed strategy, judging whether the large file execution is successful, reporting the execution result to the cloud server if the large file execution is failed, and reporting the execution result to the cloud server if the large file execution is successful, indicating that the silent installation of the large application software is completed.
The following describes the application software installation apparatus provided by the present invention, and the application software installation apparatus described below and the application software installation method described above may be referred to correspondingly.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an application software installation apparatus provided by the present invention, and the application software installation apparatus shown in fig. 6 may be applied to a server and may be used to execute the application software installation method of fig. 1, for example, the server may be a physical server including an independent host, a virtual server carried by a host cluster, a cloud server, and the like, which is not limited in the embodiment of the present invention. As shown in fig. 6, the application software installation apparatus includes at least:
the installation file receiving module 610 is configured to receive a folder of the target software, where the folder of the target software includes a plurality of installation files of the target software.
And the installation file compression module 620 is configured to compress the received folder of the target software to obtain an installation package of the target software.
And an installation policy configuration module 630, configured to receive the installation policy of the target software if the target software is the silent installation software.
The first communication module 640 is configured to push the installation package of the target software and the installation policy of the target software to the target client, so that the target client installs the target software based on the installation policy of the target software and the installation package of the target software.
Optionally, the installation policy of the target software includes: the main program of the target software installs the path of the file in the folder of the target software and the silent installation parameter of the target software.
Optionally, the first communication module 640 is further configured to receive an installation request for the target software from the target client.
Optionally, the application software installation apparatus further includes:
and the software judging module is used for judging whether the target software is silent installation software.
The first communication module 640 is further configured to, if the target software is non-silent installation software, push an installation package of the target software to the target client, so that the target client manually installs the target software based on the installation package of the target software.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another application installation apparatus provided by the present invention, and the application installation apparatus shown in fig. 7 may be applied to a client, and may be used to execute the application installation method of fig. 3, for example, the client may be a desktop computer, a notebook computer, and the like, which is not limited in the embodiments of the present invention. As shown in fig. 7, the application software installation apparatus includes at least:
and the second communication module 710 is configured to receive the installation package of the target software and the installation policy of the target software pushed by the server.
And the installation file decompressing module 720 is configured to decompress the received installation package of the target software to obtain a folder of the target software.
And the installation policy analysis module 730 is configured to analyze the received installation policy of the target software.
And the installation file executing module 740 is configured to execute a plurality of installation files included in the folder of the target software based on the analyzed installation policy, and perform silent installation on the target software.
Optionally, the installation policy analysis module 730 is configured to analyze the received installation policy of the target software to obtain a path of the main program installation file of the target software in the folder of the target software and a silent installation parameter of the target software;
an installation file executing module 740, configured to execute the main program installation file of the target software based on the path of the main program installation file of the target software in the folder of the target software and the silent installation parameter of the target software; and calling other installation files contained in the folder of the target software based on the main program installation file of the target software, and executing the other installation files contained in the folder of the target software.
Optionally, the second communication module 710 is further configured to issue an installation request for the target software to the server.
Optionally, the second communication module 710 is further configured to receive an installation package of the target software pushed by the server;
and an installation file executing module 740 configured to execute a plurality of installation files included in the folder of the target software and manually install the target software.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to perform the following method: receiving a folder of target software, wherein the folder of the target software comprises a plurality of installation files of the target software; compressing the received folder of the target software to obtain an installation package of the target software; if the target software is silent installation software, receiving an installation strategy of the target software; pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software; alternatively, the first and second electrodes may be,
receiving an installation package of target software pushed by a server and an installation strategy of the target software; decompressing the received installation package of the target software to obtain a folder of the target software; analyzing the received installation strategy of the target software; and executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and carrying out silent installation on the target software.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including: receiving a folder of target software, wherein the folder of the target software comprises a plurality of installation files of the target software; compressing the received folder of the target software to obtain an installation package of the target software; if the target software is silent installation software, receiving an installation strategy of the target software; pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software; alternatively, the first and second electrodes may be,
receiving an installation package of target software pushed by a server and an installation strategy of the target software; decompressing the received installation package of the target software to obtain a folder of the target software; analyzing the received installation strategy of the target software; and executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and carrying out silent installation on the target software.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A software installation method is applied to a server and comprises the following steps:
receiving a folder of target software, wherein the folder of the target software comprises a plurality of installation files of the target software;
compressing the received folder of the target software to obtain an installation package of the target software;
if the target software is silent installation software, receiving an installation strategy of the target software;
pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client performs silent installation on the target software based on the installation strategy of the target software and the installation package of the target software.
2. The software installation method of claim 1, wherein the installation policy of the target software comprises: and the main program of the target software installs the path of the file in the folder of the target software and the silent installation parameter of the target software.
3. The software installation method according to claim 1, wherein before pushing the installation package of the target software and the installation policy of the target software to the target client, the method further comprises:
and receiving an installation request of the target software sent by the target client.
4. The software installation method according to any one of claims 1 to 3, further comprising:
judging whether the target software is silent installation software:
and if the target software is non-silent installation software, pushing an installation package of the target software to the target client, so that the target client manually installs the target software based on the installation package of the target software.
5. A software installation method is applied to a client and comprises the following steps:
receiving an installation package of target software pushed by a server and an installation strategy of the target software;
decompressing the received installation package of the target software to obtain a folder of the target software;
analyzing the received installation strategy of the target software;
and executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy, and carrying out silent installation on the target software.
6. The software installation method of claim 5, wherein the parsing the received installation policy of the target software comprises:
analyzing the received installation strategy of the target software to obtain a path of a main program installation file of the target software in a folder of the target software and a silent installation parameter of the target software;
executing a plurality of installation files contained in the folder of the target software based on the analyzed installation policy, including:
executing a main program installation file of the target software based on a path of the main program installation file of the target software in a folder of the target software and the silent installation parameter of the target software;
and calling other installation files contained in the folder of the target software based on the main program installation file of the target software, and executing the other installation files contained in the folder of the target software.
7. The software installation method according to claim 5, wherein before receiving the installation package of the target software pushed by the server and the installation policy of the target software, the method further comprises:
and sending an installation request of the target software to the server.
8. The software installation method according to any one of claims 5 to 7, wherein before decompressing the received installation package of the target software to obtain the folder of the target software, the method further comprises:
receiving an installation package of target software pushed by the server;
after the decompressing the received installation package of the target software to obtain the folder of the target software, the method further includes:
executing a plurality of installation files contained in the folder of the target software, and manually installing the target software.
9. An application software installation device, applied to a server, includes:
the installation file receiving module is used for receiving a folder of target software, and the folder of the target software comprises a plurality of installation files of the target software;
the installation file compression module is used for compressing the received folder of the target software to obtain an installation package of the target software;
the installation strategy configuration module is used for receiving the installation strategy of the target software if the target software is silent installation software;
the first communication module is used for pushing the installation package of the target software and the installation strategy of the target software to a target client, so that the target client installs the target software based on the installation strategy of the target software and the installation package of the target software.
10. An application software installation device, applied to a client, includes:
the second communication module is used for receiving the installation package of the target software pushed by the server and the installation strategy of the target software;
the installation file decompression module is used for decompressing the received installation package of the target software to obtain a folder of the target software;
the installation strategy analysis module is used for analyzing the received installation strategy of the target software;
and the installation file execution module is used for executing a plurality of installation files contained in the folder of the target software based on the analyzed installation strategy and carrying out silent installation on the target software.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the software installation method according to any one of claims 1 to 8 are implemented when the program is executed by the processor.
12. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the software installation method of any one of claims 1 to 8.
CN202111599160.9A 2021-12-24 2021-12-24 Application software installation method and device Pending CN114327511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111599160.9A CN114327511A (en) 2021-12-24 2021-12-24 Application software installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111599160.9A CN114327511A (en) 2021-12-24 2021-12-24 Application software installation method and device

Publications (1)

Publication Number Publication Date
CN114327511A true CN114327511A (en) 2022-04-12

Family

ID=81012066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111599160.9A Pending CN114327511A (en) 2021-12-24 2021-12-24 Application software installation method and device

Country Status (1)

Country Link
CN (1) CN114327511A (en)

Similar Documents

Publication Publication Date Title
CN102761540B (en) Data compression method, device and system and server
CN109672580B (en) Full link monitoring method, device, terminal equipment and storage medium
US20160004530A1 (en) Incremental upgrade method, apparatus for applying method and storage medium
US10262074B2 (en) Method and device for offline webpage browsing, and computer storage medium
US20160070910A1 (en) Platform based verification of contents of input-output devices
CN108650287B (en) Upgrading method and device for terminal device in Internet of things and computer readable medium
CN108600331B (en) Interactive interface presentation method, client, terminal and system
CN107506284B (en) Log processing method and device
US8195688B1 (en) Deconstruction and transformation of complex objects for de-duplicated storage
CN110109628B (en) Data reconstruction method, device, equipment and storage medium of distributed storage system
US20140164574A1 (en) Method and System for Downloading a Font File
CN111625371A (en) Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
CN101667139A (en) Service program invocation method based on aggregate type object, device and system therefor
CN114020522A (en) Data backup method and device, electronic equipment and system
CN113138969A (en) Data transmission method and device, electronic equipment and computer readable storage medium
US11847219B2 (en) Determining a state of a network
CN113626882A (en) Method, device and medium for generating equipment identifier
CN114327511A (en) Application software installation method and device
CN111159142A (en) Data processing method and device
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
CN114172998B (en) File transmission method and device, electronic equipment and storage medium
CN211087228U (en) Processing system for displaying large text logs based on web
CN114780501A (en) Data processing method, electronic device and computer program product
CN115225094A (en) Data compression method, electronic device and computer program product
CN108133154B (en) Method and device for storing file

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