its called slipstreaming
you patch service packs together with your OS of choice.
If the data is more than 700 mb, then all you would do is create a bootable DVD rather than CD.
Problem I've run into though with this is if for example you're currently use Windows XP with SP1 ... the key doesnt work with the slipstreamed XP with SP2.