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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 