Lukas Ramach wrote:
> 
> I have got a problem with my xpcom/xul application.
> onstartup i ask the user which language he/she wants to use this works 
> perfectly well but i also want to ask him which components he wants to 
> use and install these components into his profile on the following 
> startup sequence.

So you're already installed as a chrome app, or are you trying to ask these
questions from an install script?

> The security questioning of the xpinstall process asks the 
> user to install the software. But i don't want to bother the user with 
> this question since i know on that point that the software is ok.

The point is that the *user* doesn't know the software is OK. We do NOT want
to allow silent installs of remote content. However convenient that might be
for content authors it undercuts the Firefox/Mozilla security story.

You do say these files are already local though so there may be some help
for you. I suspect there's a better way to do this for you during your
initial install, but if you have part of your app installed as chrome then
you can call nsSofwareUpdate::InstallJar(). This is a component, but not a
scriptable one -- you'll have to call it from C++, and only works for local
files.

-Dan Veditz
_______________________________________________
Mozilla-xpinstall mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to