Installing the Mac Auto Updater from the Command Line

This describes how to install the Mac Auto Updater on the endpoint(s) from the command line.

Prerequisites

These files are required for the installation.

  • observeit-autoUpdater-OSX-<version>.run used for command line installation.

    (To access this file, download the observeit- autoUpdater<version>.tar.gz file and then extract observeit-autoUpdater-OSX-<version>.run.

  • Installation Configuration file for the Auto Updater’s Realm. (See Installation Configuration File.) The installation configuration file is a .json file. You will need this file and know its location to complete the installation.

Command Line Installation

  1. Go to the folder where you downloaded the installation file.

  2. Using the sudo command, run the installer as shown:

    sudo ./observeit-autoUpdater-OSX-<version>.run -- -i -c <Path to location of Installation Configuration File>.json

    where:

    • <version> is the release version of the downloaded file
    • <FullPath> is the location of the installation configuration file where the .json file was downloaded
  3. The Auto Updater is installed and registered.

    Mac Auto Updater Installation Script Parameters

    Following are the available installation script parameters and their usage:

    Parameter

    Use to

    -i

    Install or upgrade the agent.

    For example:

    ./observeit-autoUpdater-OSX-1.1.0.8.run -- -i

    -c < configuration file full path>

    Full path and file name of the configuration file (see Installation Configuration File.)

    For example:

    ./observeit-autoUpdater-OSX-1.1.0.8.run -- -c observeit-updater.config.json

    -help

    Display this help and exit.

    For example:

    ./observeit-autoUpdater-OSX-1.1.0.8.run -- -h

Verifying the installation

To make sure the installation was successful, from the command line:

sudo /Library/ITUpdater/updater/autoUpdater -check

If the installation succeeded, the status is shown as PASS.

Here is an example of the results you'll see when the installation succeeds.


Related Topic:

Windows Auto Updater Installation