[G2 and Desire Z Android Development] tsubus:
I thought that the configuration file was easy to understand. Let me try to shed some light, as most of you have it completely wrong.

This is the sample ILWT.txt that you can find in the addons section:

###############################################################################
# configuration file for ilwt cm7
#
# info:
# deleting or commenting a line will result in default settings being used.
#
# default settings:
# kernel: ilwt cm7
# google apps: installed
# launcher: adw
# messaging app: stock
# calendar: stock
# email: stock
# music: stock
# wifi calling: removed
# spare parts: removed
# file manager: stock
# build.prop: unpatched
# oc daemon controller: not installed
# market: install from gapps
# modded gmail app: not installed
# new talk app: not installed
# titanium backup: not installed
# custom apps: not installed
#
# on the first run, ilwt.txt will be created with default values.
# all possible values will be included, but commented.
#
# in order to install custom apps, you have to place the .apk files
# in a folder named ILWT in the root of your sd card.
#
# for more info see: http://xdaforums.com/showthread.php?t=1242480
#############################################################################

#kernel=pershoot
#kernel=tiamat
#kernel=cm7

#gapps=none

#launcher=golauncherex
#launcher=none

#messaging=gosms
#messaging=none

#calendar=jorte
#calendar=none

#email=none
#email=k9

#music=google
#music=none

#wificalling=yes

#spareparts=yes

#filemanager=none

#build.prop=patch

#ocdaemoncontroller=yes

#keepmarket=yes

#modgmail=yes

#newtalk=yes

#titaniumbackup=yes

#customapps=yes

Any line with a leading # is considered a comment, which means that the sample ILWT.txt is completely commented. A commented line is completely disregarded by the installer, you can delete it and it's the same thing. When a parameter is not specified (or is commented), the installer will use default values, which are described at the beginning of the file. If you'd like to change any of those features, all you have to do is remove the # from the front of the line. That's it. So for example, this ILWT.txt file:

###############################################################################
# configuration file for ilwt cm7
#
# info:
# deleting or commenting a line will result in default settings being used.
#
# default settings:
# kernel: ilwt cm7
# google apps: installed
# launcher: adw
# messaging app: stock
# calendar: stock
# email: stock
# music: stock
# wifi calling: removed
# spare parts: removed
# file manager: stock
# build.prop: unpatched
# oc daemon controller: not installed
# market: install from gapps
# modded gmail app: not installed
# new talk app: not installed
# titanium backup: not installed
# custom apps: not installed
#
# on the first run, ilwt.txt will be created with default values.
# all possible values will be included, but commented.
#
# in order to install custom apps, you have to place the .apk files
# in a folder named ILWT in the root of your sd card.
#
# for more info see: http://xdaforums.com/showthread.php?t=1242480
#############################################################################

#kernel=pershoot
#kernel=tiamat
#kernel=cm7

gapps=none

launcher=golauncherex
#launcher=none

messaging=gosms
#messaging=none

#calendar=jorte
calendar=none

email=none
#email=k9

#music=google
music=none

#wificalling=yes

spareparts=yes

#filemanager=none

build.prop=patch

ocdaemoncontroller=yes

#keepmarket=yes

#modgmail=yes

#newtalk=yes

#titaniumbackup=yes

customapps=yes

, does the following:

kernel (all 3 lines commented) -> default (uses ilwt cm7)

gapps -> none (not installed)

launcher -> golauncherex (installs golauncher ex and removes adw)

messaging -> gosms (installs gosms and removes default messaging app)

calendar -> none (removes calendar app)

email -> none (removes email app)

music -> none (removes music app)

wificalling -> default (removes wifi calling)

spareparts -> yes (keeps spare parts installed)

filemanager -> default (keeps default file manager)

build.prop -> patch (patch build.prop)

ocdaemoncontroller -> yes (installs oc daemon controller)

keepmarket -> default (doesn't take a backup of the market app)

modgmail -> default (does not install the modded gmail app)

newtalk -> default (does not install the new talk app)

titaniumbackup -> default (does not install titanium backup)

customapps -> yes (installs custom apps from ILWT folder)

Keep in consideration that a commented line or a removed line mean the same thing, so this ILWT.txt:

gapps=none

launcher=golauncherex

messaging=gosms

calendar=none

email=none

music=none

spareparts=yes

build.prop=patch

ocdaemoncontroller=yes

customapps=yes

does the same exact thing as the previous one.

In the sample ILWT.txt that I link in the Addons section I always leave everything commented (so default values), but I show all the possible values that the installer will read. Anything else does not work, you cannot make up your own lines, they will just be disregarded by the installer.

I hope this clarifies it a little bit, otherwise just ask.