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

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. Click Save or Save As in the ribbon for the change to take effect.