Aug 02 2020 12:40 PM
If the original MSIX package name is too long, the staging will fail due to file path length limitations.
This limit seems to come into play with the junction point.
If "C:\temp\AppAtach\" is used as a base folder, that is 18 characters.
If the MSIX Packaging Tool was used to create the initial package with a Package Name of "N" characters, this results in a package root folder equivalent of 18 + 3*(N+31).
This leaves around 47 characters for the original package name.
I am writing this for two reasons:
Aug 06 2020 01:15 AM
@TIMOTHY MANGAN looking to leverage you expertise here. What if in the product version we do not need a junction?
Aug 06 2020 05:00 AM
@Stefan Georgiev It looks to me like that would knock things down to 2*(N+31), which should be fine for most folks.
We may need to advise shorter package names overall anyway unless/until the MSIX runtime injects the longer \\?\\C:\Program Files\WindowsApps\(N)\VFS style longer paths on all File API calls.
Tim