Forum Discussion
RW access to VFS in MSIX packages
Thanks for responding, I could find blogs regarding this. However, in the article, they are asking to specify the particular file extension which is getting created on run time, but what if there are multiple files/ folder structure being created at different locations? Can we give a RW access to the complete VFS structure?
The wiki documentation Fixup: FileRedirectionFixup ยท TimMangan/MSIX-PackageSupportFramework Wiki (github.com) has a sample configuration file that probably works for you.
The two entries under `packageRelative` provides pretty much what App-V does with that checkbox of the sequencer; redirect any file request that is in the package area (PVAD or VFS) to the redirection area (except for standard executable file formats).
The known folder entries below are optional and allow you, for example, to have a VFS folder for documents inside your package but using the exclusion allows the app to write files to the native documents folder.
- SJamal85Aug 09, 2022Copper Contributor
TIMOTHY_MANGAN Hi Timothy,
I tried your solution. However, now when launching the application, it is not throwing initial error also and nothing seems to be happening.I am attaching the config.json file along with screenshot of my PSF files added to the package.
Let me know if I am missing something here. IT doesnt look like Config file format issue else it would have given that error.
Appreciate all your help.
- Aug 12, 2022
SJamal85 I am traveling, but at quick glance the json looks good as a start. Test with SysInternals DebugView running before you launch. You will see a trace that should show if the app was started and if the FRF was injected.
If not, you have a packing error. If nothing pops out in that log, then it is an app issue. Latter case, using the Debug build of the PSF will show details of what the FRF is doing, and process monitor is useful also.
About 30% of apps work well out of the box, 30% can be tweaked, and 30% do things we cannot yet fix, so no guarantees you can solve it.