On 1/20/07, Oliveiros Cristina <[EMAIL PROTECTED]> wrote:
Hello, Nickolay, thank you for your mail.
I use XPI to install extensions. But the XPCOM component I install the way I
know which is copy to components and touch .autoreg.
You say it is possible to incorporate it(the XPCOM .dll) in a XPI and
install both at once? I didn't know it . Can u please indicate me a link
where the procedure is described? Or explain here if it is not too long.

Yeah, just put the .dll for the components and .xpt for the typelib
into your.xpi/components/ subfolder.


About the different users, I am sorry, I explained wrongly.
The user who installed firefox was not present, and I needed to install the
component for him. Then I used another user (which has administrator privs),
but is not the one who installed firefox. And I noticed that strange
behavior that I think (I might be wrong) that is due to different users. For
example, in my own pc, everything works fine, because I use the same user
(myself). I don't know if I answered your questions.

Not sure if you can install into user's profile folder then... You can
still drop the XPI into <app folder>/extensions and it will be
installed for all users.

Nickolay


Thanks in advance for your help

Cheers,
Oliveiros

2007/1/20, Nickolay Ponomarev <[EMAIL PROTECTED]>:
> On 1/20/07, Oliveiros Cristina <[EMAIL PROTECTED] > wrote:
> > Hello, all.
> >
> > I have the following odd problem (platform is Windows, Firefox version
is
> > the latest 2.0).
> > To install a component XPCOM the procedure I use is copy the .dll to
> > "components" subfolder then touch the .autoreg file.
>
> Why don't you install an XPI with the components in the user's profile
> folder instead?
>
> If you have to install the components for all users, then please be
> more clear as to which user has what privs. Are you saying that the
> user who installed Firefox, but the user installing components is an
> administrator? Why is it so?
>
> Nickolay
>
> > It works fine when I am installing the component with the same user that
> > installed firefox.
> > But when I try this procedure with a different user than the one that
> > installed Firefox, the Firefox simply ignores the new component.
> > I verified that the registration method is not even called.
> > Does this mean that only the user who installed firefox can do this
> > operation?
> > I need to use a different user because the former is not administrator.
> >
> > Can anyone suggest me a workaround (if there is one) to this problem? Or
> > indeed, the user that installs xpcom components must be the same that
> > installed firefox?
> >
> > Thanks in advance for your help
> >
> > --
> > Cumprimentos/Best Regards,
> >
> > O.Cristina
> > _______________
> > System SW Engineer/Engenheiro de SW de Sistemas
> > MarkTest, Lda
> > Departamento de Desenvolvimento de SW
> > Rua do Conde de Redondo, Nº 46, 5º andar
> > Tel:  +351 210 408 800
> > Fax: +351 213 535 338
> > http://www.marktest.com
> > _______________________________________________
> > dev-tech-xpcom mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-tech-xpcom
> >
>


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to