Re: Text based install

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
[email protected] wrote:
> Does XPInstall have a text based (no UI) installation mode? We are 
> looking at XPInstall to install our products but cannot assume that
> our users would have a Xserver running at the time of installation.

Depends on what you mean by XPInstall. The native stub installs have a
"silent" mode. If you really mean a pure XPInstall then we're only a couple
steps away from something like
  xpinstall -d <dest> foo.xpi bar.xpi

But someone would have to write that xpinstall executable. the xpistub
library used by the native installers would probably be a good base. The
logic would look something like

   XPI_Init( dest... );
   while (xpi files)
      XPI_Install(file);
   XPI_Exit();

-Dan Veditz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.