Software Upgrade

Update Procedures

Cyber Intel Classification Banner - Software Upgrade
Sample PowerShell script is located in client/tools/updater.ps1 and server/deployment/updater.ps1.

Client

  1. IT admin uses any script to trigger the client update.
  2. Use the same script to call CCM.exe via CLI mode with all parameters. (IT admin may use the “Client ID” option to test the upgrade for a single computer before the batch upgrade.)
  3. Client.exe then will call Updater.ps1 to compare the local version with the remote version:
  4. If the remote version is greater than the local version:
    a.Download the packages. (using the package name from the update.json file)
    b. Save upgrade packages to <server-installation-path>/deployment/*.zip.
    b. Extract files from the packages.
    c. Upgrade Client and version file.
    d. Clean up all temproray files.
  5. Else:
    Notify the user the software version is up to date.

Server

  1. Write and config a local executable script via PowerShell (.ps1). (Notice: an Updater.ps1 sample script is provided under the <server-installation-path>/Deployment/Updater.ps1)
    • Make sure the script can copy the downloaded upgrade packages from <server-installation-path>/deployment/*.zip to your target network mapped drive (e.g. \\server\cicb\*.zip)
  2. Download the JSON file, it will overwrite the existing JSON file.
  3. Parse the JSON file and get the version and package name from it.
  4. Compare the local version with the remote version.
  5. If the remote version is greater than the local version:
    a. Download the packages. (using the package name from the update.json file)
    b. Save upgrade packages to <server-installation-path>/deployment/*.zip.
    c. Extract files from the packages.
    d. Upgrade Server and version file.
    e. Clean up the temp. update files.
  6. Else:
    Notify the user the software version is up to date.

Semi-Auto Upgrade

Client

Go to Client -> About tab -> Check Update button.

Server

Go to Server -> About tab -> Check Update button.

Manual Upgrade

Client

  1. Download the latest client installation package from the software portal.
  2. Stop the current running client.
  3. Back up “client.connection” file, and “group.settings” file.
  4. Install the client with admin permission and replace the new “client.connection” file with the backup one.

Server

  1. Download the latest service agent installation package from the software portal.
  2. Stop the currently running agent.
  3. Back up “server.db” file and “<agent-id>.license” file.
  4. Install the agent with admin permission and replace the new “server.db” file and “<agent-id>.license” with the backup files.

Software Portal

There is no need to upgrade from the user side; the “Software Portal” will be upgraded and maintained by Cyber Intel Systems.