How to install the Agents using MSIEXEC commands?

Document ID : KB000044373
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

For some reason, I am unable to install the agents using Deploywrapper.exe. Is there an alternate way to install the agents using MSIEXEC commands instead?

 

Environment:  

All versions of CA Client Automation

 

Instructions: 

1.    To manually install the agent copy the following folder from the DSM Manager to the target:

C:\Program Files (x86)\CA\DSM\Packages\Public\CAUnicenterDSM\AgentAM+RC+SD\12.0\ENU\Windows_x86

Note: If this folder does not exist please run the following command from the root of the installation media:

dmscript.exe dsmpush.dms copy -sd -am -rc -REGSD -REGDM

 

2.    Once the folder is created, copy it to the target or the desired location from where you want to execute the install.

 

3.    Create a batch file using the following commands:

cd CAPKI

start /wait setup.exe install caller=CADSMCAPKI verbose instdir="C:\Program Files\CA\SC\CAPKI"

cd..

start /wait msiexec.exe /i "SSA\CASockAdapterSetupWin32NoEtpki.msi" ALLUSERS=1 /l*v "%temp%\DSMSetupSSA.log" /qn

start /wait msiexec.exe /i "AgtBHW.msi" AGENT_SERVER=<SERVERNAME> CAF_START_SERVICE=0 ALLUSERS=1 INSTALLELEVATED=1 REBOOT=REALLYSUPPRESS /l*v "%temp%\DSMSetupAgentBHW.log" /qn

start /wait msiexec.exe /i "AgtAM.msi" AGENT_SERVER=<SERVERNAME> CAF_START_SERVICE=0 ALLUSERS=1 INSTALLELEVATED=1 REBOOT=REALLYSUPPRESS /l*v "%temp%\DSMSetupAMAgent.log" /qn

start /wait msiexec.exe /i "AgtSD.msi" AGENT_SERVER=<SERVERNAME> CAF_START_SERVICE=0 ALLUSERS=1 INSTALLELEVATED=1 REBOOT=REALLYSUPPRESS /l*v "%temp%\DSMSetupSDAgent.log" /qn

start /wait msiexec.exe /i "AgtRC.msi" AGENT_SERVER=<SERVERNAME> CAF_START_SERVICE=1 ALLUSERS=1 INSTALLELEVATED=1 REBOOT=REALLYSUPPRESS /l*v "%temp%\DSMSetupRCAgent.log" /qn

 

 

Remark :

Parameter CAF_START_SERVICE=1 shoud be added for the last MSI installation plugin in order to start caf at the end of installation.

CAF_START_SERVICE=0 should be added for all other MSI installation plugins in order to avoid multiple "caf stop" / "caf start" between plugin installation.

 

4.    Copy the batch file to the folder you created in Step2 and execute it.