MozillaZine

Preinstall an extension

Talk about add-ons and extension development.
Kirys
 
Posts: 16
Joined: February 27th, 2003, 12:32 am

Post Posted March 9th, 2003, 2:54 am

I what i should do to preinstall an extension into phoneix without user interactivity and without lauching phoneix?.
I have an Made By Me installer that i distribute to my friends.
I would like to give the option to install other themes/extension at install time, so they'll have the possibility to install the readial extension without download it ecc...
How can I do this?
Thank You
Kirys
Dev dev dev ;)

scragz

User avatar
 
Posts: 2914
Joined: February 8th, 2003, 2:38 am
Location: San Diego, US

Post Posted March 9th, 2003, 3:47 am

I'll give it a shot.

First install the extension into Px so you can see everything that the install changed. Close Px. Go into the program dir and to the 'chrome' dir. Open 'chrome.rdf', 'chromelist.txt', and 'installed-chrome.txt' and copy everything that has to do with that extension into the same files in your template dist that you will make the install out of. While you're here, copy the .jar file of the extension into the 'chrome' dir of your template. The only other place I can think that would have anything is 'defaults/pref'. Check in there and if there is a default preferences file for the extension copy it to the same place in your template.

I think that should work. I am by no means an expert on this stuff, so if it doesn't work, post back and I'm sure some one can correct any mistakes I made.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests