Forum Discussion

TIMOTHY_MANGAN's avatar
Mar 05, 2021
Solved

Launching Apps with Parameters

In the recent Ignite video from John Vintzel , he mentioned that launching apps with parameters is supported on OS2004.  I believe I heard that this may be done in the manifest, and that you'll have ...
  • HowardKapustein's avatar
    HowardKapustein
    Dec 07, 2021
    >As I read the documentation, this seems to only apply to uap10 hosted apps

    Nope. <Application> and <Extension> attributes are 'activation info' -- Executable, EntryPoint, TrustLevel, RuntimeBehavior, Parameters, etc. That tells Windows "here's how to create a process for this activatable extension point". Parameters aren't just for host runtime.

    >standard win32 based exe expose a start menu entry that uses command line arguments without the need of the PSF.

    Can you elaborate?

    What do you expect happen when the start menu entry is selected? A process is created with the exe? Does the process have package identity? Application identity? Is this exe referenced by an <Application> in appxmanfiest.xml? Is this just a random exe in an MSIX package not referenced by anything in appxmanifest.xml?

Resources