Look no further than Windows XP Embedded Service Pack 2 Feature Pack 2007 (or XPe FP2007 for those of us who have to talk about it a lot...)
Windows XP Embedded Service Pack 2 Feature Pack 2007 introduces a host of new components and macro components that enable desktop technologies on Windows XPe.
There are two types of components -- component and macro component. A component includes file and registry resources while a macro component does not; a macro component instead includes dependencies, which are pointers to dependent components Target Designer will automatically add to the configuration on a dependency check. Check out Cuong Pham's great Whitepaper on WindowsForDevices (http://www.windowsfordevices.com/articles/AT2922310570.html) for more details.