SWM - Software Install - ConnectWise Manage 22.2.1 Install
Summary
This document outlines the process to install or upgrade the current ConnectWise Manager Internet Client to version 22.2.1 if necessary.
Sample Run
Dependencies
- The following link must remain valid: ConnectWise Manager Internet Client x64 MSI.
Variables
| Name | Description |
|---|---|
| InstallerName | The name of the MSI installation file. |
| LocalPath | The location, including the file name, for where we will place the MSI. |
| DownloadUrl | The download URL to obtain the MSI file. |
| Install | A true or false value that reflects the answer to the question: Do we need to install? |
| StatusMessage | Variable to store current process state log messages. |
Global Parameters
| Name | Example | Required | Description |
|---|---|---|---|
| TargetVersion | 22.2.1 | True | This variable represents the target version you wish to be at and is used to formulate the Download URL variable, as well as a comparison value when looking at the current installed product version. |
Process
- Create a temporary directory to hold the installer if one doesn't exist.
- Compare the currently installed version to the target version. If the currently installed version is greater than or equal to the target version, log that no installation is necessary and exit.
- Download the file.
- Execute the installation.
- Resend the software list.
- Check for the ConnectWise Manage Client 64-bit. If it is not present, delete the temporary file, log the state, and exit with an error.
- Delete the temporary file.
- Log success and exit.