Mar 05 2021 08:47 AM
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 to set the minimum supported to OS2004 to get the functionality.
So what is the syntax to do this in the manifest? I haven't seen any changes supporting it in the schemas.
Dec 06 2021 11:59 PM - edited Dec 07 2021 12:01 AM
<Application> and <Extension> support the uap10:Parameters=... optional parameter to pass manifested parameters to the launched process.
You can specify certain dynamic runtime values e.g.
<Application...uap10:Parameters="$(package.effectiveLocation)\bar.dat")
will launch the application with the parameter per GetPackagePathByFulName2(...PackagePathType_Effective...) + "\bar.dat"
Dec 07 2021 06:33 AM
Dec 07 2021 02:20 PM
SolutionDec 08 2021 03:54 AM - edited Dec 08 2021 03:56 AM
The exe is a normal packaged Win32 Application listed with identity and EntryPoint="Windows.FullTrustApplication". As long as a uap10 application extension under it with uap10:Extension with Category = "windows.hostRuntime" will extended the full trust app, then we are good (although perhaps the uap10:Extension documentation could be improved as that is not an obvious conclusion to make when reading, such as an example of this use case).
Thanks!
Jan 18 2022 02:08 PM
Dec 07 2021 02:20 PM
Solution