Package Relative
To add a Package Relative fixup, perform the following steps:
To add Package Relative fixups:
1. | Select an application in the Applications node, click the Apply button in the MSIX Editor ribbon, and then select File Redirection Fixup > Package Relative from the menu. |
Note:You could also select an application, right click, and select Apply File Redirection Fixup > Package Relative from the context menu.
The File Redirection Fixup Configuration view opens.
2. | Enter the following information: |
Property |
Description |
Fixup Name |
Specify the custom name of the fixup. This is an editable property where you can make edits to change the existing name of the Fixup. It should be alpha-numeric with space. Note:This name must be unique across all the Fixups for an application shortcut. |
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 folder path that should be relative to the drive where the package is installed to (generally C:). 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. |
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. | To rename the existing Fixup, right-click on the desired Fixup in the Application node, and select Rename Fixup from the context menu. After the required edits, click the Update button for the changes to take effect. |
5. | To delete, right-click on the desired Fixup in the Application node, and select Delete Fixup from the context menu. Click Yes and confirm to proceed the changes. |
6. | Click Save or Save As in the ribbon for the change to take effect. |