Install and run your XULRunner application

Instructions to create an application XUL Runner can run under Windows.
  1. download the XULRunner runtime for Windows.
  2. get a sample application, there is one inside the XULRunner archive or along with the Scriptol compiler.
    myapplication
    |___ chrome
              |___ content
                       |___ myapplication
              |___ locale
                       |___ en-US
                                |___ myapplication
              |___ defaults
                       |___ preferences

  3. put your XUL and RDF files into myapplication\chrome\content\myapplication\
  4. edit the four following configuration files:
      • pref("toolkit.defaultChromeURI", "chrome://myapplication/content/myapplication.xul");
        Be aware that "myapplication" before "content" is not a folder. You may have a directory for your application in content if there are several applications:
        "chrome://myapplication/content/myapplication/myapplication.xul"
      • content myapplication content/myapplication/
      • locale myapplication en-US locale/en-US/myapplication/
  5. launch your XUL program at command line or from within a Windows's icon:

(c) 2005 - Xul.fr     Printing and copy are free. Put a link on this page.