programmatically install application from app store

Roland Plüss 1 Reputation point
2022-04-02T11:42:01.52+00:00

I need to fulfil requirements for inclusion in a store where I use another application I submitted to the microsoft app store as dependency.

What I do so far is using LaunchUrlAsync() to request opening a file for which I've registered an application protocol. This works as the user is presented with a dialog telling him he needs to install a specific applications. This redirects him to the microsoft app store where he can install the application (free of charge). Then he can run the application.

While this works the store in question does not want this to happen but instead requests to do dependency installation during the installation process. Now my problem is how I can achieve this. Is there some kind of API similar to LaunchUrlAsync() which I can use to automatically install the dependency application from the app store (it's free of charge so safe for the user)?

I would like to ensure the dependency is installed from the app store to make sure customers receives updates automatically.

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
931 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
    2022-04-04T02:34:19.643+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Is there some kind of API similar to LaunchUrlAsync() which I can use to automatically install the dependency application from the app store

    I have to say no, there is no API that could do it. Users need to download the app manually from the Store. You could consider adding the feature to the current app.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments