Environment Variable Fixup

MSIX does not support new and changes environment variables inside a package. The Environment Variables Fixup allows to specify an application-specific scope environment variable to be read or modified by application in an MSIX package.

To add a Environment Variable Fixup, perform the following steps:

To add Environment Variable Fixup:

1. Select an application in the Applications node, click the Apply button in the MSIX Editor ribbon, and then select Environment Variable Fixup from the menu.

Note:You could also select an application, right click, and select Environment Variable Fixup from the context menu.

The Environment Variable 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.

Working Directory

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

Environment Variable

Specify environment variable name.

This is a mandatory property.

Value

Specify the value for the configured environment variable.

This is a mandatory property.

Fetch value of the specified Environment Variable from package registry

If you select this check box, value of the provided environment variable will be fetched from the system registry.

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.