MSIX - set as default app for a file extension

New Contributor



I'm building an msix package and have found parameters to associate a file extension, as far as I know, with the uap:FileType parameter but that doesn't seem to associate that file type with the installed app. I have also tried with desktop2:AllowSilentDefaultTakeOver="true" but that doesn't seem to be what I'm looking for either.


Is it possible for the msix installer to associate a file extension with a given file type so that Windows will change the default program for that file extension and run the app that is packaged with msix?


I currently have this code block but it doesn't do this and I don't know what else I should be searching for in the documentation. I have tried with, and without, desktop2:AllowSilentDefaultTakeOver="true" but had no effect since it's description is "If set to true, the app will appear in an "Open With" list, but it won't be the default app for the file type." Please let me know what I'm looking for and if it is possible.


            <uap:Extension Category="windows.fileTypeAssociation">
            <uap:FileTypeAssociation Name="fileassociations" desktop2:AllowSilentDefaultTakeOver="true">
0 Replies