Using the console

Web-to-Host can also be installed using the console.

If you need to change the license key, you must first uninstall Web-to-Host, then reinstall it with the new key. If you do not enter a license key, Setup installs a 30-day evaluation version.

To install Web-to-Host:

  1. Change to the directory where setup.jar resides.
  2. Enter:

    java -jar setup.jar -DWebRootDir=<directory_name> -DSubDirectory=<subdirectory_name> -DLicenseKey=<license_key> -i console

  3. Follow the instructions that appear during the installation.
  4. When installation is complete, you are prompted for a response. Press 3 to exit the installation.

For example, to install Web-to-Host to the following directory:

/var/www/htdocs in subdirectory w2h6.9 SP1/install

you would enter:

java -jar setup.jar -DWebRootDir=/var/www/htdocs -DSubDirectory=w2h6.9 SP1/install -DLicenseKey=xxxx-yyyy-vvvv -i console

Notes:
  • When typing a subdirectory, always use the format:

    <FolderName>\<FolderName>

  • The following parameters are optional:
    • -DSubDirectory
    • -DLicenseKey
  • Parameters that include a space must be enclosed in quotation marks (“).