搜尋 Mozilla 技術支援網站

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

了解更多

can i convert the .xpi installation file to . exe?

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I need to create my installation file with the following properties:

# exe installer

       #The installer shows a license agreement that you can provide
       #The installer closes the open browsers after confirming with the user
I need to create my installation file with the following properties: # exe installer #The installer shows a license agreement that you can provide #The installer closes the open browsers after confirming with the user

所有回覆 (1)

more options

There is usually no need to create an .exe file to install an extension.
If you would drop the file in the extensions folder where Firefox would find it or add it via the registry then you will still get the regular request asking to install the extension on a next Firefox start.
So you can give the user a dialog asking to accept the license and if the user confirms then copy the .xpi file to a location where Firefox will find it on a next start.
You need to rename the .xpi to the ID of the extension (GUID or email).