microsoft / msix-packaging

MSIX SDK
MIT License
976 stars 165 forks source link

Windows Services support #175

Open andriysavin opened 5 years ago

andriysavin commented 5 years ago

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.

MatthewSteeples commented 5 years ago

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

monsieur-d commented 4 years ago

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.

jvintzel commented 4 years ago

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.

julienGrd commented 4 years ago

@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 !

jvintzel commented 4 years ago

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

jormenjanssen commented 3 years ago

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.

ahirner commented 3 years ago

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?