MSIX Packaging Tool - Insider Preview: Issue in including services with dependencies

%3CLINGO-SUB%20id%3D%22lingo-sub-1096095%22%20slang%3D%22en-US%22%3EMSIX%20Packaging%20Tool%20-%20Insider%20Preview%3A%20Issue%20in%20including%20services%20with%20dependencies%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096095%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73899%22%20target%3D%22_blank%22%3E%40John%20Vintzel%3C%2FA%3E%26nbsp%3BI%20tried%20to%20create%20a%20package%20from%20an%20existing%20EXE%20with%20MSIX%20Packaging%20Tool%20Insider%20Preview%201.2019.1218.0%20on%20Win%2010%20Insider%20Preview%20Build%2019536.%20The%20EXE%20includes%20a%20service%20that%20has%20a%20dependency%20on%20services%20namely%20SQL%20Server%20and%20WMI%20(which%20are%20outside%20the%20package).%20MSIX%20Packaging%20Tool%20lists%20the%20service%20as%20%22Excluded%20Services%22%2C%20reason%20being%20displayed%20as%20%22Invalid%20Dependencies%22.%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20even%20when%20the%20dependencies%20of%20the%20service%20were%20manually%20removed%2C%20the%20package%20doesn't%20deploy%20the%20service%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQuestion%20is%3A%20Why%20is%20it%20NOT%20possible%20to%20include%20a%20service%20that%20has%20a%20dependency%20outside%20the%20package%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1097324%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20Tool%20-%20Insider%20Preview%3A%20Issue%20in%20including%20services%20with%20dependencies%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1097324%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F430848%22%20target%3D%22_blank%22%3E%40shobz_krish%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnfortunately%20at%20this%20time%2C%20this%20is%20a%20limitation%20in%20our%20support%20for%20packaged%20services.%20We%20are%20aware%20of%20this%20limitation%20and%20are%20continually%20working%20to%20improve%20our%20packaged%20services%20support.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%2C%3C%2FP%3E%0A%3CP%3ESharla%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098060%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20Tool%20-%20Insider%20Preview%3A%20Issue%20in%20including%20services%20with%20dependencies%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098060%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145112%22%20target%3D%22_blank%22%3E%40Sharla%20Akers%3C%2FA%3E%26nbsp%3BThank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20another%20question%3A%20In%2020H1%20Insider's%20preview%2C%20will%20it%20also%20be%20possible%20to%20create%20MSIX%20packages%20for%20services%20from%20Visual%20Studio%20as%20well%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1099281%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20Tool%20-%20Insider%20Preview%3A%20Issue%20in%20including%20services%20with%20dependencies%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1099281%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F430848%22%20target%3D%22_blank%22%3E%40shobz_krish%3C%2FA%3E%26nbsp%3BPackaged%20Services%20generally%20designed%20for%20apps%20no%20under%20active%20development.%26nbsp%3B%20For%20active%20development%20we%20highly%20recommend%20moving%20to%20long%20running%20tasks.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJohn.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

@John Vintzel I tried to create a package from an existing EXE with MSIX Packaging Tool Insider Preview 1.2019.1218.0 on Win 10 Insider Preview Build 19536. The EXE includes a service that has a dependency on services namely SQL Server and WMI (which are outside the package). MSIX Packaging Tool lists the service as "Excluded Services", reason being displayed as "Invalid Dependencies". 

And even when the dependencies of the service were manually removed, the package doesn't deploy the service at all.

 

Question is: Why is it NOT possible to include a service that has a dependency outside the package?

3 Replies

Hi @shobz_krish,

 

Unfortunately at this time, this is a limitation in our support for packaged services. We are aware of this limitation and are continually working to improve our packaged services support.

 

Best,

Sharla 

@Sharla Akers Thank you!

 

Just another question: In 20H1 Insider's preview, will it also be possible to create MSIX packages for services from Visual Studio as well?

@shobz_krish Packaged Services generally designed for apps no under active development.  For active development we highly recommend moving to long running tasks.

 

John.