Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere
Løst Arkiveret

How do we package an extension for publishing that contains a native app?

WChapman

In order to use a native app in Windows, we have to create Windows registry keys that tell Mozilla/Firefox where the native app is located, the name of the native app, etc. We also have to copy files on the user's system to that location. Is there a standard installer for native apps that we should use? I currently have a batch file that creates a folder, copies files, and registers the Windows registry keys.

Instructions for submitting the add-on indicate that we should zip certain standard files, but there does not appear to be dedicated discussion about packaging the native app components.

In order to use a native app in Windows, we have to create Windows registry keys that tell Mozilla/Firefox where the native app is located, the name of the native app, etc. We also have to copy files on the user's system to that location. Is there a standard installer for native apps that we should use? I currently have a batch file that creates a folder, copies files, and registers the Windows registry keys. Instructions for submitting the add-on indicate that we should zip certain standard files, but there does not appear to be dedicated discussion about packaging the native app components.
Læs dette svar i sammenhæng

Valgt løsning

This forum focuses on end user support. The Add-ons team has a forum for add-on developers over here:

https://discourse.mozilla.org/c/add-ons/development

Alle svar (3)

You should contact Microsoft since Windows product is their domain. FF is a Browser not something like a O/S like Windows.

Until somebody else comes up with a proper answer for you, you might find this interesting reading material :

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests

and also :

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

Valgt løsning

This forum focuses on end user support. The Add-ons team has a forum for add-on developers over here:

https://discourse.mozilla.org/c/add-ons/development