CN101515238A - Method for automatically installing or uninstalling application software of computers and a device thereof - Google Patents
Method for automatically installing or uninstalling application software of computers and a device thereof Download PDFInfo
- Publication number
- CN101515238A CN101515238A CNA2009100197593A CN200910019759A CN101515238A CN 101515238 A CN101515238 A CN 101515238A CN A2009100197593 A CNA2009100197593 A CN A2009100197593A CN 200910019759 A CN200910019759 A CN 200910019759A CN 101515238 A CN101515238 A CN 101515238A
- Authority
- CN
- China
- Prior art keywords
- application software
- file
- computing machine
- script
- configuration file
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for automatically installing or uninstalling application software of computers and a device thereof; the device comprises a booting script supporting group policy based on Windows Server 2003 active directory; the method comprises the followings steps: executing appointed script programs through the group policy during booting of the computer, creating a shared folder on a server; creating program files required by silent installation or uninstallation and storing the program files in the shared folder, creating a configuration file for storing the shared path of the files obtained in the previous step, creating the path stored according to the configuration file, creating a database for storing the results of installing or uninstalling application software of the target computer, creating booting script programs, and creating new group policy to set the scripts as booting scripts and establish link between the booting scripts and an organization unit. The invention has the positive effects of achieving the flexible automatic installation or uninstallation of application software, facilitating use, simplifying the operations, returning the installation results and reducing the human intervention.
Description
Technical field
The present invention relates to computer application field, particularly a kind of automatic method and device of installing or unloading application software of computing machine that be used for.
Background technology
Along with the progressively application of computer network in enterprise, the also sharp increase of the quantity of client computer, at present, the operating system of client computer mostly is Windows XP Professional or Windows 2000Professional greatly in the enterprise, for various resources of unified management and strategy, some enterprise has used Active Directory (Active Directory) technology of Windows Server 2003 or Windows 2000 Server to manage various resources and group policy.When certain application software need be installed or upgrade to large scale customer end computing machine, if use artificial pursue platform installation or unloading, then waste time and energy, reduced the deployment speed of application software.Though the group policy of Active Directory provides the software dispatch function, there is following problem: the installation procedure that can only distribute the MSI form; The installation procedure that can not distribute extended formatting, and dumb; Can not judge whether this software was installed on the object computer in advance; Can not after application software is installed, the result be fed back.
Summary of the invention
One of purpose of the present invention is to provide a kind of method that application software installed or unloaded automatically by computing machine that is used for, and it can solve the deficiency that exists in the known technology, flexible operation, and the degree of intelligence height, easy to use.
Two of purpose of the present invention is to provide a kind of device that adopts the aforementioned calculation machine to install or unload the method for application software automatically.
The present invention is achieved through the following technical solutions for realizing one of goal of the invention: the group policy support that the present invention is based on Windows Server2003 Active Directory starts script, may further comprise the steps:
In computer starting, carry out the shell script of appointment by group policy;
On server, create Shared Folders;
According to the difference of application software use installation procedure tools, create and mourn in silence installation or unload required program file, and store above-mentioned Shared Folders into;
Create a configuration file and be used to store the shared path of the file that previous step obtains;
Required file copy is installed or unloads to purpose computing machine and the executable program that calls in the path that establishment is stored according to above-mentioned configuration file with mourning in silence, installation or unloading step according to application software demonstrate implementation;
Create database and be used for the result that application software was installed or unloaded to the storage purpose computing machine;
Create and start shell script, be used to judge whether the purpose computing machine has installed or unloaded application software, according to judged result, whether configuration file and the executable program above-mentioned steps created copy to the purpose computing machine and call executable program, deposit execution result in database then;
Newly-built group policy is made as the startup script with above-mentioned script, and sets up with organization unit and to link.
The present invention for achieving the above object two, be achieved through the following technical solutions: be used for the device that the method for application software installed or unloaded automatically by computing machine, comprise the server and the computing machine that connect by network, following program is installed: in the server based on the group policy of Windows Server 2003 Active Directories; A Shared Folders is used to store file required for the present invention, as the source folder of purpose computing machine xcopy; Finishing application software mourns in silence and installs or unload required file; The configuration file that has above-mentioned file path; Mourn in silence in the computer realization application software and to install or the executable file of unloading; The database that is used for event memory; Be used for above-mentioned executable file and configuration file are copied to the shell script of local computer.Configuration file contains two row, the first behavior variable name, and the value of the second behavior variable is worth for sharing the path.Executable file is mourned in silence application software and is installed or unload required file copy to local computer, and finishing then mourns in silence installs or unloading, withdraws from automatically after to be installed or unloading is finished, and in this process, the user can't withdraw from this program by force.Shell script judges at first whether local computer has installed or unloaded the application software of appointment, if the result for otherwise above-mentioned configuration file and executable file are copied to this machine, and call executable file; If the result for being, does not carry out and above-mentioned duplicates, invoked procedure; Execution result writes database the most at last.Comprise field in the database table: computer name, script name, script function, execution time, execution result.
Good effect of the present invention is: realized the flexible automatic installation or the unloading of application software, and easy to use, simplify the operation; Improve the deployment speed of application software, and installation results can have been returned, reduced human intervention, significantly improved network management personnel and terminal user of service's work efficiency etc.
Description of drawings
Fig. 1 is a schematic flow sheet of the present invention; Fig. 2 is the schematic flow sheet that the present invention starts shell script;
Embodiment
The present invention is further illustrated for the contrast accompanying drawing:
Contrast accompanying drawing 1, the present invention is based on the group policy of Windows Server 2003 Active Directories, may further comprise the steps:
In computer starting, carry out the shell script of appointment by group policy;
On server, create Shared Folders;
According to the difference of application software use installation procedure tools, create and mourn in silence installation or unload required program file, and store above-mentioned Shared Folders into;
Create a configuration file and be used to store the shared path of the file that previous step obtains;
Required file copy is installed or unloads to purpose computing machine and the executable program that calls in the path that establishment is stored according to above-mentioned configuration file with mourning in silence, installation or unloading step according to application software demonstrate implementation,
Create database and be used for the result that application software was installed or unloaded to the storage purpose computing machine;
Create and start shell script, be used to judge whether the purpose computing machine has installed or unloaded application software, according to judged result, whether configuration file and the executable program above-mentioned steps created copy to the purpose computing machine and call executable program, deposit execution result in database then;
Newly-built group policy is made as the startup script with above-mentioned script, and sets up with organization unit and to link.
Concrete steps are as follows:
Step 11, on server, create Shared Folders.
The Shared Folders that this step is created is used to store executable file, the configuration file that following steps create and mourns in silence required file is installed, but stores scripts program also.
Step 12, establishment application software are mourned in silence and are installed or unload required file.
This step is determined concrete grammar according to the employed tools of application software installation procedure, be the example explanation with " NC1.5.0_7 of UFSOFT client " installation procedure below: " the NC 1.5.0_7 of UFSOFT client " installation procedure is the program with the packing of Install Shield technology, use the Setup-R order, generate the setup.iss file, with this file copy in the installation procedure file, and this file copied to above-mentioned Shared Folders, conveniently to call.Application software unloading in like manner also can be used said method.
Step 13, establishment configuration file.
This step is created configuration file, is used to store the shared path that step file presss from both sides, content as:
\\lhjt\Scripts\NCClientSetup\
The configuration file that this step is created uses for the executable program of next step establishment, and dirigibility of the present invention is withdrawn deposit in this, installation procedure can be stored in different servers, to improve the speed of purpose computing machine xcopy.
Step 14, establishment executable program are finished the installation of mourning in silence of application software.
This step uses the developing instrument programming to create out executable file, read the content of the rapid configuration file of previous step, obtain shared path, and content obtained local computer, and mourning in silence of obtaining of invocation step 12 installed or Uninstaller, during this time implementation is represented to the terminal user, program interface is with reference to Fig. 2.
Step 15, establishment database.
The database that this step is created is used to feed back the result of script operation, and the field that comprises in the database table has: computer name, script name, script function, execution time, execution result.
Step 16, establishment shell script.
What the present invention used is Visual Basic shell script, and Fig. 3 has illustrated the schematic flow sheet of this step, no longer describes in detail herein.
Step 17, establishment group policy are provided with the startup script, and action scope are set.
After this step finished, the computing machine of respective organization unit just can be carried out this strategy in the territory after start, finished the installation or the unloading of application software.
Claims (6)
1, a kind of automatic method of installing or unloading application software of computing machine that is used for, it is characterized in that: this method may further comprise the steps based on the group policy of Windows Server 2003 Active Directories:
In computer starting, carry out shell script by group policy;
On server, create Shared Folders;
According to the difference of application software use installation procedure tools, create and mourn in silence installation or unload required program file, and store above-mentioned Shared Folders into;
Create a configuration file and be used to store the shared path of the file that previous step obtains;
Required file copy is installed or unloads to purpose computing machine and the executable program that calls in the path that establishment is stored according to above-mentioned configuration file with mourning in silence, installation or unloading step according to application software demonstrate implementation;
Create database and be used for the result that application software was installed or unloaded to the storage purpose computing machine;
Create and start shell script, be used to judge whether the purpose computing machine has installed or unloaded application software, according to judged result, whether configuration file and the executable program above-mentioned steps created copy to the purpose computing machine and call executable program, deposit execution result in database then;
Newly-built group policy is made as the startup script with above-mentioned script, and sets up with organization unit and to link.
2, adopt the described a kind of device that the method for application software installed or unloaded automatically by computing machine that is used for of claim 1, it is characterized in that: comprise the server and the computing machine that connect by network, following program is installed: in the server based on the group policy of Windows Server 2003 Active Directories; A Shared Folders is used to store file required for the present invention, as the source folder of purpose computing machine xcopy; Finishing application software mourns in silence and installs or unload required file; The configuration file that has above-mentioned file path; Mourn in silence in the computer realization application software and to install or the executable file of unloading; The database that is used for event memory; Be used for above-mentioned executable file and configuration file are copied to the shell script of local computer.
3, a kind of device that the method for application software installed or unloaded automatically by computing machine that is used for according to claim 1, it is characterized in that: configuration file contains two row, the first behavior variable name, the value of the second behavior variable, being worth is to share the path.
4, a kind of device that the method for application software installed or unloaded automatically by computing machine that is used for according to claim 3, it is characterized in that: executable file is mourned in silence application software and is installed or unload required file copy to local computer, finishing then mourns in silence installs or unloading, after finishing, to be installed or unloading withdraws from automatically, in this process, the user can't withdraw from this program by force.
5, according to claim 2,3 or 4 each described a kind of devices that the method for application software installed or unloaded automatically by computing machine that are used for, it is characterized in that: shell script judges at first whether local computer has installed or unloaded the application software of appointment, if the result is otherwise above-mentioned configuration file and executable file is copied to this machine, and calls executable file; If the result for being, does not carry out and above-mentioned duplicates, invoked procedure; Execution result writes database the most at last.
6, a kind of device that the method for application software installed or unloaded automatically by computing machine that is used for according to claim 5 is characterized in that: comprise field in the database table: computer name, script name, script function, execution time, execution result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100197593A CN101515238A (en) | 2009-03-31 | 2009-03-31 | Method for automatically installing or uninstalling application software of computers and a device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009100197593A CN101515238A (en) | 2009-03-31 | 2009-03-31 | Method for automatically installing or uninstalling application software of computers and a device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101515238A true CN101515238A (en) | 2009-08-26 |
Family
ID=41039702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009100197593A Pending CN101515238A (en) | 2009-03-31 | 2009-03-31 | Method for automatically installing or uninstalling application software of computers and a device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101515238A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101989211A (en) * | 2010-11-24 | 2011-03-23 | 北京安天电子设备有限公司 | Method and system for unloading software |
CN102147736A (en) * | 2010-02-10 | 2011-08-10 | 华为技术有限公司 | Method and device for installing software |
CN102541583A (en) * | 2010-12-24 | 2012-07-04 | 北大方正集团有限公司 | Method and device for building installation programs |
CN102648451A (en) * | 2009-09-29 | 2012-08-22 | Abb技术股份有限公司 | Method and arrangement for installing and configuring a computer system |
CN102831002A (en) * | 2012-09-26 | 2012-12-19 | 北京奇虎科技有限公司 | Patch unloading method and device |
CN103019816A (en) * | 2012-11-29 | 2013-04-03 | 北京网秦天下科技有限公司 | Application management method and server |
CN103186394A (en) * | 2011-12-30 | 2013-07-03 | 腾讯科技(深圳)有限公司 | Method and device for installing software |
CN104091132A (en) * | 2014-06-17 | 2014-10-08 | 小米科技有限责任公司 | Method and device for running plug-in on routing equipment and routing equipment |
CN104102516A (en) * | 2014-07-21 | 2014-10-15 | 北京金山安全软件有限公司 | Application program unloading method and device |
CN104410639A (en) * | 2014-12-02 | 2015-03-11 | 厦门雅迅网络股份有限公司 | Control method for mobile phone software blacklist |
WO2016101843A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Application program uninstalling method and apparatus |
CN106339478A (en) * | 2016-08-30 | 2017-01-18 | 北京中科同向信息技术有限公司 | Technology based on file share and management |
CN106445622A (en) * | 2012-06-20 | 2017-02-22 | 青岛海信移动通信技术股份有限公司 | Application program uninstalling method and uninstalling device and mobile terminal |
CN107562490A (en) * | 2017-08-25 | 2018-01-09 | 宁波纷享软件科技有限公司 | Lean manufacturing management system and method |
CN112347434A (en) * | 2020-11-12 | 2021-02-09 | 上海银行股份有限公司 | Method for realizing self-adaptive screen watermark |
-
2009
- 2009-03-31 CN CNA2009100197593A patent/CN101515238A/en active Pending
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102648451A (en) * | 2009-09-29 | 2012-08-22 | Abb技术股份有限公司 | Method and arrangement for installing and configuring a computer system |
CN102147736A (en) * | 2010-02-10 | 2011-08-10 | 华为技术有限公司 | Method and device for installing software |
CN102147736B (en) * | 2010-02-10 | 2014-08-13 | 华为技术有限公司 | Method and device for installing software |
CN101989211A (en) * | 2010-11-24 | 2011-03-23 | 北京安天电子设备有限公司 | Method and system for unloading software |
CN102541583A (en) * | 2010-12-24 | 2012-07-04 | 北大方正集团有限公司 | Method and device for building installation programs |
CN103186394B (en) * | 2011-12-30 | 2016-07-06 | 腾讯科技(深圳)有限公司 | A kind of software installation method and device |
CN103186394A (en) * | 2011-12-30 | 2013-07-03 | 腾讯科技(深圳)有限公司 | Method and device for installing software |
CN106445622A (en) * | 2012-06-20 | 2017-02-22 | 青岛海信移动通信技术股份有限公司 | Application program uninstalling method and uninstalling device and mobile terminal |
CN102831002A (en) * | 2012-09-26 | 2012-12-19 | 北京奇虎科技有限公司 | Patch unloading method and device |
CN102831002B (en) * | 2012-09-26 | 2016-08-24 | 北京奇虎科技有限公司 | Patch discharging method and device |
CN103019816A (en) * | 2012-11-29 | 2013-04-03 | 北京网秦天下科技有限公司 | Application management method and server |
CN104091132A (en) * | 2014-06-17 | 2014-10-08 | 小米科技有限责任公司 | Method and device for running plug-in on routing equipment and routing equipment |
CN104091132B (en) * | 2014-06-17 | 2017-07-28 | 小米科技有限责任公司 | Method, device and the routing device of plug-in unit are run on routing device |
US10067753B2 (en) | 2014-07-21 | 2018-09-04 | Beijing Kingsoft Internet Security Software Co., Ltd. | Application program uninstallation method and apparatus |
WO2016011862A1 (en) * | 2014-07-21 | 2016-01-28 | 北京金山安全软件有限公司 | Application program uninstall method and apparatus |
CN104102516A (en) * | 2014-07-21 | 2014-10-15 | 北京金山安全软件有限公司 | Application program unloading method and device |
CN104410639A (en) * | 2014-12-02 | 2015-03-11 | 厦门雅迅网络股份有限公司 | Control method for mobile phone software blacklist |
WO2016101843A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Application program uninstalling method and apparatus |
US10725760B2 (en) | 2014-12-25 | 2020-07-28 | Huawei Technologies Co., Ltd. | Application program uninstallation method and apparatus |
CN106339478A (en) * | 2016-08-30 | 2017-01-18 | 北京中科同向信息技术有限公司 | Technology based on file share and management |
CN107562490A (en) * | 2017-08-25 | 2018-01-09 | 宁波纷享软件科技有限公司 | Lean manufacturing management system and method |
CN112347434A (en) * | 2020-11-12 | 2021-02-09 | 上海银行股份有限公司 | Method for realizing self-adaptive screen watermark |
CN112347434B (en) * | 2020-11-12 | 2024-03-26 | 上海银行股份有限公司 | Method for realizing self-adaptive screen watermarking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101515238A (en) | Method for automatically installing or uninstalling application software of computers and a device thereof | |
JP5367074B2 (en) | Virtual machine and application life cycle synchronization | |
US8490082B2 (en) | System and method for representing user processes as software packages in a software package management system | |
CN100530100C (en) | System and method for application execution allowable for storing in external drive | |
US20070101197A1 (en) | System and method for representing system capabilities as software packages in a software package management system | |
US20100325624A1 (en) | Method and System for Application Portability | |
CN110175677A (en) | Automatic update method, device, computer equipment and storage medium | |
CN108027741A (en) | Document handling method, device, terminal and storage medium based on patch upgrading | |
CN103227812A (en) | Downloading method and device supporting breakpoint resuming in intelligent equipment | |
CN105159718B (en) | Firmware upgrade method and device | |
JP2000029713A (en) | Actualizing technology for framework for expandable applications | |
CN106557347B (en) | Software updating method and device | |
US10824441B2 (en) | Application program management method for multiple hardware platforms | |
CN107632828A (en) | More dts files support method, compilation device and embedded device | |
CN106406960A (en) | Method for deploying software quickly in linux environment | |
CN110968331B (en) | Method and device for running application program | |
KR102052776B1 (en) | Installation engine and package format for parallelizable, reliable installations | |
US8924947B2 (en) | Direct deployment of static content | |
CN107220074A (en) | To the access of supporting layer software function, upgrade method and device | |
CN102262555B (en) | Method and device for loading different versions of JAVA three-party library | |
CN109634840A (en) | Method for testing software, device, equipment and storage medium | |
CN114721809A (en) | Application deployment method and device of kubernets cluster | |
WO2019144621A1 (en) | Method, apparatus, and server for acquiring uefi os startup item | |
WO2020199543A1 (en) | Method and apparatus applicable to release and upgrade of hybrid application, and intelligent device | |
CN112860251A (en) | Method and system for constructing website front end |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090826 |