Fresher
Fresher

Reputation: 523

Getting the list of installed windows store apps

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?

Upvotes: 5

Views: 9142

Answers (2)

Fresher
Fresher

Reputation: 523

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("");
  1. To use this class, open .csproj, and change target platform version to 8.0:
    1. Right-click on the project name in Solution Explorer
    2. Select Unload the Project and it will become like projectname(unavailable)
    3. Right-click → Select: Edit .csproj
    4. Load the project again

  2. Add a reference to system.runtime; if you don't find it, add a reference to its .dll from:
    %WinDir%\Microsoft.Net\assembly
    

  3. Add a reference to:
    %ProgramFiles(x86)%\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd
    

Upvotes: 6

Suneesh
Suneesh

Reputation: 469

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

Upvotes: 7

Related Questions