Use KiXtart To Launch Installers
I got the idea and the code for this from Mike Petersen's PCC Services site. I would suggest going to the site and downloading the scripts / installers to look at them.
In my case, I was making a CD to give to someone who had just bought a computer, so the over-the-network capabilities were unnecessary overkill and I removed them. I took the scripts for Firefox and for 7-Zip, merely calling them from a batch file. For OpenOffice.org, I downloaded the current version (the one with the JRE) from the OOo site and called it directly from the batch file. I did not bother trying to set any associations. With minimal alterations, everything was ready to burn to CD. (Note: It might be easier to use his OOo installation script.)
One of the good things about Mike Petersen's scripts is that they also take care of setting registry entries. One script I had written (VBScript) installed 7-Zip, but did not set any file type associations. His scripts do all that and more. I encourage you to take a look at them.
KiXtart is a Windows-only scripting language.



Mike has updated his installers to use Kixforms. The URLs have changed: http://www.pcc-services.com/kixtart/
lnxwalt
Sunday, 2009-March-22
[...] This was originally based on something I found on PCC Services. The original versions have been replaced with Kixforms gui versions. I typically make an autostart CD instead of working across a network. (This works when you're dealing with a home or small business that does not have dozens of computers. I would not attempt this in a corporate network.) I wrote about an earlier version here. [...]
KiX: Preparing a specialized OpenOffice Installation CD With KiXtart « LAMPJR: LAMP + Java + Ruby, REXX, REBOL, etc
Sunday, 2009-March-22