There are ways to get the list of installed applications that come in Add/Remove Programs in ControlPanel.
But I want to get the list of installed applications from windows store too. I have not got anything so far.
Is there any way to get the list of applications installed from windows store?
Getting the list of installed windows store apps
Asked Answered
There is definitely a way, as CCleaner and IOBit Uninstaller do it. I'd assume they're calling some commands that you'd typically call from a PowerShell window. –
Anaclinal
In C# or C++ or .NET or as any desktop application? –
Mucoprotein
Package Manager will help to get the list of metro applications;
with reference to this exchange, FindPackages
method with example:
IEnumerable<Windows.ApplicationModel.Package> packages =
(IEnumerable<Windows.ApplicationModel.Package>)packageManager
.FindPackagesForUser("");
- To use this class, open
.csproj
, and change target platform version to8.0
:- Right-click on the project name in Solution Explorer
- Select Unload the Project and it will become like
projectname(unavailable)
- Right-click → Select: Edit
.csproj
- Load the project again
- Add a reference to
system.runtime
; if you don't find it, add a reference to its.dll
from:%WinDir%\Microsoft.Net\assembly
- Add a reference to:
%ProgramFiles(x86)%\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd
You can run these commands on a powershell window and get the list of installed apps on a Windows 10 machine
Get-AppxPackage | ft Name, PackageFullName -AutoSize
If you want to get a list of all the apps of all the users, then use the below command.
Get-AppxPackage -AllUsers | ft Name, PackageFullName -AutoSize
Package Manager will help to get the list of metro applications;
with reference to this exchange, FindPackages
method with example:
IEnumerable<Windows.ApplicationModel.Package> packages =
(IEnumerable<Windows.ApplicationModel.Package>)packageManager
.FindPackagesForUser("");
- To use this class, open
.csproj
, and change target platform version to8.0
:- Right-click on the project name in Solution Explorer
- Select Unload the Project and it will become like
projectname(unavailable)
- Right-click → Select: Edit
.csproj
- Load the project again
- Add a reference to
system.runtime
; if you don't find it, add a reference to its.dll
from:%WinDir%\Microsoft.Net\assembly
- Add a reference to:
%ProgramFiles(x86)%\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd
© 2022 - 2024 — McMap. All rights reserved.