GaSeo
GaSeo

Reputation: 11

How do I run a process in a UWP before displaying app

I've completed a winform project that handles a uri scheme (TEL:)

I'm now trying to do the same in UWP. I've successfully got the app launching on TEL activation.

How do I stop the app showing when its run with arguments? Run silent.

The app runs a task and closes. There is no need for the UI unless the user hasn't done the first time set up or there is an error.

I've been looking into prelaunch but before painting myself into a corner I wanted to ask a more experienced user what the best practice is as I would like to publish this application and follow best practice.

I've checked similar questions but they were after a background service.

Thank you.

Upvotes: 0

Views: 152

Answers (1)

GaSeo
GaSeo

Reputation: 11

Answer thanks to Nico Zhu.

Can not launch an app without displaying UI but it is possible to use 'FullTrustProcessLauncher' to run an exe instead.

More information on this can be found here

Upvotes: 1

Related Questions