Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 766
Heejin Avatar asked May 07 '16 06:05

Heejin


1 Answers

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

like image 194
S. Matthews Avatar answered Nov 09 '22 08:11

S. Matthews