Is there a way to use the command line to launch an application installed via an msix file?
An answer referred to https://www.advancedinstaller.com/msix-environment-variables.html which uses an AppxManifest.xml file, but this is not generated by 'Create App Packages' (with the Windows Application Packaging Project) and seems to be specific to the third-party 'Advanced Installer' tool.
It's certainly not intuitive, but I found a partial answer in: https://www.auslogics.com/en/articles/how-to-open-microsoft-store-apps-from-command-prompt/
For your own application for which you've created an msix install, it's a little easier than for a random msix-installed app, which is what the link above goes into. The command line to launch an msix-installed app without command line arguments is:
explorer.exe shell:appsFolder\<PackageFamilyName>!<App ID>
PackageFamilyName can be found in the 'Packaging' tab of the 'Package.appxmanifest' in the UI (but not in the actual Package.appxmanifest file). App ID can be found the actual Package.appxmanifest file (but not in any of the UI tabs).
However, this doesn't work when adding command line arguments.
It looks like command line launching of msix-installed applications is not encouraged.
If this isn't possible, is there a work-around? The underlying application being packaged is a WinForms application.