OOo4Kids Portable Launcher
============================

Copyright (C) 2009 Eric Bachard

Website: http://wiki.ooo4kids.org

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


ABOUT OOo4Kids PORTABLE
=============================
The OOo4Kids Portable Launcher allows you to run OOo4Kids from a removable drive whose letter changes as you move it to another computer.  The program can be entirely self-contained on the drive and then used on any Windows computer.


LICENSE
=======
This code is released under the GPL.  The full code is included with this package as OOo4KidsPortable.nsi.


INSTALLATION / DIRECTORY STRUCTURE
==================================
By default, the program expects one of these directory structures:

-\ <--- Directory with OOo4KidsPortable.exe
	+\App\
		+\OOo4Kids\
		+\java\
	+\Data\
		+\settings\

OR

-\ <--- Directory with OOo4KidsPortable.exe
	+\PortableApps\
		+\OOo4KidsPortable\
			+\App\
				+\OOo4Kids\
			+\Data\
				+\settings\
		+\CommonFiles\
			+\Java\


It can be used in other directory configurations by including the 
OOo4KidsPortable.ini file in the same directory as 
OOo4KidsPortable.exe and configuring it as details in the INI file
section below.


OOo4KidsPORTABLE.INI CONFIGURATION
====================================
The OOo4Kids Portable Launcher will look for an ini file called OOo4KidsPortable.ini within its directory (see the above section for more details on placement).  If you are happy with the default options, it is not necessary, though.  The INI file is formatted as follows:

[OOo4KidsPortable]
OOo4KidsDirectory=App\OOo4Kids
SettingsDirectory=Data\settings
OOo4KidsExecutable=soffice.exe
AdditionalParameters=
WaitForOOo4Kids=false
RunDataLocally=false
DisableSplashScreen=false


The OOo4KidsDirectory and SettingsDirectory entries should be set to 
the *relative* path to the directories containing OOo4Kids, etc. from
the current directory.  All must be a subdirectory 
(or multiple subdirectories) of the directory containing OOo4KidsPortable.exe.
 The default entries for these are described in the installation section above.

The OOo4KidsExecutable entry allows you to set the OOo4Kids Portable Launcher
to use an alternate EXE call to launch OOo4Kids. 
This is helpful if you are using a machine that is set to deny soffice.exe
from running.  You'll need to rename the soffice.exe file and then enter 
the name you gave it on the OOo4KidsExecutable= line of the INI.

The AdditionalParameters entry allows you to pass additional commandline 
parameter entries to soffice.exe.  
Whatever you enter here will be appended to the call to soffce.exe.

The WaitForOOo4Kids entry allows you to set the OOo4Kids Portable Launcher
to wait for OOo4Kids to close before it closes.  This option is mainly of use 
when OOo4KidsPortable.exe is called by another program that awaits it's
conclusion to perform a task.

The RunDataLocally entry allows you to set OOo4Kids Portable to be able to run
from a CDROM or other read-only medium.  It should be set to true and run
at least once from a writeable medium to allow the launcher to properly
configure OOo4Kids to run read-only.  It can then be burned to a CD.

The DisableSplashScreen entry allows you to disable the launcher's built
in splash screen.



PROGRAM HISTORY / ABOUT THE AUTHORS
===================================
This launcher is loosely based on the Firefox Portable launcher which contains
ideas from tracon and mai9 from the mozillaZine.org forums.