You can also install the Control Room in silent mode. The silent mode runs the entire installation process in the background without requiring user interaction or displaying pop-up messages. This mode allows you to automate the installation process.

Create a customized PowerShell script with required parameters and execute the script to install the Control Room on a Windows EC2 instance:

The newly introduced $aws_config variable binds the Control Room to the AWS account. You must configure the following parameters for this variable.

Control Room installation parameters
Installation parameter Description
vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID Add the 12-digit AWS account ID without the hyphens.
vAA_CLOUD_SERVICE_AWS_REGION Add the AWS region in which the account is hosted. Ensure that you enter the region as per AWS naming standards.

Procedure

  1. Log in to the Windows EC2 instance as an administrator.
  2. Create a PowerShell script using the following sample script:
    $INSTALLTYPE="On-premises"
    
    $cr_port=80
    
    
    #$certpath = "Enter TLS certificate path here"
    #$certpass = "Enter the TLS certificate password here"
    
    
    $db_server="Enter the Remote SQL server IP here"     #R
    $db_ServerPort="Enter the Remote SQL server IP here"
    
               
    $cr_db_name="Enter your Control Room Database name here"
    
    $db_user="Enter your Control Room Database administrator user name here"
    $db_pwd="Enter your Control Room Database administrator password here"
    
    
    $elastic_password="Enter OpenSearch password here"
    
    $installation_path="C:\Program Files\Automation Anywhere"
    
    #Install latest setup
    
    $static_installation_path="\Automation360\"""""
    
    
    $silent_details=" /s ","v""" -join "/"
    
    
    $installpath_details= "/qn INSTALLDIR=\"""
    
    $custom_details=" /vAA_SETUPTYPE=Custom /vAA_CUSTOMMODETYPE=1 /vAA_INSTALLTYPE=$INSTALLTYPE"
    
    $port_cluster_details=" /vAA_SETCLUSTERMODE=0 /vAA_CRLISTENPORT=$cr_port"     
    # Reference for Cluster Mode = 1 for Cluster, 0 for Single Node
    
    $service_details=" /vAA_CRSETLOCALSERVICECRED=1"
    
    
    $service_selections=" /vAA_STARTSERVICE_IQBOT=0 /vAA_STARTSERVICE_AARI=0 /vAA_STARTSERVICE_STORAGE=0 /vAA_STARTSERVICE_DISCOVERYBOT=0 /vAA_STARTSERVICE_DISCOVERYBOTML=0 /vAA_STARTSERVICE_ACF=1 /vAA_STARTSERVICE_CLOUD_SERVICE=1 "  
    
    #Status 1 = enable service, 0 = disable service
    
    $aws_config=' /vAA_CLOUD_SERVICE_AWS_ACCOUNT_ID="Enter your AWS account ID here" /vAA_CLOUD_SERVICE_AWS_REGION="Enter your AWS region here"'
    
    
    $db_details=" /vAA_SQLSERVERAUTHTYPE=true /vIS_SQLSERVER_SERVER=$db_server /vIS_SQLSERVER_USERNAME=$db_user /vIS_SQLSERVER_PASSWORD=$db_pwd /vIS_SQLSERVER_DATABASE=$cr_db_name /vIS_SQLSERVER_AUTHENTICATION=1 /vAA_SQLSERVERAUTHMODE=1"
    
    
    
    $other=" /vAA_ESPASSWD=$elastic_password /vAA_CRWCHTTPPORT=80 /vAA_CRWCHTTPSPORT=443 /vAA_CRSELFSIGNCERT=1 /vAA_OPTIONALCACERT=0 /vLAUNCHPROGRAM=0 /v""/L*v CR_Onprem_LocalAccointSQLAuthACFServiceSelectiolog.txt"""
    
    $final_commandline = -join($silent_details,$installpath_details,$installation_path,$static_installation_path,$custom_details,$port_cluster_details,$service_details,$service_selections,$db_details,$aws_config,$other)
    
    Write-Host $final_commandline
    
    
    $a = "Enter the path where the installation file is available"
    
    
    Write-Host $a
    Write-Host "Starting the installation please wait for sometime..."
    
    
    $processdetail=(Start-Process -FilePath $a -ArgumentList $final_commandline  -Wait -PassThru).ExitCode
    
    Write-Host $a.Name execution is done. If installation is not proper please check CR_Onprem_Installationlog Log file in the  Silent Installation folder.
    pause
    For more information about mandatory and optional parameters, see Installing Control Room on Microsoft Windows Server using scripts.
  3. Save the script as install.ps1.
  4. Open PowerShell application and run the following command: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force.
    This command.
  5. Go to the location where the PowerShell script is saved and right-click .\install.ps1 file, and then select Run with PowerShell.
    The Control Room installation starts.
The Control Room installs successfully on the Windows EC2 instance. The silent mode installation logs are stored in the folder from which you execute the installation script. For example, if you run the script from C:\Silent Install, the logs are stored in C:\Silent Install folder.

Next steps

Complete the Control Room configuration and validation as detailed in Configuring post installation settings.