When used in command-line mode with a generated install.xml file, the JBoss installer (jboss-4.0.4.GA-Patch1-installer.jar) installs the wrong components due to messed up indexes in the section of the file.
For example <war-deployer> component has a "pack index" of 52 in the IZPACK distribution but gets another index in the XML file generated from the last panel of the GUI Setup (the index seems to be related to the position in the predefined group). Let's say it gets index 10 !
When you try to install from the command line with that generated file, the installer actually deploys the component with the absolute pack index 10, which is <client-deployer-service>
So you end up with a totally random configuration based on the initial preconfigured group you chose in the GUI Installer
I might be wrong but it looks like a huge bug to me !