microsoft / MSIX-PackageSupportFramework

The Package Support Framework (PSF) is a kit for applying compatibility fixes to packaged desktop applications.
MIT License
115 stars 57 forks source link

FileRedirectionFixup inception #169

Closed TimMangan closed 3 years ago

TimMangan commented 3 years ago

When tracing a package using the FRF by using ProcessMonitor, we often see attempts to access using paths like: C:\Users\XXX\Local\AppData\Packages\YYY\LocalCache\Local\Microsoft\WritablePackageRoot\VFS\Local AppData\...

Most of the time these things don't get found and the FRF functions move on, but sometimes I see something getting created and later on the application tries to use it and can get confused and fail.

The ShouldRedirect function should not return a redirection path to something input into the function under WritablePackageRoot.

TimMangan commented 3 years ago

I am working on a PR for this one.

TimMangan commented 3 years ago

Resolved in PR #170 to Develop branch.