Search code examples
registrywin-universal-appwindows-explorer

Open Universal Windows Platform (UWP) application via Explorer right click


I already found this:
http://grogansoft.com/blog/?p=1197 And that works great.

But I would love to add direct entry into the main context menu with a verb that pretty much would do that same.

This one claims it's not possible:
read/write registery key file in uwp Is that really true?


Solution

  • This is now possible since the windows fall creators update. See "Integrate with windows 10". You don't have to mess around anymore with the registry you define your settings in the Package.appxmanifest. For example:

          <uap3:FileTypeAssociation Name="bla" >
            <uap2:SupportedVerbs>
              <uap3:Verb Id="Edit1" Extended="false" MultiSelectModel="Player">Edit1</uap3:Verb>
            </uap2:SupportedVerbs>
            <uap:SupportedFileTypes>
              <uap:FileType>.banana</uap:FileType>
              <uap:FileType>.foo</uap:FileType>
            </uap:SupportedFileTypes>
          </uap3:FileTypeAssociation>
        </uap:Extension>