Forum Discussion
MSIX Command Line Argument
BrettBurgeson Getting the arguments is fairly straightforward using the PSF. You'll add a copy of the PsfLauncherXXX.exe to the package and configure the config.json for that application to launch your app. I haven't run this test case in a while, but the launcher should be appending any arguments listed for the app arguments in the json, plus any that were passed into the launcher. So leave the arguments out of the json file. Of course, if you don't need the PSF for other purposes, you can skip the Launcher and just target your end application as per below.
The trickier part is getting the things you need to run (PsfLauncher or target). It's bad to hard code the package path, so a powershell script to query for install packages and getting the install folder from there and appending the Psflauncher or target name for the command line and adding your query string there will do it.
TIMOTHY_MANGANThank you for the information. I will try to get that to work.