Have you taken a look at System stand-alone Optional Component Manager?
Windows XP and Windows Server 2000 / 2003 have a built-in utility called the System stand-alone Optional Component Manager (sysocmgr.exe) to programmatically add or remove Windows components.
Please read these for more info
http://thesystemadministrator.com/The_System_Administrator/Tips_&_Tricks/Install_Windows_Components_from_Command_Line/http://www.myitforum.com/articles/5/view.asp?id=8792