How launch another app from my app UWP?

Anderson Rodrigues Cavalcante 271 Reputation points
2021-07-29T14:34:09.067+00:00

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.

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 81,741 Reputation points
    2021-07-29T14:57:49.05+00:00

    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

    2 people found this answer helpful.
    0 comments No comments

  2. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,856 Reputation points
    2021-07-30T01:49:28.657+00:00

    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.

    1 person found this answer helpful.
    0 comments No comments