We have to create a package for installing 3 add-ons of firefox. We got 3 xpi files for it. What will be the best way to package them?
As after installation it installs file in below location. o1s06aij.default is a random name, on every machine it may be different.
%userprofile%\Application Data\Mozilla\Firefox\Profiles\o1s06aij.default
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Perhaps there's an Automation interface you could use in script?
Answered 09/16/2009 by: VBScab
Red Belt

Please log in to comment
0
abking99,

The second item on the below page shows details of how to achieve what you are trying to do and how to install for all users:

Firefox Plugins

The commands could be used as custom actions in a package, or snap shot the installation using the commands.
Or it seems by placing the files in the correct folder the addon will install automatically.

Seek and ye shall find,

Dunnpy
Answered 09/16/2009 by: dunnpy
Red Belt

Please log in to comment
0
Hi,
if you are going to build a package anyway, the easiest way would be to install them globally:
firefox -install-global-extension <Path>\xy.xpi
After that, you can capture the resulting directory (often in the form of GUID) in the firefox\extensions folder to your package.
That's all. Actually, it does not need any installation.
Regards, Nick
Answered 09/16/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
using this command add-on gets installed, but it shows incompatible.
Answered 09/17/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
Hi abking,
that means, that the version info in the extension is not allowing it to be used in your version of Firefox.
BTW: What extension are talking about here?
Maybe it's easy to correct this behavior.
Regards, Nick
Answered 09/17/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
No, it is not like that. If it does not install properly, then it shows like that: I will like to explain the same.
We can install these add-ons with different ways. When we drag xpi file in firefox, it 1st checks compatibillity and updates the extensions.rdf, and extensions.cache files, and installs perfectly. If we use "-install-global-extension" command then it does not check compatibillty. It directly installs. So it shows incompatible, and it does not work. If we want to make it work then we have to put one boolean value in about:config, then it works, but it will always show incompatible.

So finally i choose below logic: I wrote a vbs file and gave a call to it, through active setup.
1) I copied xpi files in %userprofile%\Application Data\Mozilla\Firefox\Profiles\o1s06aij.default\extensions folder.
2) Then I launched firefox, it detected xpi files and gave me prompt to click on install
3) I send key-stroke to enter through vbscript
And add-ons got installed.
Answered 09/18/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
Hi abking,
i'm still curious, which extension you are talking about here!

I' don't know, what you are doing, but i build a firefox MSI package since version 1.5.x for thousands of clients, with more than a dozen extensions in it, which do things like 4 languages, automatic language switch, extra spell checking, group policy extension, picture tools a.s.o.
And half of them do not have the right version info for 3.5.x branch of firefox.

To your "solution": What are you going to do on the second computer? The path to the profile has a random generated directory in it, which changes on each user! There is a solution for that too, but maybe it would be better to invest more time into a real solution, than into the third workaround from the workaround....
Just speaking form experience...
Regards, Nick
Answered 09/18/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
1)I got 3 xpi -addon files in source. You just have to keep those xpi files, at "%userprofile%\Application Data\Mozilla\Firefox\Profiles\o1s06aij.default\extension" location. So after launching firefox it detects those files and install it.
2) The script which I have created, it checks random name and stores it, in a variable. So Random name issue I have resolved it already
3) As I told you, I have used active setup: Which will trigger for each user ones.
Answered 09/18/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
ok, it works for you.

YOU came with this interesting question to the board and asked for help.
If it had been a just a small issue, i would never have insisted on working this out in this detail.
But this is an issue, which is quite often asked in various boards throughout the net.
Therefore, i would like to show you, how one can install extensions globally and how to solve the problems, which may arise.

So, please tell us the names of those 3 extensions, you are installing.

And further: There are quite a few possibilities to this (at least on Windows). See:
https://developer.mozilla.org/en/Adding_Extensions_using_the_Windows_Registry
https://developer.mozilla.org/en/Installing_extensions

And it is changing: See: https://developer.mozilla.org/en/Command_Line_Options#Add-ons

Regards, Nick
Answered 09/18/2009 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity