CN114816459A - Application program unloading method and device, electronic equipment and storage medium - Google Patents
Application program unloading method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114816459A CN114816459A CN202210598892.4A CN202210598892A CN114816459A CN 114816459 A CN114816459 A CN 114816459A CN 202210598892 A CN202210598892 A CN 202210598892A CN 114816459 A CN114816459 A CN 114816459A
- Authority
- CN
- China
- Prior art keywords
- application
- uninstalling
- application program
- attribute information
- list
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses an unloading method and device of an application program, electronic equipment and a storage medium, relates to the technical field of computers, and can conveniently and flexibly unload various application programs provided by a Windows application store and effectively improve user experience. The method comprises the following steps: acquiring an application list formed by application programs of preset application types in a Windows system, wherein the preset application types comprise application store types; displaying attribute information and an application uninstalling entry of at least one application program in the application list; and in response to the uninstalling instruction input from the application uninstalling inlet, deleting the application program corresponding to the application uninstalling inlet from the Windows system. The invention can be used in computer application management.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application uninstalling method and apparatus, an electronic device, and a storage medium.
Background
With the advent of operating systems such as Win10, not only are various conventional applications, such as office, QQ, etc., installed on a computer, which are typically installed in a Windows system, but also a part of dedicated applications provided in a Windows application Store (APP Store) may be installed (for example, some default Win10 dedicated applications may be installed when installing a Windows10 system).
However, when the user wants to uninstall these dedicated applications, no suitable means of uninstallation can be found: on one hand, these dedicated applications cannot be managed by application program uninstalling in the control panel, and on the other hand, the Windows system itself does not provide a convenient and effective uninstalling tool, so that the application program uninstalling provided by the Windows application store in the related art is extremely inflexible, which causes great inconvenience to users and results in poor user experience.
Disclosure of Invention
In view of this, embodiments of the present invention provide an uninstalling method and apparatus for an application program, an electronic device, and a storage medium, which can conveniently and flexibly uninstall various application programs provided by a Windows application store, and effectively improve user experience.
In a first aspect, an embodiment of the present invention provides an application program uninstalling method, including: acquiring an application list formed by application programs of preset application types in a Windows system, wherein the preset application types comprise application store types; displaying attribute information and an application uninstalling entry of at least one application program in the application list; and in response to the uninstalling instruction input from the application uninstalling inlet, deleting the application program corresponding to the application uninstalling inlet from the Windows system.
In one embodiment, the obtaining an application list formed by application programs of preset application types in the Windows system includes: enumerating the application program of the preset application type through a first function to obtain the application list.
In one embodiment, the presenting attribute information and application uninstall portal of at least one application in the application list comprises: acquiring attribute information of at least one application program in the application list; determining whether the at least one application program is a user layer application according to the attribute information; and when the at least one application program is a user layer application, displaying an application uninstalling inlet corresponding to the at least one application program.
In one embodiment, the presenting attribute information and application uninstall portal of at least one application in the application list comprises: acquiring attribute information of at least one application program in the application list; verifying whether the attribute information is complete and valid; and under the condition that the attribute information is complete and effective, showing the attribute information and the application uninstalling entry of at least one application program in the application list.
In one embodiment, the verifying whether the attribute information is complete and valid includes: and verifying whether the attribute information is complete and effective by loading the resource object corresponding to the attribute information.
In one embodiment, the obtaining attribute information of at least one application program in the application list includes: acquiring an installation path of the at least one application program according to the identification information of the at least one application program in the application list; searching the attribute file of the at least one application program according to the installation path; and analyzing the attribute file to obtain the attribute information of the at least one application program.
In one embodiment, the deleting the application program corresponding to the application uninstalling inlet from the Windows system in response to the uninstalling instruction input from the application uninstalling inlet includes: receiving uninstalling instructions which are determined by a user according to the displayed attribute information and input from at least two application uninstalling entrances; and deleting the corresponding application programs from the Windows system in batch according to the uninstalling instruction.
In a second aspect, an embodiment of the present invention further provides an apparatus for uninstalling an application, including: the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an application list formed by application programs of preset application types in a Windows system, and the preset application types comprise application store types; the display unit is used for displaying the attribute information and the application uninstalling inlet of at least one application program in the application list; and the deleting unit is used for responding to the uninstalling instruction input from the application uninstalling inlet and deleting the application program corresponding to the application uninstalling inlet from the Windows system.
In an implementation manner, the obtaining unit is specifically configured to enumerate, by using a first function, the application program of the preset application type to obtain the application list.
In one embodiment, the display unit comprises: the acquisition module is used for acquiring the attribute information of at least one application program in the application list; the determining module is used for determining whether the at least one application program is a user layer application or not according to the attribute information; and the display module is used for displaying the application uninstalling inlet corresponding to the at least one application program under the condition that the at least one application program is the user layer application.
In one embodiment, the display unit comprises: the acquisition module is used for acquiring the attribute information of at least one application program in the application list; the verification module is used for verifying whether the attribute information is complete and effective; and the display module is used for displaying the attribute information and the application uninstalling entry of at least one application program in the application list under the condition that the attribute information is complete and effective.
In an embodiment, the verification module is specifically configured to verify whether the attribute information is complete and valid by loading a resource object corresponding to the attribute information.
In one embodiment, the obtaining module comprises: the obtaining submodule is used for obtaining the installation path of the at least one application program according to the identification information of the at least one application program in the application list; the searching submodule is used for searching the attribute file of the at least one application program according to the installation path; and the analysis sub-module is used for analyzing the attribute file to obtain the attribute information of the at least one application program.
In one embodiment, the deletion unit includes: the receiving module is used for receiving uninstalling instructions which are determined by a user according to the displayed attribute information and input from at least two application uninstalling entrances; and the deleting module is used for deleting the corresponding application programs from the Windows system in batches according to the uninstalling instruction.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any application program unloading method provided by the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing one or more programs, where the one or more programs are executable by one or more processors to implement any one of the methods for uninstalling an application program provided by the embodiments of the present invention.
The application uninstalling method, device, electronic device and storage medium provided by the embodiments of the present invention can acquire an application list formed by application programs of preset application types in a Windows system, where the preset application types include an application store type, show attribute information of at least one application program in the application list and an application uninstalling entry, and respond to an uninstalling instruction input from the application uninstalling entry, and delete the application program corresponding to the application uninstalling entry from the Windows system. Therefore, the attribute information of the application program provided by the Windows application store in the Windows system can be displayed for the user to refer to whether the application program needs to be uninstalled, and when the user wants to uninstall the application program, the user can conveniently input an uninstalling command through the application uninstalling entrance of the application program, so that the application program corresponding to the application uninstalling entrance is deleted from the Windows system, the uninstalling of the application program provided by the Windows application store is conveniently and flexibly realized, and the user experience is effectively improved.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an uninstalling method of an application according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of an uninstalling method of an application according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for uninstalling an application according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. 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.
In a first aspect, embodiments of the present invention provide an application program uninstalling method, which can conveniently and flexibly uninstall various application programs provided by a Windows application store, and effectively improve user experience.
As shown in fig. 1, an uninstalling method of an application program provided by an embodiment of the present invention may include:
s11, acquiring an application list formed by application programs of preset application types in the Windows system, wherein the preset application types comprise application store types;
the Windows system may refer to various versions of a Windows operating system in which a Windows application store may be provided. The Windows app store may be provided with various application programs dedicated for the Windows system, and may also be provided with various application programs developed by third parties. Generally, various application programs downloaded and installed from the Windows app store do not leave traces in the control panel of the operating system, that is, the user cannot perform an uninstalling operation on various application programs provided by the Windows app store through the control panel.
In this step, an application list formed by application programs of preset application types in the Windows system may be obtained, where the preset application type may be one application type, or may be multiple application types, and may be specifically configured or specified according to needs. In an embodiment of the present invention, in order to uninstall an application provided by a Windows application store, the preset application type may specifically include an application store type, that is, the application of the type is provided by the Windows application store. In specific implementation, all application programs in the operating system can be traversed, and application programs belonging to preset application types are selected to form a corresponding application program list. The application list may be provided with identification information of each application. During traversal, the application type to which each application belongs may be obtained according to the registry information, for example, it may be known that the application a is the application store type through the registry information of the application a, and it may be known that the application B is not the application store type through the registry information of the application B.
S12, showing the attribute information and the application uninstalling entrance of at least one application program in the application list;
the application list obtained in step S11 may include one or more application programs, and in this step, the attribute information and the application uninstall entry of part of the application programs or all the application programs in the application list may be displayed. The attribute information of the application may include information such as the name, the release manufacturer, the release version, the resource character string, and the resource picture of the application, so that the attribute information can be displayed to make the user basically know about the application. The application uninstalling portal may be an application uninstalling control, such as a button, a dialog box, a pull-down menu, etc., so that a user can conveniently interact with the computer and input an uninstalling instruction. The application uninstalling entries may correspond to the application programs one to one, for example, the attribute information of each application program may be displayed in rows, and the application uninstalling entry corresponding to each application program may be displayed next to the attribute information of the application program.
And S13, in response to the uninstalling instruction input from the application uninstalling inlet, deleting the application program corresponding to the application uninstalling inlet from the Windows system.
In this step, the uninstall instruction may be received through the application uninstall entry, and the application program corresponding to the application uninstall entry is deleted from the Windows system according to the uninstall instruction. Specifically, in an embodiment of the present invention, after receiving an uninstall instruction from an application uninstall entry, a preset system function or a preset application provided by an operating system may be called, for example, powershell.
The application uninstalling method provided by the embodiment of the invention can acquire an application list formed by application programs of preset application types in a Windows system, wherein the preset application types comprise application store types, show attribute information of at least one application program in the application list and an application uninstalling entrance, and respond to an uninstalling instruction input from the application uninstalling entrance to delete the application program corresponding to the application uninstalling entrance from the Windows system. Therefore, the attribute information of the application program provided by the Windows application store in the Windows system can be displayed for the user to refer to whether the application program needs to be uninstalled, and when the user wants to uninstall the application program, the user can conveniently input an uninstalling command through the application uninstalling entrance of the application program, so that the application program corresponding to the application uninstalling entrance is deleted from the Windows system, the uninstalling of the application program provided by the Windows application store is conveniently and flexibly realized, and the user experience is effectively improved.
Optionally, in step S11, the application list formed by the application program of the preset application type in the Windows system may be obtained through multiple ways, for example, the application list may be obtained by traversing the system registry according to a preset filtering condition, or obtained by an enumeration means. Specifically, in an embodiment of the present invention, the step S11 of obtaining the application list formed by the application programs of the preset application types in the Windows system may include: enumerating the application program of the preset application type through a first function to obtain the application list. The preset application type may be a parameter of the first function, and may be specified by a user or default by the system. Optionally, the first function may be various functions capable of enumerating the application program, and for example, in an embodiment of the present invention, the first function may be a function provided in powershell.
After the application list is obtained, in step S12, the attribute information of the application program or the application programs in the application list and the corresponding application uninstall entries may be displayed. In one embodiment of the invention, in order to enable the user to comprehensively know which application programs are provided by the Windows application store and facilitate the user to freely uninstall such application programs, the attribute information of all application programs in the list and the application uninstalling entries corresponding to the application programs can be displayed.
In order to avoid the user from deleting the system application program by mistake, in an embodiment of the present invention, when the attribute information and the application uninstalling entries are displayed, it may be first detected whether each application program is a user layer application, if so, the corresponding application uninstalling entry is provided and displayed, and if not, the corresponding application uninstalling entry is not provided and displayed for the application program. In a specific implementation, the step S12 of displaying the attribute information and the application uninstall entry of at least one application program in the application list may include: acquiring attribute information of at least one application program in the application list; determining whether the at least one application program is a user layer application according to the attribute information; and when the at least one application program is a user layer application, displaying an application uninstalling inlet corresponding to the at least one application program. And in the case that the at least one application program is not the user layer application, not providing and exposing a corresponding application uninstalling entrance for the application program.
In order to ensure that the attribute information can provide an accurate reference for the user, in another embodiment of the present invention, the step S12 of displaying the attribute information and the application uninstalling entry of at least one application program in the application list may specifically include: acquiring attribute information of at least one application program in the application list; verifying whether the attribute information is complete and valid; and under the condition that the attribute information is complete and effective, showing the attribute information and the application uninstalling entry of at least one application program in the application list.
Optionally, whether the attribute information is complete and valid may be verified in various ways, for example, the attribute information may be compared with preset information, or a preset algorithm is performed on the attribute information, and the like. Specifically, in an embodiment of the present invention, the verifying whether the attribute information is complete and valid specifically includes: and verifying whether the attribute information is complete and effective by loading the resource object corresponding to the attribute information. For example, if the resource object corresponding to the attribute information is loaded successfully, it indicates that the attribute information is complete and valid, that is, the verification is passed, and the attribute information of the application program and the application uninstalling entry can be displayed; if loading the resource object corresponding to the attribute information fails, the attribute information is not complete and effective, and if the verification fails, the attribute information of the application program can be displayed to help a user to find a problem, but an application unloading inlet corresponding to the application program is not provided to prevent the application program from being deleted by mistake.
In the above embodiment, the obtaining of the attribute information of at least one application program in the application list may specifically include: acquiring an installation path of the at least one application program according to the identification information of the at least one application program in the application list; searching the attribute file of the at least one application program according to the installation path; and analyzing the attribute file to obtain the attribute information of the at least one application program. Specifically, the application list may list identification information of each application program of the Windows application store type, and each application program of the Windows application store type has a specified installation path, so that the specified installation path may be spliced with each identification information, and a complete installation path of each application program is obtained. For example, the specified installation path for each application program of the Windows application store type is C: \ program \ appstore \ if the identification information of the application program APP1 is id1 and the identification information of the application program APP2 is id2, then the complete installation path of the application program APP1 obtained by splicing is C: \ program \ appstore \ id1, the complete installation path of the application APP2 is C: \ program \ appstore \ id 2.
Under the complete installation directory of each application program, a property file of the application program can be set, and property information of the corresponding application program can be recorded in the property file. Optionally, the property file may have a specified file name, for example, in an embodiment of the present invention, the file name of the property file of each application may be appxmaifiest. In specific implementation, according to a naming rule of the attribute file, the attribute file corresponding to each application program is found under the complete installation directory of each application program, and after the attribute file is analyzed, the attribute information of the application program can be obtained, so that whether the corresponding application program is a user layer application or not is determined and/or whether the attribute information is complete and effective or not is verified according to the attribute information.
Further, after the property information of the application program and the application uninstall entry are shown in step S12, if an uninstall instruction is received from the application uninstall entry, in step S13, the application program corresponding to the application uninstall entry may be deleted from the Windows system in response to the uninstall instruction input from the application uninstall entry. Optionally, in the embodiment of the present invention, the uninstalling instruction corresponding to one application program may be received through one of the application uninstalling portals, or the uninstalling instructions for multiple application programs may be received through multiple application uninstalling portals, which is not limited in the embodiment of the present invention. For example, in an embodiment of the present invention, in response to the uninstall instruction input from the application uninstall portal in step S13, deleting the application program corresponding to the application uninstall portal from the Windows system may specifically include: receiving uninstalling instructions which are determined by a user according to the displayed attribute information and input from at least two application uninstalling entrances; and deleting the corresponding application programs from the Windows system in batch according to the uninstalling instruction, thereby effectively improving the deleting efficiency of the application programs provided by the Windows application store.
The application program unloading method provided by the embodiment of the invention provides an unloading way of the Windows application store type application program for a user, and can conveniently unload the application program which is not needed by the user according to the user requirement, so that an application program list or an application program desktop of the user is clearer and simpler, the positioning speed of the user on the target application program related to the user can be greatly improved, and the user experience is further improved.
The following describes in detail an application uninstalling method according to an embodiment of the present invention with a specific embodiment.
As shown in fig. 2, an uninstalling method of an application program provided by an embodiment of the present invention may include:
s201, enumerating application programs of preset application types through a first function to obtain an application list, wherein the preset application types comprise application store types.
Illustratively, the first function may be, for example, a function provided in powershell.
S202, acquiring an installation path of at least one application program according to the identification information of the at least one application program in the application list.
For example, the specified installation path for each application program of the Windows application store type is C: program \ appstore \ and identification information of the application program APP3 is id3, the complete installation path of the application program APP3 can be obtained by splicing, and is C: \ program \ appstore \ id3, if the identification information of the application program APP4 is id4, the complete installation path of the application program APP4 can be obtained by splicing and is C: \ program \ appstore \ id 4.
S203, searching the attribute file of the at least one application program according to the installation path.
For example, the property file of the application APP3 is appxmaifiest. xml, and its path is C: \ program \ appstore \ id3\ appxmanific.xml, the property file of the application program APP4 is appxmanific.xml, and the path is C: \ program \ appstore \ id4\ appxmanific.
S204, analyzing the attribute file to obtain attribute information of the at least one application program;
optionally, the attribute information may include, for example, a name of the application, a release vendor, a release version, a resource string, a resource picture, and the like.
S205, determining whether the at least one application program is a user layer application or not according to the attribute information.
S206, under the condition that the at least one application program is the user layer application, whether the attribute information is complete and effective is verified by loading the resource object corresponding to the attribute information.
For example, if the loading is successful, the attribute information is complete and valid, the verification is passed, and if the loading is failed, the attribute information is not complete and valid, and the verification fails.
And S207, under the condition that the attribute information is complete and effective, displaying the attribute information and the application uninstalling entry of at least one application program in the application list.
S208, receiving uninstalling instructions which are determined by the user according to the displayed attribute information and input from at least two application uninstalling entrances.
And S209, deleting the corresponding application programs from the Windows system in batch according to the uninstalling instruction.
In a second aspect, an embodiment of the present invention provides an apparatus for uninstalling an application program, which is capable of conveniently and flexibly uninstalling various application programs provided by a Windows application store, and effectively improving user experience.
As shown in fig. 3, an uninstalling apparatus of an application according to an embodiment of the present invention may include:
the acquiring unit 31 is configured to acquire an application list formed by application programs of preset application types in the Windows system, where the preset application types include an application store type;
a display unit 32, configured to display attribute information and an application uninstalling entry of at least one application program in the application list;
and the deleting unit 33 is configured to, in response to the uninstall instruction input from the application uninstall portal, delete the application program corresponding to the application uninstall portal from the Windows system.
The application uninstalling device provided by the embodiment of the invention can acquire an application list formed by application programs of preset application types in a Windows system, wherein the preset application types comprise application store types, show attribute information of at least one application program in the application list and an application uninstalling entrance, and respond to an uninstalling instruction input from the application uninstalling entrance to delete the application program corresponding to the application uninstalling entrance from the Windows system. Therefore, the attribute information of the application program provided by the Windows application store in the Windows system can be displayed for the user to refer to whether the application program needs to be uninstalled, and when the user wants to uninstall the application program, the user can conveniently input an uninstalling command through the application uninstalling entrance of the application program, so that the application program corresponding to the application uninstalling entrance is deleted from the Windows system, the uninstalling of the application program provided by the Windows application store is conveniently and flexibly realized, and the user experience is effectively improved.
In an implementation manner, the obtaining unit 31 may be specifically configured to enumerate, through a first function, the application program of the preset application type to obtain the application list.
In one embodiment, the display unit 32 may include:
the acquisition module is used for acquiring the attribute information of at least one application program in the application list;
the determining module is used for determining whether the at least one application program is a user layer application or not according to the attribute information;
and the display module is used for displaying the application uninstalling inlet corresponding to the at least one application program under the condition that the at least one application program is the user layer application.
In one embodiment, the display unit 32 may include:
the acquisition module is used for acquiring the attribute information of at least one application program in the application list;
the verification module is used for verifying whether the attribute information is complete and effective;
and the display module is used for displaying the attribute information and the application uninstalling entry of at least one application program in the application list under the condition that the attribute information is complete and effective.
In an embodiment, the verification module is specifically configured to verify whether the attribute information is complete and valid by loading the resource object corresponding to the attribute information.
In one embodiment, the obtaining module may include:
the obtaining submodule is used for obtaining the installation path of the at least one application program according to the identification information of the at least one application program in the application list;
the searching submodule is used for searching the attribute file of the at least one application program according to the installation path;
and the analysis submodule is used for analyzing the attribute file to obtain the attribute information of the at least one application program.
In one embodiment, the deleting unit 33 may include:
the receiving module is used for receiving uninstalling instructions which are determined by a user according to the displayed attribute information and input from at least two application uninstalling entrances;
and the deleting module is used for deleting the corresponding application programs from the Windows system in batches according to the uninstalling instruction.
In a third aspect, the embodiment of the present invention provides an electronic device, which can conveniently and flexibly uninstall various application programs provided by a Windows application store, and effectively improve user experience.
As shown in fig. 4, an electronic device provided in an embodiment of the present invention may include: the device comprises a shell 51, a processor 52, a memory 53, a circuit board 54 and a power circuit 55, wherein the circuit board 54 is arranged inside a space enclosed by the shell 51, and the processor 52 and the memory 53 are arranged on the circuit board 54; a power supply circuit 55 for supplying power to each circuit or device of the electronic apparatus; the memory 53 is used to store executable program code; the processor 52 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 53, for executing the uninstalling method of the application program provided in any of the foregoing embodiments.
For specific execution processes of the above steps by the processor 52 and further steps executed by the processor 52 by running the executable program code, reference may be made to the description of the foregoing embodiments, and details are not described herein again.
The electronic devices described above exist in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This kind of equipment includes: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Accordingly, in a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement any one of the methods for uninstalling an application program provided in the foregoing embodiments, so that corresponding technical effects can also be achieved, which have been described in detail above and are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An application program uninstalling method, comprising:
acquiring an application list formed by application programs of preset application types in a Windows system, wherein the preset application types comprise application store types;
displaying attribute information and an application uninstalling entry of at least one application program in the application list;
and in response to the uninstalling instruction input from the application uninstalling inlet, deleting the application program corresponding to the application uninstalling inlet from the Windows system.
2. The method according to claim 1, wherein the obtaining of the application list formed by the application programs of the preset application types in the Windows system comprises:
enumerating the application program of the preset application type through a first function to obtain the application list.
3. The method of claim 1, wherein the presenting attribute information and application uninstall entries of at least one application in the application list comprises:
acquiring attribute information of at least one application program in the application list;
determining whether the at least one application program is a user layer application according to the attribute information;
and when the at least one application program is a user layer application, displaying an application uninstalling inlet corresponding to the at least one application program.
4. The method of claim 1, wherein the presenting attribute information and application uninstall entries of at least one application in the application list comprises:
acquiring attribute information of at least one application program in the application list;
verifying whether the attribute information is complete and valid;
and under the condition that the attribute information is complete and effective, showing the attribute information and the application uninstalling entry of at least one application program in the application list.
5. The method of claim 4, wherein the verifying whether the attribute information is complete and valid comprises:
and verifying whether the attribute information is complete and effective by loading the resource object corresponding to the attribute information.
6. The method according to claim 3 or 4, wherein the obtaining of the attribute information of at least one application program in the application list comprises:
acquiring an installation path of the at least one application program according to the identification information of the at least one application program in the application list;
searching the attribute file of the at least one application program according to the installation path;
and analyzing the attribute file to obtain the attribute information of the at least one application program.
7. The method of claim 1, wherein deleting the application program corresponding to the application uninstall portal from the Windows system in response to the uninstall instruction input from the application uninstall portal comprises:
receiving uninstalling instructions which are determined by a user according to the displayed attribute information and input from at least two application uninstalling entrances;
and deleting the corresponding application programs from the Windows system in batch according to the uninstalling instruction.
8. An apparatus for uninstalling an application, comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an application list formed by application programs of preset application types in a Windows system, and the preset application types comprise application store types;
the display unit is used for displaying the attribute information and the application uninstalling inlet of at least one application program in the application list;
and the deleting unit is used for deleting the application program corresponding to the application uninstalling entrance from the Windows system in response to the uninstalling instruction input from the application uninstalling entrance.
9. The apparatus according to claim 8, wherein the obtaining unit is specifically configured to enumerate the application program of the preset application type through a first function to obtain the application list.
10. The apparatus of claim 8, wherein the presentation unit comprises:
the acquisition module is used for acquiring the attribute information of at least one application program in the application list;
the determining module is used for determining whether the at least one application program is a user layer application or not according to the attribute information;
and the display module is used for displaying the application uninstalling inlet corresponding to the at least one application program under the condition that the at least one application program is the user layer application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210598892.4A CN114816459A (en) | 2022-05-30 | 2022-05-30 | Application program unloading method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210598892.4A CN114816459A (en) | 2022-05-30 | 2022-05-30 | Application program unloading method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114816459A true CN114816459A (en) | 2022-07-29 |
Family
ID=82519486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210598892.4A Pending CN114816459A (en) | 2022-05-30 | 2022-05-30 | Application program unloading method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114816459A (en) |
-
2022
- 2022-05-30 CN CN202210598892.4A patent/CN114816459A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10216510B2 (en) | Silent upgrade of software with dependencies | |
CN105912362B (en) | A kind of method, apparatus and electronic equipment loading plug-in unit | |
US10289397B2 (en) | Silent installation of software with dependencies | |
CN105512294A (en) | Multi-media file update prompting method and device | |
CN113760306B (en) | Method and device for installing software, electronic equipment and storage medium | |
CN111079125A (en) | Method and device for calling third-party library dynamic lifting authority by application program | |
CN108763084A (en) | A kind of generation method of test case, device and electronic equipment | |
CN110865904A (en) | Computer system management method, device, electronic equipment and storage medium | |
CN106484779B (en) | File operation method and device | |
CN110652728A (en) | Game resource management method and device, electronic equipment and storage medium | |
CN110889116A (en) | Advertisement blocking method and device and electronic equipment | |
CN106201595A (en) | The cleaning control method of a kind of application program and device | |
CN105718136A (en) | Handheld mobile terminal control method and handheld mobil terminal | |
CN111782474A (en) | Log processing method and device, electronic equipment and medium | |
CN114816459A (en) | Application program unloading method and device, electronic equipment and storage medium | |
CN105787302A (en) | Application processing method and device and electronic equipment | |
CN109164987A (en) | A kind of control method of magnetic disc array card, device and electronic equipment | |
CN109189426A (en) | A kind of upgrade method, device, storage medium and electronic equipment | |
CN113779576A (en) | Identification method and device for executable file infected virus and electronic equipment | |
CN106557525B (en) | Method and device for cleaning application program residual file and electronic equipment | |
CN113051336B (en) | Visual data operation method, system, equipment and medium | |
CN110955458A (en) | EXT4 file system-based os rapid customization method, system, storage medium and electronic equipment | |
CN111178936A (en) | Advertisement display testing method and device, electronic equipment and storage medium | |
CN110659489B (en) | Threat detection method, device and storage medium for character string splicing behavior | |
CN113986388B (en) | Program set loading method, system, electronic device and storage medium |
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 |