Software Upgrade

Update Procedures

Cyber Intel Classification Banner - Software Upgrade
The sample PowerShell script is located in client/tools/updater.ps1 and server/deployment/updater.ps1. (Start from the bottom right fig. end on the bottom left)

Client

  1. Single Upgrade with Mapped Network Share Drive
    1. Map the share drive to the client’s computer.
    2. Open CCM.exe, then config the update path, and save it.
    3. The client will start to upgrade to the latest version.
      Notice: IT admin may use the “Client ID” option to test the upgrade for a single computer before the batch upgrade.
  2. Batch Upgrade without Mapped Network Share Drive
    1. IT admin can use any script to trigger the client update.
    2. The Client will trigger the Updater.ps1 to compare the local version with the remote version:
    3. 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.
    4. 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 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 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.