5 Launching the command line programs with the Microsoft Store variant
Moritz Bunkus edited this page 2023-12-25 09:22:44 +00:00

How do I launch the command-line applications when I've installed MKVToolNix from the Microsoft Store (as a Windows App)?

MKVToolNix can be bought & installed from the Microsoft Store as a Windows App. In the Store all Apps are packaged differently than they've been for years now, e.g. like my own installer for Windows.

2021-04-08: At the moment it isn't possible yet to launch the command-line applications for the Windows App variant. I know how to package them so that they're accessible, but then they appear in the start menu. I also know how to have them accessible without them appearing in the start menu, but then the package submission to the store fails at the moment as I need special privileges to submit a so-called "headless" app, which I've requested. I will update this paragraph once the issue has been resolved.

For the time being please install the regular variant if you need access to the command-line applications.

Details

Windows Apps are installed into the directory C:\Program Files\WindowsApps (only talking about 64-bit systems here; paths are slightly different for 32-bit ones). Within that directory each App has its own sub-directory whose name consists of:

  • package, identity & name: 53641MoritzBunkus.MKVToolNix
  • version number, e.g. 55.0.0.0
  • the processor architecture, e.g. x64 for 64-bit
  • the suffix of the package family name: dzwm38c22apxe

This is where the meta data such as the App manifest is stored as well as the program files themselves in the mkvtoolnix sub-directory.

However, the whole App installation directory tree C:\Program Files\WindowsApps is not directly accessible to users. Instead each App can declare its executables via so-called "application aliases". For each alias Windows creates a dummy exe in the directory C:\Users\<your username>\AppData\Local\WindowsApps. That folder is in your PATH environment variable and therefore executable.

If you don't want to have those application aliases active, you can turn them off in the Windows 10 Settings → "Apps" → "Apps & Features" → "App execution aliases".

Categories: misc