Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Windows store app programmatically in UWP?

I want to install an windows store application programmatically from UWP application. I am able to redirect to the Windows store application page but what i want is the application should install automatically from store. Is there any to achieve this in UWP?

Thanks in advance.

like image 276
Hari Kiran Avatar asked Feb 18 '26 18:02

Hari Kiran


1 Answers

Yes it is, but such app need Package Policy Control capability (see https://msdn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations). Also you must have direct access to appx package of app to install. Then you can use PackageManager class. But this app can't be pushed to Windows store without special permission from MSFT or you must use sideloading (installing without Windows store). So it's almost unusable...

like image 90
wallycz Avatar answered Feb 21 '26 13:02

wallycz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!