Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Error with creating a custom Firefox installer with 7zip

  • 7 תגובות
  • 2 have this problem
  • 2 views
  • תגובה אחרונה מאת cor-el

more options

Hi,

I've attempted to create a Firefox installer for Windows, as per the instructions on following page:

http://mike.kaply.com/2012/02/14/customizing-the-firefox-installer-on-windows-2012/

I followed the instructions under "How do I unpack the Firefox installer?", "How do I bundle my add-on with the Firefox installer?", and "How do I repackage the installer?", in that order, including the steps to integrate add-ons into Firefox ( http://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/ ).

However, when I open the final .exe, 7zip automatically attempts to extract contents, and I receive the following response from 7zip: "The system cannot find the file specified". I'm not sure if is purely because I didn't install MozillaBuild, as all steps up to running the final .exe seem to work. Or maybe I did something wrong, as my changes to the preferences file don't seem to take effect. Or perhaps the solution is outdated?

I will be happy to furnish any relevant details, such as Windows OS, 7zip version, current Firefox browser version, etc.

Hi, I've attempted to create a Firefox installer for Windows, as per the instructions on following page: http://mike.kaply.com/2012/02/14/customizing-the-firefox-installer-on-windows-2012/ I followed the instructions under "How do I unpack the Firefox installer?", "How do I bundle my add-on with the Firefox installer?", and "How do I repackage the installer?", in that order, including the steps to integrate add-ons into Firefox ( http://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/ ). However, when I open the final .exe, 7zip automatically attempts to extract contents, and I receive the following response from 7zip: "The system cannot find the file specified". I'm not sure if is purely because I didn't install MozillaBuild, as all steps up to running the final .exe seem to work. Or maybe I did something wrong, as my changes to the preferences file don't seem to take effect. Or perhaps the solution is outdated? I will be happy to furnish any relevant details, such as Windows OS, 7zip version, current Firefox browser version, etc.

פתרון נבחר

Thanks for all of your assistance! I actually ended up solving my own problem after a few attempts. Here's the solution:

When http://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/ says that you "create a directory with the same ID as your add-on...", it is referring to the ID in your install.rdf file. You need to go to the install.rdf, look for the ID field, then rename your XPI/directory to that ID.

There are two ID fields in your install.rdf. You want the first one - the one that CCK2 prompts you to write like an e-mail address (e.g. "somename@somedomain" ). The second one - I believe - is some constant, since it is the same ID as the one for Mozilla's own Hello World XPI.

Read this answer in context 👍 0

כל התגובות (7)

more options
more options

I'll look into this within the next couple of days; thanks! I was aware of the second link (used CCK2 to make a plugin) but wasn't aware of the first.

Are there more recent "major changes" blog posts by Mike Kaply in his blog? I'm wondering because Firefox is now at version 31.

השתנתה ב־ על־ידי fireferret817

more options
more options

פתרון נבחר

Thanks for all of your assistance! I actually ended up solving my own problem after a few attempts. Here's the solution:

When http://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/ says that you "create a directory with the same ID as your add-on...", it is referring to the ID in your install.rdf file. You need to go to the install.rdf, look for the ID field, then rename your XPI/directory to that ID.

There are two ID fields in your install.rdf. You want the first one - the one that CCK2 prompts you to write like an e-mail address (e.g. "somename@somedomain" ). The second one - I believe - is some constant, since it is the same ID as the one for Mozilla's own Hello World XPI.

more options

If you mean this ID {ec8030f7-c20a-464f-9b0e-13a3a9e97384} then that is the ID of Firefox and appears under the targetApplication section with the supported Firefox versions.

more options

Yes, that's the second ID I was referring to - the one I said to NOT copy-paste.

That makes sense. Thanks for clarifying that point!