MozillaZine

Automatic installation of extension

Talk about add-ons and extension development.
ArmEagle
 
Posts: 6
Joined: January 10th, 2003, 4:47 am
Location: Netherlands

Post Posted January 10th, 2003, 4:54 am

Hello,
I use Phoenix on a public (Linux) computer.
I start Phoenix with a script that downloads and installs it, together with Flash. Then I copy some other small plugins and I'm ready.

But I also want Mouse Gestures to be installed automatically. As with every extension you can install it by 'opening' it with mozilla.
But is there another way which I can use in my bash script to install it?

I know most extension files (.xpi) are actually tarballs, so I can unpack all files to the target directory.
But there's also some sort of install file where some registration takes place.

Where is this stored? In my profile directory or in the program directory (I install Phoenix in /tmp).
If it is the first, then I can install Mouse Gestures (or any other extension) once and thereafter simply unpack the .xpi file.

Or does somebody have another method?

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted January 10th, 2003, 6:01 am

It's not a tarball, it's a zip. There should be an install.js in it.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files

ArmEagle
 
Posts: 6
Joined: January 10th, 2003, 4:47 am
Location: Netherlands

Post Posted January 10th, 2003, 8:52 am

I did search and sorry, yes it's a zip. My fault.
And yes, there's a install.js in it. But it won't work, without the right program to run it.
And I want to be able to do those steps without Mozilla.

But I thought there were some extra steps needed in addition to simply copying the files.
Or am I wrong?
That's what I would like to know.

flii

User avatar
 
Posts: 2208
Joined: November 6th, 2002, 11:29 pm
Location: hickville, south dakota

Post Posted January 10th, 2003, 9:30 am


ArmEagle
 
Posts: 6
Joined: January 10th, 2003, 4:47 am
Location: Netherlands

Post Posted January 10th, 2003, 9:34 am

Ok, thanks.
But now I need to figure out how to adjust that .txt file.
Well I'll see next week, I have to go now.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 0 guests