Skip to main content

Cybercns Agent Installation [Windows, MAC]

Summary

This script installs the CyberCNS agent using the keys provided in the client EDFs.

Sample Run

Run the script with SetEnvironment = 1, after import to create the required EDFs and system properties.

Sample Run 1

Run without SetEnvironment, for the deployment

Sample Run 2

Dependencies

Solution - CyberCNS Agent

User Parameters

NameExampleRequiredDescription
SetEnvironment1FalseRun the script with SetEnvironment = 1, after import to create the required client-EDFs and system properties.

EDFs

NameTypeLevelSectionEditableRequiredDescription
Cybercns Company IDTextClientCyberCNSYesTrueThis client EDF is created to store the CyberCNS company ID from the portal for the company whose agent must be installed.
CyberCNS Tenant IDTextClientCyberCNSYesPartial TrueThis client EDF is created to store the CyberCNS tenant ID from the portal.
CyberCNS TokenTextClientCyberCNSYesPartial TrueThis client EDF is created to store the CyberCNS token from the portal.
CyberCNS DeployCheckboxClientCyberCNSTrueYesThis EDF is required to be selected for the automated deployment of the CyberCNS Agent.
Exclude CyberCNS DeployCheckboxLocationExclusionsFalseYesIf this EDF is checked, the agents of the location will be excluded from the CyberCNS deployment
Exclude CyberCNS DeployCheckboxComputerExclusionsFalseYesIf this EDF is checked, the agent will be excluded from the CyberCNS deployment

Properties

Document the various overwriting system properties in the script.

NameRequiredDescription
CyberCNS_TenantIDPartial TrueSet to store the CyberCNS tenant ID from the portal. The client-EDF CyberCNS Tenant ID will override this property.
CyberCNS_TokenPartial TrueSet to store the CyberCNS token from the portal. The client-EDF CyberCNS Token will override this property.

Process

  1. Retrieve the values for the CompanyID, TenantID, and Token.
  2. If anything is missing, create failure ticket.
  3. If all values are present, download the installer.
  4. Once downloaded, install the application.
  5. After execution, verify the installation.

Output

  • Script log

Changelog

2026-03-12

  • Introduced system properties CyberCNS_TenantID and CyberCNS_Token which will be overriden by the client EDFs.
  • Updated the script to use Vendor's logic

2025-04-10

  • Initial version of the document