Tech Community Live: Windows edition
Jun 05 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

Configurable breakaway for MSIX packages in app manifest

Configurable breakaway for MSIX packages in app manifest
4

Upvotes

Upvote

 Dec 07 2023
1 Comments (1 New)
New

I've run into several applications that have child processes that when packaged in MSIX will cause the child process to break out of the container and then fail.

 

This is rather inconvenient as it's not normally obvious that some features of an app aren't working when they rely on a child process for the functionality.

 

This can be worked around with a wrapper script/exe that executes the main process with invoke-commandindesktop -preventbreakaway but it would be ideal if you could simply define the breakaway behavior in the app manifest.

Comments
Brass Contributor

This can be achieved using the MSIX Packaging Tool along with the Package Support Framework.

 

What's new in MSIX: February 2024 | Windows IT Pro blog (microsoft.com)

 

Select "In Package Context" from within the PSF Fixups tab, then click Enable

 

Psycorp_1-1710262670669.png

 

The config.json will then be update/created;

 

Psycorp_2-1710262828084.png