2.14. HackyInstaller CLI: Install or Update Sensor

The InstallOrUpdateSensor CLI command allows you to install or update the installation of any sensor. Note that before invoking this command, you must first be sure to have set any required paths associated with the sensor by using the SetPath CLI command.

Example 2.6, “Invoking the HackyInstaller CLI InstallOrUpdateSensor command” illustrates an invocation of the HackyInstaller CLI to install or update a sensor.

Example 2.6. Invoking the HackyInstaller CLI InstallOrUpdateSensor command

C:\>java -jar hackyInstaller.jar -InstallOrUpdateSensor Build
Rhino classes (js.jar) not found - Javascript disabled
Downloading Build sensor, Version: 6.7.830...
..........
Build sensor installation/update completed.  Version 6.7.830 installed.
Success

C:\>

The downloading mechanism prints out periods as it progresses to provide you with visual feedback on the progress of the installation. In the event that the sensor name is not known or there is some other problem, an error message will be returned. To see the list of valid sensor names, run the HackyInstaller CLI Help command as documented in Section 2.20, “HackyInstaller CLI: Help”.