Forum Discussion
MSIX Application Launch Failure: Exception Code 0xc0000005.
- Jul 24, 2023
The MfrFixup exists only in my fork of the PSF github/com/TimothyMangan (a long story not work rehashing here). But assuming that you are a developer and not including any files in your package under the VFS folder, then InstalledLocationVirtualization is the easiest way for you to solve the file write problem (if that is what your problem is -- you might still need to run ProcessMonitor).
InstalledLocationVirtualization (ILV for short) is a separate approach added by Microsoft to allow automatic redirection of attempts to overwrite files in the package. It doesn't always work by itself, but since it is just a few extra lines to add to the AppXManifest (shown below) it is easy to try.
In addition to the package-level extension (not application-level!) you'll need to ensure that the namespace for uap10 is included as a Package attribute at the top of the file (as in xmlns:uap10="..." and in the ignorable namespaces too).
<Package ....>
...
<Applications>
...
</Applications>
<Extensions>
<uap10:Extension Category="windows.installedLocationVirtualization">
<uap10:InstalledLocationVirtualization>
<uap10:UpdateActions ModifiedItems="keep" AddedItems="keep" DeletedItems="keep" /?
</uap10:InstalledLocationVirtualization>
</uap10:Extension>
</Extensions>
</Package>A reference for detail about ILV is in this white-paper MSIX InstalledLocationVirtualization (tmurgent.com) if you wanted to learn more about the ILV.
If the issue is file based, there are multiple solutions available, including the PSF FileRedirectionFixup (or newer MfrFixup), or adding the Package Extension "InstalledLocationVirtualization" to the AppXManifest file.
If the issue is registry based, the PSF RegLegacyFixup is usually called for.
Regarding the potential solutions you mentioned, including "PSF FileRedirectionFixup" and "InstalledLocationVirtualization," I would like to delve into their implementations. However, I must admit that "MfrFixup" has not been familiar to me in the context of PSF, and I wonder if it might have been a typo or if further clarifications are available.
As I proceed with this troubleshooting process, could you kindly guide me on where to begin? Should I focus on the AppXManifest file, or are there any other essential starting points you would recommend?
Thank you so much.