MSIX: Runtime layering for modification package when not VFS

%3CLINGO-SUB%20id%3D%22lingo-sub-738083%22%20slang%3D%22en-US%22%3EMSIX%3A%20Runtime%20layering%20for%20modification%20package%20when%20not%20VFS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-738083%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EWith%20the%20fixes%20in%201903%2C%20I%20can%20create%20a%20package%20with%20Notepad%2B%2B%2C%20and%20then%20create%20a%20Modification%20Package%20to%20it%20that%20adds%20a%20plug-in%20dll.%26nbsp%3B%20That%20is%2C%20I%20can%20do%20this%20and%20it%20works%20as%20long%20as%20I%20do%20not%20specify%20the%20installation%20folder%20while%20packaging.%3C%2FFONT%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EBut%20Notepad%2B%2B%20needs%20me%20to%20use%20the%20PSF%20in%20order%20for%20Notepad%2B%2B%20to%20see%20the%20customized%20configuration%20file%20(which%20is%20in%20the%20user's%20appdata%20area%3B%20without%20the%20PSF%20to%20perform%20a%20copy%20on%20access%20to%20the%20file%20it%20can't%20see%20the%20file).%26nbsp%3B%20To%20use%20the%20PSF%20I%20must%20specify%20the%20installation%20folder%20while%20packaging%20or%20else%20the%20PsfLauncher%20won't%20see%20the%20config.json%20file%20as%20it%20must%20be%20placed%20at%20the%20root%20of%20the%20package%20and%20I%20can%20only%20do%20that%20if%20I%20specify%20the%20installation%20folder%20in%20the%20packaging%20tool%20dialog.%26nbsp%3B%20Specifying%20this%20folder%20in%20both%20packages%2C%20the%20app%20does%20not%20see%20the%20plugin%20when%20I%20deploy%20the%20two%20packages.%3C%2FFONT%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EI%20believe%20the%20fix%20added%20to%201903%20is%20incomplete%20and%20needs%20to%20include%20this%20use%20case.%26nbsp%3B%20Entered%20in%20feedbackhub%20with%20case%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAA5iy0i%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FAA5iy0i%3C%2FA%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-750467%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%3A%20Runtime%20layering%20for%20modification%20package%20when%20not%20VFS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-750467%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F149589%22%20target%3D%22_blank%22%3E%40Tim%20Mangan%3C%2FA%3E%2C%20for%20modification%20packages%20we%20scoped%20it%20to%20only%20work%20with%20folders%20that%20are%20VFS.%20We%20are%20looking%20into%20perhaps%20extending%20it%20to%20folders%20that%20are%20not%20VFS%20but%20at%20this%20time%20there%20is%20no%20plans%20to%20do%20so.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-750589%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%3A%20Runtime%20layering%20for%20modification%20package%20when%20not%20VFS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-750589%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144649%22%20target%3D%22_blank%22%3E%40Dian%20Hartono%3C%2FA%3EI%20would%20suggest%20that%20this%20limitation%20heavily%20impacts%20a%20key%20feature%20benefit%20of%20MSIX%20-%20that%20of%20separation%20of%20enterprise%20configuration.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP
With the fixes in 1903, I can create a package with Notepad++, and then create a Modification Package to it that adds a plug-in dll.  That is, I can do this and it works as long as I do not specify the installation folder while packaging.
But Notepad++ needs me to use the PSF in order for Notepad++ to see the customized configuration file (which is in the user's appdata area; without the PSF to perform a copy on access to the file it can't see the file).  To use the PSF I must specify the installation folder while packaging or else the PsfLauncher won't see the config.json file as it must be placed at the root of the package and I can only do that if I specify the installation folder in the packaging tool dialog.  Specifying this folder in both packages, the app does not see the plugin when I deploy the two packages.
 
I believe the fix added to 1903 is incomplete and needs to include this use case.  Entered in feedbackhub with case https://aka.ms/AA5iy0i 
2 Replies

@Tim Mangan, for modification packages we scoped it to only work with folders that are VFS. We are looking into perhaps extending it to folders that are not VFS but at this time there is no plans to do so. 

@Dian Hartono I would suggest that this limitation heavily impacts a key feature benefit of MSIX - that of separation of enterprise configuration.