Update Launching the command line programs with the Microsoft Store variant

Moritz Bunkus 2021-04-06 19:04:00 +00:00
parent a624b98e5f
commit 9e4f39fa3b

@ -1,10 +1,8 @@
# 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](MKVToolNix-costs-money-in-stores) from the [Microsoft Store](https://www.microsoft.com/store/apps/9NS0Q4ZM8MW2) 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](https://mkvtoolnix.download/downloads.html#windows). Unfortunately this means that it's currently not possible to run the command-line programs directly, even though they are present in the file system.
MKVToolNix can be [bought & installed](MKVToolNix-costs-money-in-stores) from the [Microsoft Store](https://www.microsoft.com/store/apps/9NS0Q4ZM8MW2) 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](https://mkvtoolnix.download/downloads.html#windows).
**If you know of a way to remedy this situation, please [contact me and let me know](https://mkvtoolnix.download/community.html)!** I'd very much like to improve the App variant so that it can be used to run the command-line tools as well. At this point my knowledge about the whole Store process & MSIX packaging is very new and very limited, though; hence no solution being available yet.
For the time being, please download the regular variants (portable or installer) for Windows if you want to use the command-line applications.
Starting with store release v56.0.1 in the store all of the command-line applications can simply be run via their name from `cmd` or PowerShell.
## Details
@ -17,8 +15,8 @@ Windows Apps are installed into the directory `C:\Program Files\WindowsApps` (on
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 accessible to users. Only when one runs the App via the start menu will part of the file system be made accessible, but only to the process started via the start menu. This means that the MKVToolNix GUI process started via the start menu can execute `mkvmerge.exe` from the same directory, but you cannot run it yourself, e.g. via Windows Explorer, `cmd.exe` or the PowerShell. Even though you can open `C:\Program Files\WindowsApps\53641MoritzBunkus.MKVToolNix_55.0.0.0_x64__dzwm38c22apxe\mkvtoolnix` in Windows Explorer, you cannot launch the programs from it.
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>\AppDat\Local\WindowsApps`. That folder is in your `PATH` environment variable and therefore executable.
Like I wrote above, I'd really like to enable access to the command-line applications for everyone.
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](FAQ#category-misc)
Categories: [misc](FAQ#category-misc)