This is the orignal CD Kit that resided at the now defunct: http://www.theopencd.net/~baavgai/kit/index.html. An updated version is planned. Stay tuned.
TheOpenCD is planing to make it's next CD Browser K-Meleon based. This currently involves some custom settings and custom programs. This is my attempt to document all the pieces required to make this work.
The browser's default/profile directory is where much custom setup is done.
It should be noted that a created profile stores absolute paths in the configuration. This is useless for a distribution whose paths are dynamic. The solution is to create an empty profile directory and point the browser at it at startup. At that point, the default profile will be used.
These files are all modified and they are the only ones included in the default profile: accel.cfg, macros.cfg, menus.cfg, mimeTypes.rdf, Prefs.js. Most of these files are stripped down, except for mimeTypes.rdf which is modified for custom program launch.
This library resides in the components directory of the browser. It allows programs associated in mimeTypes.rdf to exist in relative paths. This is vital for a CD distribution to work.
Christian Biesinger (a.k.a. biesi) kindly provided this modified version.
This program executes commands stored in standard .INI files.
In mimeTypes.rdf, Launch.exe is associated with .lch files. This allows the browser to execute local files.
This file must reside in the browser root.
The ini files for this program use the following format.
[Launch]
ExecuteFile=${cwd}\..\..\programs\install\setup_abiword.exe ; The fully qualified program to run
ExecuteParameters= ; Extra command line information, if there is any.
ExecuteDirectory= ; executing program home, no need to set unless different than program itself.
ShowCommand=0 ; for diagnostics only, displays internal variables
The is the startup program for the CD root. It uses the start.ini file an also creates a default profile in the user's temporary folder.
[Start]
BrowserFile=${cwd}\bin\K-Meleon\k-meleon.exe ; The browser program
PageFile=${cwd}\programs\${langalias}\menu.xml ; the startup page
PageFileDefault=${cwd}\programs\fr\menu.xml ; the startup page if requested page not found
ShowCommand=0 ; for diagnostics only, displays internal variables
Both these programs allow some system values to be replaced in text at runtime. This is a list of those values:
Contains, Launch.exe and Start.exe with source, default K-Meleon profiles, and docshell.dll.