Skip to main content

DUO Desktop - Install/Upgrade [Param, Autofix]

Summary

This script performs the installation/upgrade of the DUO Desktop to the latest version.

Sample Run

Run the script after importing once by setting the value of SetEnvironment to 1, so that all the required EDFs and property is imported.

Set Environment

Run the script after importing once by setting the value of LatestVersion to 1, so that the deployment gets started after storing the latest version to the system property 'DUO_Desktop_Latest_Version'.

Latest Version

Normal execution for the DUO Desktop latest installation

Normal Run

Dependencies

Monitor - DUO Desktop - Install/Update
Monitor - DUO Desktop - Latest Version Detection
Solution - DUO Desktop Deployment Solution

Variable

NameDescription
ResultFetches the data from the monitor testvalue that comes from the autofix alert template.
StatusFetches the data from the monitor status that comes from the autofix alert template.
TicketCreationCategoryIt stores the data from the monitor ticket category that comes from the autofix alert template. Ticket Category
WorkingDirectoryDirectory where the DUO Desktop MSI, logs, and PowerShell scripts (.ps1) will be stored.
TickidStores the existing ticket ID for the computer to reduce duplicate ticket noise.
shellresultStores the output of the DUO Desktop deployment.

EDF

NameTypeLevelExampleRequiredDescription
Enable Duo Desktop DeploymentFlagClient1 or 0TrueThe agents will start getting the auto-deployment of the DUO Desktop only if this flag is checked.
Exclude DUO Desktop DeploymentFlagLocation1 or 0FalseIf checked, the agents at that location will be excluded from the DUO Desktop deployment.
Exclude DUO Desktop DeploymentFlagComputer1 or 0FalseIf checked, the computer will be excluded from the DUO Desktop deployment.

System Properties

NameValueDescription
DUO_Desktop_Latest_Version7.6.0Stores the latest version of the DUO Desktop application.

User Parameter

NameExampleRequiredDescription
SetEnvironment1 or 0FalseIf set to 1, it performs the EDF and property import. Running it once before setting the deployment or during the script import is mandatory.
LatestVersion1 or 0FalseIf set to 1, it sets the latest version to the property DUO_Desktop_Latest_Version. Running it once before setting the deployment or during the script import is mandatory.

Process

Import the script and execute it once with both user parameters (SetEnvironment and LatestVersion) values by setting them to 1 separately. This will set the EDF and property imported, and also enable the deployment based on the latest version. This script is designed to run on demand, or as an autofix auto-deployment as well.

Output

  • Script log