Silent Scripted Installation on Windows

In addition to installing the Protection Agent interactively, you can also install the Protection Agent on Windows using a script, running silently.

To do a silent installation on Windows:

  1. Download and unzip the Windows executable, as described in: Installing the Policy Agent on Windows.
  2. Run the executable file, using the /S switch. Note: this is a capital S. Case is important here. For example:
    hcs-client-agent-3.2.1-9355M.exe /S /NET=2 /NORB

Custom switches are accepted during silent installation, as shown in the sample above. Here are the switches that can be used:

  • /NLIST - List network adapters with index that can be used with the /NET switch. The ouput is written to file 'HTIfaceList' in the same directory as the installer executable. This does not cause actual installation.
  • /NET=n - Use adapter n with its current settings as the primary network interface for the HyTrust Windows Bootloader, where n is the DeviceID of any of the network adapters listed by /NLIST. If this switch is not specified, the first network adapter is used by default. This is equivalent to specifying /NET=1.
  • /DRIVE=d - Assign drive letter d to the Bootloader partition.
  • /NORM - Do not delete HTBOOTLDR partition left by older installation. By default any such partition detected would be deleted.
  • /NOBL - Do not install the Windows Bootloader (not used during upgrade)
  • /NORB - Do not reboot automatically. Required if you want to check the final state of installation, which is explained in the section below.

The final state of installation can be inferred from three empty files created by the installer in the same directory as the installer executable.

  • HTDone - This indicates the installation ended. You should poll for creation of this file to ensure that the installer process finished. If no other file is created, it means that a successful installation completed.
  • HTError - The installation failed. This file contains the error string.
  • HTBLError - HyTrust Windows Bootloader installation failed, but the rest of the installation succeeded. This file contains the error string.
  • HTRetryOnReboot - If this file is present, the installation was not a failure, but it needs a reboot. To complete the installation, reboot and run the installer again

The upgrade warning message is suppressed during silent installation.

Any options not supported by the installer are ignored.