how to config ks.cfg for install another progra.

i create ks.cfg for automatic install for centos 5.2 it's work perfectky for cutom install linux package.

and i want to install another program with shell scripts (assume test.tar include in DVD linux custom package)** single dvd include linux os and test.tar

sample

#!/bin/bash
/bin/mkdir -p /etc/install
/bin/cp test.tar /etc/install (copy test.tar from dvd linux to /etc/install)
/bin/tar -xvf /etc/install/test.tar

how to run shell script it on ks.cfg

See http://www.spy-hill.com/~myers/linux/kickstart/ks.cfg for an example of this. There is a section called "%post" where you can add scripts. I think there is also a section called "%pre" but that's not in this example.