為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

more options

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.

被選擇的解決方法

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

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

more options

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

more options

選擇的解決方法

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