microsoft / msix-packaging

MSIX SDK
MIT License
963 stars 163 forks source link

Support for Windows Service installation via MSIX Core #570

Closed ostapsivko closed 1 year ago

ostapsivko commented 1 year ago

Hello Team,

I was trying to understand if MSIX Core allows to install Windows Service. To quote official documentation:

In version 1.2019.1220.0 of the MSIX Packaging Tool, we added support for creating an MSIX package with Services. Due to the OS restrictions with services support, the MSIX Packaging Tool automatically changes the min version supported in an MSIX package with services to 10.0.19025.0. This means that you cannot install an MSIX with services on an OS lower than the Windows 10 version 2004, but you can create that MSIX using the MSIX Packaging Tool down to Windows 10 1809. If you need to install this app on a lower OS, update the min version appropriately but note that support for services will not work.

But I was not able to find any info about the MSIX Core support about service installation. "If you need to install this app on a lower OS, update the min version appropriately but note that support for services will not work." - does that mean that services are not supported in MSIX Core?

Could you please (dis)prove this for me? If service installation is possible, are there additional steps required to enable it?

Thanks in advance!

anarvekar-msft commented 1 year ago

Thank you for your question, MSIX Core doesn't allow installing a Windows Service.

ostapsivko commented 1 year ago

Thank you for the confirmation.