Heejin
Heejin

Reputation: 83

How to get list of installed Windows Universal Apps?

Im trying to make a launcher program that launches Windows Apps.
I can find Win32 Applications but I have no idea for how to find UWP Apps (Universal Apps).
Is there any API or Directories for listing Universal Apps?

Upvotes: 7

Views: 14755

Answers (1)

S. Matthews
S. Matthews

Reputation: 355

You can't use the PackageManager class mentioned in the above comments inside a UWP app.

Can you use powershell? If so, there is

    Get-AppxPackage -AllUsers

which will list all the app packages (.appx) installed (https://technet.microsoft.com/en-us/library/hh856044.aspx).

See this MSDN question for more details: https://social.msdn.microsoft.com/Forums/expression/en-US/b20cef2c-98a8-4d6f-8231-db856199f2c9/uwppossible-to-get-installed-packages-in-uwp10-across-all-users?forum=wpdevelop

Upvotes: 11

Related Questions