Lesen und beachten Sie die Automation Anywhere-Dokumentation

Automation Anywhere Automation 360

Inhalt schließen


Inhalt öffnen

Update Automation 360 on Microsoft Windows Server using scripts

  • Aktualisiert: 2022/05/20
    • Automation 360 v.x
    • Erkunden
    • RPA Workspace

Update Automation 360 on Microsoft Windows Server using scripts

Update Automation 360 using a customized script with parameters to maintain existing user configurations.


To perform this task, you must be a Control Room administrator and have the required rights and permissions.

Create and execute a PowerShell script to update Automation 360.


  1. Create a PowerShell script with the required parameters:
    The following is a sample PowerShell script for upgrading Automation 360:
    # Script Begins
    # It fetches Data from config.properties file present under the same directory level
    $PropertyFilePath = 'C:\script\config.properties'
    $rawProperties = cat $PropertyFilePath
    $propertiesToConvert = ($rawProperties -replace '\\' ,'\\') -join
    [Environment]:: NewLine;
    $properties=ConvertFrom-StringData $propertiesToConvert
    # Setting up the logger and InstallerRoot Directory
    # Logging Begins
    Start-Transcript -Path $logFilePath -Append -IncludeInvocationHeader
    $binary = Get-ChildItem $baseInstallerPath | Where-Object { $_.FullName -imatch $installer_name_regex }
    $a = $binary.FullName
    $final_commandline = " /update /s /v/qn /v""/L*v CR_Onprem_Installationlog_Scenario1.txt"""
    # Recording the Start Time
    Get-Date -Format g
    # Invoking the Installer here
    $processdetail = (Start-Process -FilePath $a -ArgumentList $final_commandline -Wait -Passthru).ExitCode
    # Recording the End  Time
    Get-Date -Format g
  2. Optional: Customize the script to include parameters according to your requirements.
  3. Save the script to the installation server.
  4. Log in to the installation server as administrator.
  5. Start PowerShell in administrator mode.
  6. Execute the following:
    Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
    Note: The silent installation logs are stored in the folder from which the installation script is executed. For example, if you run the script from C:\Silent Install, the logs are stored in the C:\Silent Install folder.
  7. Validate the following:
Feedback senden