Hi,
Welcome to Microsoft Q&A!
You could check the following steps to do this. 1. Right click project->Add reference->Universal Windows-> Extensions->Windows Desktop Extensions for the UWP 2. Right click Assets folder->Add-> existing item-> your .exe file 3. Open Package.appxmanifest, you could refer to this document to do like following.
<Package xmlns=http://schemas.microsoft.com/appx/manifest/foundation/windows10
….
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:rescap=http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities
IgnorableNamespaces="uap mp">
...
<Applications>
<Application Id="App"..>
..
<Extensions>
<desktop:Extension Category="windows.fullTrustProcess" Executable="Assets\Launcher.exe" />
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust"/>
</Capabilities>
</Package>
4.Add click event for the button.
private async void Button_Click(object sender, RoutedEventArgs e)
{
await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync();
}
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.