[MSIX] Apply File redirection fixupΒΆ

This fixup redirects reads/writes to files that are located under the package folder to the VFS folder under the LocalAppData.

When to use: When the packaged App tries to write data to files (log, config, etc.), located under the package folder and crashes. MSIX container prohibit writing under the package folder.

The fixup will be applied using the Package Support Framework (PSF) - an open source kit that allows applying runtime fixes to the repackaged Win32 app that fails to run in an MSIX container.

Important

Precondition: Open the MSIX package in MSIX Editor (see Open MSIX/APPX).

  1. Go to the Package Designer > Apps and fixups tab.

    msix-editor-apps

  2. Select New fixup > File redirection fixup from the context menu of the application that fails.

    msix-editor-apps-context-menu-2

  3. Click Browse and choose a folder, from which the fixup must redirects the read/write operations. Enter the Patter matching in the RegExp format to define for which files the redirection rule will work. Note that you can add multiple File redirection fixups for one application. Then, click Save.

    msix-editor-apps-fixup-redirect-dialog




Note

PACE Suite covers the whole range of application packaging tasks - learn more.

Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.