I want to launch another app from my UWP C# app. It can be any app, .exe or other.
I tried using Process.Start(), but didn't work.
I want to launch another app from my UWP C# app. It can be any app, .exe or other.
I tried using Process.Start(), but didn't work.
In UWP, apps must have an Uri
See Launch an app with a URI
or more complicated with a Desktop Extension : UWP to Win32 Desktop App Communication without an App Service
Hello, Welcome to Micorosoft Q&A,
I want to launch another app from my UWP C# app. It can be any app, .exe or other.
For launching UWP app from UWP app, and you need to register the protocol to be handled in the app that you'll launch for results. Then call Windows.System.Launcher api to launch the target app. And here is detail steps that you could refer.
For running exe file with Process.Start() is not support within UWP platform. if you want to launch other un-uwp app, you need make desktop extension by desktop-bridge for UWP app, and call Process.Start() in the desktop extension. For more info you may refer stefan's blog UWP with Desktop Extension – Part 2
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
10 people are following this question.