Alternative ways to distribute extensions

Configurare noua (How To)

Situatie

Generally, extensions are distributed through the Microsoft Edge Add-ons website. There are some scenarios where developers may need to distribute extensions using alternate methods.

For example: the extension is associated with other software, and it should be installed together with the rest of the bundled software. Network administrators want to distribute an extension throughout their organization.

Solutie

Pasi de urmat
Using the Windows registry (Windows only)

To distribute your extension using the Windows registry:

  • Find or create the following key in the registry:
    • 32-bit Windows: HKEY_LOCAL_MACHINE\Software\Microsoft\Edge\Extensions
    • 64-bit Windows: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Edge\Extensions
  • Create a new key, or folder, under Extensions with the same name as the ID of your extension. For example, create the key with the name aaaaaaaabbbbbbbbccccccccdddddddd.
  • In the Extensions key, create the update_url property, and set the value to https://edge.microsoft.com/extensionwebstorebase/v1/crx. The update_urlproperty points to the .crx file of your extension in the Microsoft Edge Add-ons website.
  • In Microsoft Edge, go to edge://extensions, and then verify that your extension is listed.
Update and uninstall externally installed extensions

Microsoft Edge scans the metadata entries in the registry each time the browser starts, and makes any changes to the externally installed extensions. To update your extension to a new version, update the version string in the extension manifest file, and then update the version in the registry.

Tip solutie

Permanent

Voteaza

(7 din 17 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?