[MSIX] Apply Environment variable fixupΒΆ

This fixup redirects environment variable calls to work within the package.

When to use: When your packaged application is unable to run because it does not find Environment Variables that are part of the package.

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 > Environment Variable fixup from the context menu of the application that fails.

    msix-editor-apps-context-menu-2

  3. Select the variable processing option, variable Name (name pattern in some case), and variable Value. Then, click Save.

    msix-editor-apps-fixup-env-var-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.