Installing to a non-default directory

When installing to a non-default directory, you must enter the Web root directory parameter. If you want to install to a subdirectory under the Web root, you must also enter the subdirectory parameter. However, this is optional.
  1. Enter:

    Web-to-HostSetup.exe -DWebRootDir=<directory_name> -DSubDirectory=<subdirectory_name> -DLicenseKey=<license_key> -i console

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

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

c:\InetPub\wwwroot in subdirectory w2h6.9.3\install

you would enter:

Web-to-HostSetup.exe -DWebRootDir=c:\InetPub\wwwroot -DSubDirectory=w2h6.9.3\install -DLicenseKey=xxxx-yyyy-vvvv -i console

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

    <FolderName>\<FolderName>

  • Parameters that include a space must be enclosed in quotation marks (“), for example:

    -DWebRootDir=”c:\program files\wwwroot”