Subj : Re: A plea to the Open Sourcerors To : netscape.public.mozilla.jseng From : Martin Honnen Date : Fri Jan 23 2004 04:00 pm Andrew Mayo wrote: > Martin Honnen wrote in message news:... > >>Download a Mozilla build as a .zip (or the compression format for your >>platform), it comes with some executable called >> xpcshell.exe >>the XPCOM shell, then check >> http://www.xulplanet.com/references/xpcomref/creatingcomps.html >>on how to create XPCOM components with JavaScript and check the >>reference docs at >> http://www.xulplanet.com/references/xpcomref/ >> > > [snip] > > Thanks, that's good advice. But doesn't this require me to have the > entire Mozilla infrastructure on each target machine?. The advantage > of Seamonkey standalone was the very small runtime. > > I want to be able to distribute scripts and the associated runtime > over very low bandwidth dialup links to a bunch of machines, some of > which are quite old and run Win95. Originally we tried installing > Internet Explorer 6 on these machines but this caused *big* problems > so we are now looking at a lightweight Javascript engine we can use > instead. If Windows is your only target then the MS scripting engine for JScript together with Windows Script Host can be installed without bothering about IE. Check http://msdn.microsoft.com/scripting for that and ask further questions about that in one of the MS scripting groups. > Can I use this approach and slim down Mozilla considerably? (I could > live with, say, a 3 meg runtime environment but the full Mozilla is a > bit much, I think. I don't know details about that, have a look at http://www.mozilla.org/projects/embedding/GRE.html it talks about the core xpcom libraries nspr library etc so it sounds like you should be able to find a set of libraries and components. -- Martin Honnen http://JavaScript.FAQTs.com/ .