Apr 24 2019 04:04 AM
Can some one please explain me on how the file redirection works in MSIX
Apr 25 2019 10:27 AM
SolutionHi @GauravTamkoria,
I presume you mean the filesystem's behavioral rules, not the virtualization mechanism. We have the filesystem's behavior rules enumerated here,
https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-behind-the-scenes#file-system
The behavior of files for the %AppData% location is changing a little in 1903 to remove the copy-on-write behavior - the above link will soon be updated with the specific differences. I'll paste a snippet here on the 1903 changes,
Windows 10, version 1903 and later: New files and folders created under the following directories are redirected to a per-user, per-package private location:
In response to a file open command, the OS will open the file from the per-user, per-package location first. If this location doesn't exist, the OS will attempt to open the file from the real AppData location. If the file is opened from the real AppData location, no virtualization for that file occurs. File deletes under AppData are allowed if user has permissions.
Good luck,
-jw
Apr 25 2019 10:27 AM
SolutionHi @GauravTamkoria,
I presume you mean the filesystem's behavioral rules, not the virtualization mechanism. We have the filesystem's behavior rules enumerated here,
https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-behind-the-scenes#file-system
The behavior of files for the %AppData% location is changing a little in 1903 to remove the copy-on-write behavior - the above link will soon be updated with the specific differences. I'll paste a snippet here on the 1903 changes,
Windows 10, version 1903 and later: New files and folders created under the following directories are redirected to a per-user, per-package private location:
In response to a file open command, the OS will open the file from the per-user, per-package location first. If this location doesn't exist, the OS will attempt to open the file from the real AppData location. If the file is opened from the real AppData location, no virtualization for that file occurs. File deletes under AppData are allowed if user has permissions.
Good luck,
-jw