title: Izpack Console installation
body: <p>I'm trying to get a Headless Installer working (install from command line for remote Linux)</p>
  
  <p>But everytime I run the command, I get this instantly</p>
  
  <pre><code>java -jar install.jar -console
  [ Console Installation done ] 
  </code></pre>
  
  <p>What do I have to do to get the installer to work with the -console command, I would rather get this to work than to resort to using an automatic installation XML file</p>
  
  <p>Here is my Izpack XML using  izpack 5.0.0</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?&gt;
  
  &lt;!-- 
      A sample installation file.
      Use it as a base for your own installers :-)
  
      To compile it :
      - go in the bin directory where you installed IzPack
      - call "compile ../sample/install.xml -b ../sample"
  --&gt;
  
  &lt;installation version="1.0"&gt;
  
      &lt;!-- 
          The info section.
          The meaning of the tags should be natural ...
      --&gt;
      &lt;info&gt;
          &lt;appname&gt;EMEProvisioningSDK&lt;/appname&gt;
          &lt;appversion&gt;${project.version}-Linux&lt;/appversion&gt;
        &lt;!--
          &lt;authors&gt;
              &lt;author name="Anthony Lafleur-Tighe" email="anthony.lafleur-tighe@ericsson.com"/&gt;
          &lt;/authors&gt;
          &lt;url&gt;http://prodcat.ericsson.se/frontend/category.action?code=FGB%20101%20652&amp;path=%5cNavigation%20Root%5cFGA%20101%2017%5cFGB%20101%20743%5cFGB%20101%20399&lt;/url&gt;
  Roll       --&gt;
      &lt;/info&gt;
  
      &lt;!-- 
          The gui preferences indication.
          Sets the installer window to 640x480. It will not be able to change the size.
      --&gt;
      &lt;guiprefs width="640" height="480" resizable="yes"/&gt;
  
      &lt;!-- 
          The locale section.
          Asks here to include the English and French langpacks.
      --&gt;
      &lt;locale&gt;
          &lt;langpack iso3="eng"/&gt;
      &lt;/locale&gt;
  
      &lt;!-- 
          The resources section.
          The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.
      --&gt;
      &lt;resources&gt;
          &lt;res id="LicencePanel.licence" src="Licence.txt"/&gt;
          &lt;res id="InfoPanel.info" src="Readme.txt"/&gt;
          &lt;res id="ProcessPanel.Spec.xml" src="installProvisioningPanelSpec_linux.xml" /&gt;
          &lt;res id="shortcutSpec.xml" src="shortcutSpec_linux.xml" /&gt;
      &lt;/resources&gt;
  
      &lt;!-- 
          The panels section.
          We indicate here which panels we want to use. The order will be respected.
      --&gt;
      &lt;panels&gt;
          &lt;panel classname="HelloPanel"/&gt;
          &lt;panel classname="InfoPanel"/&gt;
          &lt;panel classname="LicencePanel"/&gt;
          &lt;panel classname="TargetPanel"/&gt;
          &lt;panel classname="PacksPanel"/&gt;
          &lt;panel classname="InstallPanel"/&gt;
          &lt;panel classname="ProcessPanel" /&gt;
          &lt;panel classname="ShortcutPanel"/&gt;
          &lt;panel classname="FinishPanel"/&gt;
      &lt;/panels&gt;
  
      &lt;!-- 
          The packs section.
          We specify here our packs.
      --&gt;
      &lt;packs&gt;
          &lt;pack name="Base" required="yes"&gt;
              &lt;description&gt;The base files&lt;/description&gt;
              &lt;file src="Readme.txt" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="Licence.txt" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="unzip.exe" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="changePermissions.sh" targetdir="$INSTALL_PATH"/&gt;
          &lt;/pack&gt;
          &lt;pack name="MCDProxy" required="yes"&gt;
              &lt;description&gt;The MCDProxy&lt;/description&gt;
              &lt;file src="install_mcd.sh" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mcdproxy-component-eme-resource-assembly.zip" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="global-config.zip" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="MCDPROXY-CXC1736424-win32.zip" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="postgresql-jdbc-driver.jar" targetdir="$INSTALL_PATH"/&gt;
          &lt;/pack&gt;
          &lt;pack name="Tomcat" required="yes"&gt;
              &lt;description&gt;Tomcat 7, web container for Provisioning Agent&lt;/description&gt;
              &lt;file src="tomcat-7.0.20-noarch-full.zip" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="install_tomcat.sh" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="tomcat-users.xml" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="security-component.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="libsysutils-component.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="libsysutils.so" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="common-oam.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="common-debug.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="common-cache.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="common-mcd.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="common-crypto.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mcc_common.jar" targetdir="$INSTALL_PATH"/&gt;
          &lt;file src="common-xml.jar" targetdir="$INSTALL_PATH"/&gt;
      &lt;file src="mcc_mfs.jar" targetdir="$INSTALL_PATH"/&gt;
      &lt;file src="mcc_sm.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="security-component.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="authentication-api.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mcc_identityformatter.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mail.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="javax.mail-api.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mio-valve.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mio-filters.jar" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="mio_startup.sh" targetdir="$INSTALL_PATH"/&gt;
          &lt;/pack&gt;
          &lt;pack name="Provisioning Agent" required="yes"&gt;
              &lt;description&gt;The Provisioning Agent&lt;/description&gt;
              &lt;file src="install_pa.sh" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="provisioningagent-web.war" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="provisioningagent-eme-config-assembly.zip" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="samples.zip" targetdir="$INSTALL_PATH"/&gt;
  
          &lt;/pack&gt;
          &lt;pack name="PostgreSQL" required="yes"&gt;
              &lt;description&gt;PostgreSQL Relational DB&lt;/description&gt;
              &lt;file src="postgresql-9.1.2-150.1.x86_64.rpm" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="postgresql-libs-9.1.2-66.1.x86_64.rpm" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="postgresql-server-9.1.2-150.1.x86_64.rpm" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="pg_hba.conf" targetdir="$INSTALL_PATH"/&gt;
              &lt;file src="install_postgresql.sh" targetdir="$INSTALL_PATH"/&gt;
              &lt;executable targetfile="$INSTALL_PATH/changePermissions.sh" type="bin" stage="postinstall" keep="true" failure="warn" os="linux"&gt;
               &lt;args&gt;
                 &lt;arg value="$INSTALL_PATH"/&gt; 
                &lt;/args&gt;
              &lt;/executable&gt;
          &lt;/pack&gt;
      &lt;/packs&gt;
  &lt;/installation&gt;
  </code></pre>