msix-packaging icon indicating copy to clipboard operation
msix-packaging copied to clipboard

Windows Services support

Open andriysavin opened this issue 5 years ago • 7 comments

Many desktop apps install one or more windows services in addition to the main app, e.g. a licensing service, device communication service etc. Such apps ask for packaged installation even more than others since they do wider modifications to the system, which would be nice to easily "rollback" (uninstall). Is any work being done to support this? P.S. Sorry for the bug label, I don't know how to ask a question/request a feature without creating a bug.

andriysavin avatar Jul 15 '19 10:07 andriysavin

Related (but maybe outdated): https://techcommunity.microsoft.com/t5/MSIX-Deployment/Support-for-Windows-services/td-p/196484

MatthewSteeples avatar Jul 21 '19 13:07 MatthewSteeples

Are there any news on this? When can we expect the support for windows services in msix? We would like to use msix packages but installing windows services are an important requirement for us.

monsieur-d avatar Oct 18 '19 09:10 monsieur-d

Support for services in an MSIX is coming as part of the 20H1 release. It is in current insider builds. The functionality is not in MSIX Core at this time. Its an item in our backlog.

jvintzel avatar Nov 21 '19 22:11 jvintzel

@jvintzel do you have some news about the msix core support of windows service ?

I actually try to install a .net core 3 app as service with msix install to have automatic update. i run the install over a powershell script so i have the hand about a lot of stuff but even with this im unable to run a SC create for example because i have no idea where the app is installed on my powershell script.

thanks for your help !

julienGrd avatar Apr 01 '20 10:04 julienGrd

No update. Right now we are completing some other work from items like MSIX app attach

jvintzel avatar Jun 11 '20 15:06 jvintzel

No update. Right now we are completing some other work from items like MSIX app attach

Any updates if this is something being worked on? Our company also have usecases for this at the moment. Would be nice to have support for this on older Windows 10 IOT (2016) core installations. Upgrading these installations to newer version is not something easily done.

jormenjanssen avatar Jan 11 '21 10:01 jormenjanssen

Adding a service is now officially supported for recent Desktop versions. However, no support for Windows Server 2019. msix_service_support_snip

What if one wants to leverage benefits of msix to deliver binaries and, through some post-install steps, add one or more system services running those binaries (outside the container)?

@jvintzel Any guides/workarounds available?

ahirner avatar Sep 04 '21 19:09 ahirner