How to deploy a plugin as an extension?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to deploy a plugin as an extension?

Thiago Adams
Hi,
I was using the install.js to install plugins. However the install.js
doesn't work at windows vista, so I want to move to a different
solution.
I have read these two links:

http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension
and
http://developer.mozilla.org/en/docs/Deploying_a_Plugin_as_an_Extension

After to create the xpi + rdf  + dll using the website template and
install it I can see my dll anywhere and I don't get any errors at
all.
What Am I missing? Where the dll should be installed?
_______________________________________________
dev-tech-xpinstall mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpinstall
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to deploy a plugin as an extension?

Benjamin Smedberg
Thiago Adams wrote:

> Hi,
> I was using the install.js to install plugins. However the install.js
> doesn't work at windows vista, so I want to move to a different
> solution.
> I have read these two links:
>
> http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension
> and
> http://developer.mozilla.org/en/docs/Deploying_a_Plugin_as_an_Extension
>
> After to create the xpi + rdf  + dll using the website template and
> install it I can see my dll anywhere and I don't get any errors at
> all.
> What Am I missing? Where the dll should be installed?

It is installed where extensions are installed, in your profile. On Windows,
it would be C:\Documents and Settings\Username\Application
Data\Mozilla\Firefox\Profiles\xxx.default\extensions\...

--BDS
_______________________________________________
dev-tech-xpinstall mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpinstall
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to deploy a plugin as an extension?

Thiago Adams
On Mar 7, 4:30 pm, Benjamin Smedberg <[hidden email]> wrote:

> Thiago Adams wrote:
> > Hi,
> > I was using the install.js to install plugins. However the install.js
> > doesn't work at windows vista, so I want to move to a different
> > solution.
> > I have read these two links:
>
> >http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension
> > and
> >http://developer.mozilla.org/en/docs/Deploying_a_Plugin_as_an_Extension
>
> > After to create the xpi + rdf  + dll using the website template and
> > install it I can see my dll anywhere and I don't get any errors at
> > all.
> > What Am I missing? Where the dll should be installed?
>
> It is installed where extensions are installed, in your profile. On Windows,
> it would be C:\Documents and Settings\Username\Application
> Data\Mozilla\Firefox\Profiles\xxx.default\extensions\...
>
> --BDS

Thanks for your reply.
Unfortunately still not worlking.

I am using this rdf: (from  http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension)

<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
  <Description about="urn:mozilla:install-manifest">
    <em:id>[hidden email]</em:id>
    <em:name>My Plugin</em:name>
    <em:version>1.0</em:version>
    <em:targetApplication>
      <Description>
        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
        <em:minVersion>1.5</em:minVersion>
        <em:maxVersion>3.0.*</em:maxVersion>
      </Description>
    </em:targetApplication>
  </Description>
</RDF>
I suppose I have to change <em:id>, <em:name>, <em:version> and
<em:id>.
But, If I change the <em:id> (lets say  {E2D383BF-7E18-4c8f-
B05D-6486D402BB52}) the firefox gives me the message:
"My Plugin 1.0 could not be installed because it is not compatible
with Firefox."
This message doens't make any sense for me.
_______________________________________________
dev-tech-xpinstall mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpinstall
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to deploy a plugin as an extension?

Benjamin Smedberg
Thiago Adams wrote:

> I am using this rdf: (from  http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension)
>
> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:em="http://www.mozilla.org/2004/em-rdf#">
>   <Description about="urn:mozilla:install-manifest">
>     <em:id>[hidden email]</em:id>
>     <em:name>My Plugin</em:name>
>     <em:version>1.0</em:version>
>     <em:targetApplication>
>       <Description>
>         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
>         <em:minVersion>1.5</em:minVersion>
>         <em:maxVersion>3.0.*</em:maxVersion>
>       </Description>
>     </em:targetApplication>
>   </Description>
> </RDF>

> I suppose I have to change <em:id>, <em:name>, <em:version> and
> <em:id>.

You have to change the first <em:id>, which is the ID of your extension.

You should *not* change the second <em:id>, which is the ID of Firefox.
_______________________________________________
dev-tech-xpinstall mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpinstall
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to deploy a plugin as an extension?

Thiago Adams
It's working now.
Thank you very much.


On Mar 11, 1:19 pm, Benjamin Smedberg <[hidden email]> wrote:

> Thiago Adams wrote:
> > I am using this rdf: (from  http://developer.mozilla.org/en/docs/Shipping_a_plugin_as_an_extension)
>
> > <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> > xmlns:em="http://www.mozilla.org/2004/em-rdf#">
> >   <Description about="urn:mozilla:install-manifest">
> >     <em:id>[hidden email]</em:id>
> >     <em:name>My Plugin</em:name>
> >     <em:version>1.0</em:version>
> >     <em:targetApplication>
> >       <Description>
> >         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
> >         <em:minVersion>1.5</em:minVersion>
> >         <em:maxVersion>3.0.*</em:maxVersion>
> >       </Description>
> >     </em:targetApplication>
> >   </Description>
> > </RDF>
> > I suppose I have to change <em:id>, <em:name>, <em:version> and
> > <em:id>.
>
> You have to change the first <em:id>, which is the ID of your extension.
>
> You should *not* change the second <em:id>, which is the ID of Firefox.- Hide quoted text -
>
> - Show quoted text -

_______________________________________________
dev-tech-xpinstall mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpinstall
Loading...