[MSIX] Set App working dir and arguments

Define a working directory and run arguments for the executable of an applicatino. This fix may be useful when the app can’t find some DLLs when launched.

The fix 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 > WkDir and Arguments settings from the context menu of the application that fails when launched.

    msix-editor-apps-context-menu-2

  3. Click Browse to choose the App working directory and, if needed, enter Arguments for the application executable. You can learn about the required current working directory and arguments in the original application shortcut before it was converted to MSIX. Then, click Save.

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