Forum Discussion
josuegomes
May 27, 2024Copper Contributor
How to Install a Copy Hook shell extension for a UWP app
I'm packaging my classic Win32 application as a MSIX package to be distributed on MS Store. The application includes a shell extension that implements `ICopyHook`. With the traditional installer,...
May 29, 2024
josuegomes I believe you are correct; Microsoft has not (yet?) created an extension for the Copy Hook handler.
Regarding the documentation you reference has a few things in it of note to point out in case someone wants to register.
- The extensions go into the AppXManifest.xml file (Perhaps just a typo on your post, but not AppManifest).
- The extension requires both that the MinOS field of the Identity element of the AppXManifest be at least that of the minimum OS for this extension 10.0.22159.0
- The extension only works on Windows 11 (NOT 10) 21H2 or above.
- The extension must be under an Application, and not the Package level extensions (the page title is wrong but syntax section correct (I have an outstanding issue against the documentation page).
- The requires specification of at least one file type (as indicated in the doc page) to associate the drag and drop handler..