Still no luck. The first thing I tried was removing chrome.rdf and then restarting Mozilla, as you suggested. Didn't work.
I did try XPI Maker, which looks groovy, and almost worked. ;-) It built the package directory, and an install HTML and JS. I built the XPI file by hand (following the instructions on the XULPlanet website), but attempting an install from the generated "leftychord.html" file resulted in "Install Script Not Found" in the intallation status dialog. Hmmmm. mark kaplun wrote: > You should check the chrome.rdf file located at the chrome directory. In > this file there should be a resource definition like > <RDF:Description about="urn:mozilla:package:xpimaker" > c:baseURL="jar:resource:/chrome/xpimaker.jar!/content/" c:locType="install" > c:name="xpimaker" c:displayName="XPI Maker" c:description="A utility for > making Mozilla chrome installers" c:author="Neil Deakin" > c:image="jar:resource:/chrome/xpimaker.jar!/content/" /> > > where xpimaker is replaced by your package name, and baseURL points to the > directory where it is installed. > > If you hadn't found any mention to your package at that file, try to delete > it and run mozilla again. To the best of my knowledge, just adding the lines > to installed-chrome.txt is not enough when you use an "official" build and > you have to do the full XPI process in order to have something installed. > > If nothing helps, try to use XPImaker > http://www.xulplanet.com/tutorials/xultu/xpimaker/. to create the MF and > XPI. > > Mark. > > "Chuck Musser" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>Hi, >> >>I'm having trouble hand installing a simple XUL application. The app >>works when I access it via a "file:/" URL, but I'd like to access it via >>a chrome URL, i.e "chrome:/leftychord/content/", However, I keep getting >>this message when trying to access it: >> >>"The file /usr/local/mozilla/chrome/packages/core/content cannot be > > found." > >>I've also tried variations on this, like appending the name of the xul >>file, but I get the same message. The way I'm trying to install the >>package is: >> >>1.) Create a /usr/local/mozilla/chrome/leftychord directory with >>"content" and "skin" subdirectories. XUL file is in content; graphics >>and CSS are in skin. >>2.) Create contents.rdf files for both content and skin directories >>3.) editing $MOZILLA/installed-chrome.txt to have "content" and "skin" >>install lines for these packages. >>4.) restarting Mozilla. >> >>I also tried creating a JAR file in the chrome directory and altering >>the installed-chrome.txt accordingly. I've gone over the manifest files >>carefully and believe them to be correct. I've not tried the full >>XPInstall method. >> >>So: >> >>What's gone wrong? >> >>Where is it getting "packages/core/content" from? >> >>Is there a debugging technique, or way to observe Mozilla processing the >>installed-chrome.txt file? I want to see where I've confused it. >> >>Thanks >> >> >> >> > > >
