Performing a silent installation of the OnGuard plugin - OnGuard 5.1.1

OnGuard Plugin Guide 5.1.1

Applies to
OnGuard 5.1.1
Last updated
2023-08-02
Content type
Guides > Plugin and extension guides
Language
English
Product
OnGuard
Version
5.1

You can automate the process of installing the OnGuard plugin by installing it in silent mode.

Before you begin

What you should know

  • A silent installation installs the plugin using its default settings, without user interaction.
  • Silent installations are ideal for deploying the plugin package to Security Center client workstations because the plugin package is necessary for plugin-specific functions to work in Security Desk and Config Tool.

Procedure

  1. Open the GTAP Product Download page.
  2. From the Download Finder list, select your version of Security Center.
  3. Search for your package by name and download it.
  4. Click the downloaded .exe file to unzip it.
    By default, the file is unzipped to C:\Genetec.
  5. In Windows, right-click the Command Prompt, and then select Run as administrator.
  6. In Command Prompt, navigate to the directory with the .exe file:
    cd C:\Genetec\OnGuard_vx.x.x_bxx.0\OnGuard Packages, where OnGuard_vx.x.x_bxx.0 corresponds to your version.
  7. Enter the command for one of the following use cases, where <file path> is the path to the folder you created:
    IMPORTANT: Enter the commands without line breaks or hard returns except at the end of the line.
    • For Security Center client workstations and servers using the client applications, and servers used to host the plugin role, install the plugin only:
      "Genetec OnGuard Setup.exe" /silent /DebugLog"<file path>\debug.log" /log"<file path>\" /ISFeatureInstall=Plugin ISInstallDir_OnGuard="C:\Program Files (x86)\Security Center Plugins\OnGuard" RESTART_GENETEC_SERVER=1
      NOTE: For OnGuard plugin version 5.1.0 and lower, the plugin-only command installs both the plugin and proxy.
    • For a server intended to host the proxy service, install a proxy only:
      "Genetec OnGuard Setup.exe" /silent /DebugLog"<file path>\debug.log" /log"<file path>\" /ISFeatureInstall=Proxy ISInstallDir_OnGuard="C:\Program Files (x86)\Security Center Plugins\OnGuard" PROXYPASSWORD=<password> RESTART_GENETEC_SERVER=1
    • For a server intended to host the proxy service, and to act as a Security Center client workstation and server, install the plugin and proxy:
      "Genetec OnGuard Setup.exe" /silent /DebugLog"<file path>\debug.log" /log"<file path>\" /ISFeatureInstall=Plugin,Proxy ISInstallDir_OnGuard="C:\Program Files (x86)\Security Center Plugins\OnGuard" PROXYPASSWORD=<password> RESTART_GENETEC_SERVER=1
    When the installation is complete, Security Center restarts.
    NOTE: If you do not want the Genetec™ Server to restart immediately after the silent install, omit the command RESTART_GENETEC_SERVER=1. In this case, the plugin is not available until you manually restart the Genetec™ Server.

Results

The plugin is ready for use.

After you finish

(Optional) If you need to do a silent uninstall, do steps 5 and 7, and enter the following command in step 7:
"Genetec OnGuard Setup.exe" /silent /DebugLog"<path to log file>\<log filename>" /log"<path to log files>\" -remove