Share via

https appUriHandler for shellExecuteEx applications

Adam Strickland 1 Reputation point
2022-07-29T03:08:44.557+00:00

Hi there,

Copying over from this Github issue, I was wondering if anyone could point me at documentation regarding this section of the appUriHandlers documentation:

This feature works whenever your app is a UWP app launched with LaunchUriAsync or a Windows desktop app launched with ShellExecuteEx. If the URL corresponds to a registered App URI handler, the app will be launched instead of the browser.

I don't know much about those 2 methods of launching apps, but I know that the Tauri framework for instance uses shellExecuteEx. Is there any way for an app using this launching framework to register an app URI handler?

Tagging the windows-uwp group to start, based on advice from Alvin Ashcraft on Github.

Thanks!
Adam

Developer technologies | Universal Windows Platform (UWP)

1 answer

Sort by: Most helpful
  1. Adam Strickland 1 Reputation point
    2022-08-04T00:44:08.387+00:00

    Hi @Anonymous - I think this is actually supported, and posted some details on Tauri's github for now.

    TLDR - Non-UWP apps just need to bundle to MSIX to support this feature, using one of the methods documented in the "Features that require package identity". There are other features in that article that are available if you bundle to MSIX.

    Could you verify if that's correct, and remove the not-supported flag if so?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.