Yes there is. A good example are the current native mozilla installers. They use xpinstall as their engine to do the actual file install process. They do not depend on the mozilla browser to already be installed. The xpcom.xpi archive (that is part of the mozilla installer) contains the bare essentials required to run xpinstall. The current format of the standalone xpinstall is in a library form, not an .exe. However, that should be easy to do as well. The following link contains the source for a windows executable that uses the xpinstall engine to perform the file installation routines (copy, rename, move, delete, etc...): http://lxr.mozilla.org/seamonkey/source/xpinstall/wizard/windows/test/ This test app can only be run from within the .../bin folder because it requires xpinstall. You should be able to easily adapt it to work with the files in xpcom.xpi. hope this helps... [EMAIL PROTECTED] wrote: > I need to know if there is a way to run xpi's without the browser > running (like from the command line)? What we want is a method that we > can package them up, and when it's promptedm, it runs the xpi to take > over and properly install it. All of this would have to be done without > assuming there was ever a web browser currently running.
