How to publish a Windows Service on the Windows Store?

Thales Sarczuk 1 Reputation point
2022-09-14T17:39:13.857+00:00

We have some legacy applications that are centered around a Windows Service.

We want to publish said service in the Windows Store.

How can we proceed? What are the limitations?

Is there an alternative for publishing said service?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,502 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,487 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 53,971 Reputation points
    2022-09-14T19:14:27.677+00:00

    AFAIK you cannot publish a Windows service in the store. Store apps don't have that functionality. Furthermore store apps are generally installed per user and a normal user cannot install services. Your store app can rely on Windows services. But as mentioned in the Store Policies you are not allowed to rely on non-MS services. If you have that need you must document it as part of your certification process and MS will decide whether it is allowed or not.

    If you really want to publish your app via the Windows Store then the closest you can get is creating a background task that runs. Refer to the docs here. But note that this is not a service and won't behave as such.

    If you need to install a service then you'll want to use a standard Windows Installer from one of the popular installer companies. Of course at that point then it probably is no longer necessary to use the Windows Store at all.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.