11.5 agent installation or upgrade failing on Windows servers

book

Article ID: 143825

calendar_today

Updated On:

Products

CA Workload Automation Agents CA Workload Automation Agent

Issue/Introduction

New installation or upgrade from 11.3 .7 or 11.4.1 to 11.5 fails.  The Agent's installation log shows error as below:

Exit Code: 1

C:\Users\<userid>\AppData\Local\Temp\I1579803158\Windows>cd /d "E:\Program Files\CA\WA_Agent" 

E:\Program Files\CA\WA_Agent>".\jre\bin\java" -jar generator.jar installerData.properties 
:The system cannot find the path specified.

                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR - "Post-Install: Generation of additional files failed"

Cause

The WA Agent 11.5 installer has a known issue when installing on non-primary drive (C:).

Environment

Release : 11.5

Component : CA WORKLOAD AUTOMATION AGENT MONITOR

Resolution

Set both the TMP and TEMP environment variables on the drive you are trying to use for the Agent upgrade or installation. For example,

To install the agent onto the E: drive, set the following environment variables before running the installer (either open a command prompt or create a .bat file);

set TMP=E:\temp
set TEMP=E:\temp
setup.exe

Additional Information

Windows Agent Installation onto the Non-primary Drive (C:) Fails