Updated the installer to ensure it works with both eap 6.1 and jboss 7.