Known Folders

To add a Known Folders fixup, perform the following steps:

To add Known Folders fixups:

1. Select an application in the Applications node, click the Apply button in the MSIX Editor ribbon, and then select File Redirection Fixup > Known Folders from the menu.

Note:You could also select an application, right click, and select Apply File Redirection Fixup > Known Folders from the context menu.

The File Redirection Fixup Configuration view opens.

2. Enter the following information:

Property

Description

Executable

This property displays the executable that will be invoked when the application is launched. This is a non-editable property.

Redirect From

Microsoft refers to this property as base.

Specify the path where the file is expected to be created by the application in the drive where the package is installed. This property should be a path relative to the Windows predefined folder selected for the Known Folder property.

Note:If not specified, then the working directory of the application will be used.

Redirect To

Microsoft refers to this property as redirectTargetBase 

Specify the folder where you wish to redirect the file to.

Note:If not specified, the file will be redirected to the LocalAppData folder on the device.

Known Folders

Select one of the following:

LocalAppData
ProgramData
ProgramFilesX86
ProgramFilesX64
ProgramFilesCommonX86
ProgramFilesCommonX64
RoamingAppData
System
SystemX86
Windows

This is a mandatory property.

Working Directory

This property displays the working directory of the application. This is a non-editable property.

File Patterns

Microsoft refers to this property as patterns.

Specify the file extensions to be considered for the file redirections. If you wish to redirect any file extension or all the file extensions then specify .* 

This is a mandatory property.

Keep the files read only upon redirection

If you select this check box, then a copy on access and redirection operation is performed. The redirected files will be read-only and non-edited. By default this property is unchecked.

Do not allow redirection operations on this pattern match

If you select this check box, then redirection operations are not allowed on this pattern match. By default this property is unchecked.

3. After adding the above fields, click Update button.
4. Click Save or Save As in the ribbon for the change to take effect.

Note:When multiple FRF fixups are applied to an application in an MSIX package, a single config.json file will be generated merging all the fixups configuration and injected into the MSIX package along with the fixup binary files.