Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for installing software

A technology for installing software and software, which is applied in the direction of program control devices, hardware monitoring, program loading/starting, etc., and can solve problems that affect users' use of software and cannot be successfully installed or installed

Active Publication Date: 2015-06-24
SHENZHEN TENCENT COMP SYST CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For users who are not familiar with software installation, the installation may not be completed smoothly or the installation may go wrong, affecting users to use the software

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for installing software
  • Method and device for installing software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] see figure 1 , the present embodiment provides a method for installing software, the method comprising:

[0047] Step 1: Establish the monitoring task corresponding to the installation package;

[0048] Specifically, the system API (Application Programming Interface, application programming interface) CreateJobObject is called to create a monitoring task corresponding to the installation package.

[0049] Step 2: run the installation package, add the process of the installation package to the monitoring task;

[0050] Specifically, the system API CreateProcess is called to run the installation package, and AssignProcessToJobObject is used to add the process of the installation package to the monitoring task.

[0051] Step 3: Enumerate the top-level window handles and obtain the process to which each top-level window handle belongs;

[0052] Specifically, EnumWindows is used to enumerate windows top-level window handles, and GetWindowThreadProcessId is used to obtain ...

Embodiment 2

[0065] see figure 2 , the present embodiment provides a device for installing software, the device comprising:

[0066] Build module 11, be used for setting up the monitoring task corresponding to installation package;

[0067] Add module 12, be used for running this installation package, add the process of this installation package to this monitoring task;

[0068] The first enumeration and acquisition module 13 is used to enumerate top-level form handles and obtain the process to which each top-level form handle belongs;

[0069] The second enumeration and acquisition module 14 is used to enumerate all control handles on the top-level form corresponding to the top-level form handle if the process to which the top-level form handle belongs is in the monitoring task, and obtain the text on each control handle ;

[0070] Executing module 15, configured to perform corresponding operations on controls corresponding to the text according to the information contained in the tex...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for installing software, belonging to the field of computer software. The method comprises the following steps of: step1: constructing a monitor task corresponding to an installation package; step 2: operating the installation package, and adding the progress of the installation package into the monitor task; step 3: enumerating top window handles, and acquiring progress to which each top window handle belongs; step 4: if the progress to which a certain top window handle belongs is in the monitor task, enumerating all control handles on a top window corresponding to the top window handle, and acquiring characters on each control handle; step 5: executing corresponding operation on a control corresponding to the characters according to information contained in the characters; and step 6: repeating the step 3, 4 and 5 until all progresses in the monitor task are executed. The device comprises a constructing model, an adding module, a first enumerating and acquiring module, a second enumerating and acquiring module, an execution module and a circulating module. According to the method and the device for installing software, the installation package can be automatically installed, and manual intervention of the user is not needed during the whole installation process.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method and device for installing software. Background technique [0002] On various operating system platforms, such as the windows platform, users often need to install installation packages of various application programs in order to use the functions provided by the application programs. For example, various chat tools are installed to facilitate instant messaging with other users. [0003] At present, the installation package of the application usually provides an installation wizard for the user, and the user completes the installation step by step according to the prompts of the installation wizard. For example, when the user clicks the executable file of the installation package, the installation wizard of the application first prompts the user whether to agree to some specifications. Set as the home page, etc., the user needs to confirm the selection step by step. Aft...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F11/30
Inventor 胡中兴
Owner SHENZHEN TENCENT COMP SYST CO LTD