none
Appinstaller unrecognized extension categories (Edge extension with native messaging) RRS feed

  • Question

  • Hello,

    We had success creating an .appx for the extension. It is installing, loading and running the Edge extension just fine.

    In order to take advantages of upload feature, we are trying to create an .appinstaller. Although the appinstaller finishes the installation and opens the app, the Edge extension does not work at all.

    After installation, I can see the following "unrecognized extension category" warnings on  Application and Services Logs->Microsoft->Windows->AppxDeployment-Server event viewer:

    <extensionId>\AppxManifest.xml(47,25): warning: The 'windows.appExtension' extension category in the <extension_id> package is unrecognized. <extensionId>\AppxManifest.xml(51,28): warning: The 'windows.fullTrustProcess' extension category in the <extension_id> package is unrecognized.

    As i said, running directly the appx, it works fine. It looks like the problem is appinstaller disabling those features (appExtension and fullTrustProcess) which are mandatory for Edge extension to run.

    The AppxManifest.xml elements:

    <Extensions>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.edge.extension" Id="EdgeExtension" PublicFolder="Extension" DisplayName="ms-resource:DisplayName">
          </uap3:AppExtension>
        </uap3:Extension>
        <deskwindows.fullTrustProcess" Executable="Win32\Foo.exe" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" />
      </Extensions>

    The Foo.appinstaller (it is served under HTTPS):

    <?xml version="1.0" encoding="utf-8"?>
    <AppInstaller
        xmlns="http://schemas.microsoft.com/appx/appinstaller/2017/2"
        Version="1.0.0.0" 
        Uri="https://some.domain.com/Foo.appinstaller" > 
       
        <MainPackage 
            Name="extensionId"
            Publisher="CN=Publisher"
            Version="1.0.0.0"
            Uri="https://some.domain.com/Foo.appx"
    	ProcessorArchitecture="x86" />
            
        <UpdateSettings>
            <OnLaunch HoursBetweenUpdateChecks="24" />
        </UpdateSettings>
    </AppInstaller>	

    Is it a bug from appinstaller? Does the appinstaller support Edge extension with native messaging installation?

    Thank you

    • Moved by Barry Wang Friday, June 15, 2018 9:26 AM
    Thursday, June 14, 2018 7:33 PM

All replies

  • Hello,

    Like official doc said, https://docs.microsoft.com/en-us/microsoft-edge/extensions/getting-started#reporting-bugs-and-getting-help

    Please discuss your question on SO related forum with proper tags.

    Best regards,

    Barry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, June 15, 2018 9:26 AM