CA Client Automation

 View Only
  • 1.  Using DeployWrapper to install all agents but with the Remote Control agent in 'host only' mode

    Posted Mar 07, 2023 03:44 PM

    I'm looking to package up the CA ITCM 14.5 SD,AM and RC agents into a script for deployment into our automated builds. I pulled the following CLI from the agent installations registered with ITCM itself and it works:

    • .\DeployWrapper.exe /INST CopiedAgents AGENT_SERVER=%_SSSERVER% ALLUSERS=1 ENSURE_CAF_STOPPED=1 CAF_COMMON_CONFIG=1 CAF_INSTALL_SERVICE=1 CAF_START_SERVICE=1 REBOOT=REALLYSUPRESS ARPNOMODIFY=1 /qb /l*vx !_AGTLOG! FIPS_MODE=1

    The only issue with this is it installs the full Remote Control with agent and Remote Control viewer. If I were deploying the RC agent only I would use this CLI to deploy in host only:

    • .\DeployWrapper.exe /INST CopiedAgents AGENT_SERVER=%_SSSERVER% ALLUSERS=1 ENSURE_CAF_STOPPED=1 CAF_COMMON_CONFIG=1 CAF_INSTALL_SERVICE=1 CAF_START_SERVICE=1 REBOOT=REALLYSUPRESS ARPNOMODIFY=1  ADDLOCAL=Agent,AgtRC,AgtRCA /qb /l*vx !_AGTLOG! FIPS_MODE=1

    How can I do this in a single command line whilst installing all 3 agents but with the RC agent in host only mode?



  • 2.  RE: Using DeployWrapper to install all agents but with the Remote Control agent in 'host only' mode

    Posted Mar 07, 2023 03:58 PM
    Hi Shocko,

    That has always been an issue with Deploywrapper - unfortunately if you want to apply different configurations you have to create a script to install each agent component separately. It actually comes down to an issue with passing parameters to MSI. As an alternative, you can modify the agent source to remove RC from the image so that 'CopiedAgents' only includes AM & SD, then use a policy to push RC as a software job the way you want it.

    Steve McCormick




  • 3.  RE: Using DeployWrapper to install all agents but with the Remote Control agent in 'host only' mode

    Posted Mar 07, 2023 04:10 PM

    Thanks Stephen. Could I do something like install all agents with the single CLI then remove some of the RC components with a second one? I'm loath to have 3 installs per say. 




  • 4.  RE: Using DeployWrapper to install all agents but with the Remote Control agent in 'host only' mode
    Best Answer

    Posted Mar 07, 2023 04:15 PM
    It wouldn't be 3 installs, but it would be 2 - if you look at your Agent source package you would see each agent component in a separate directory - simply removing the RC directory will allow it to install SD & AM in one job using deploywrapper /INST CopiedAgents , then you send RC only with the properties you want as an SD package. Configure it as a software based policy and it will get sent automatically as soon as the SD Agent registers.

    Steve McCormick




  • 5.  RE: Using DeployWrapper to install all agents but with the Remote Control agent in 'host only' mode

    Posted Mar 07, 2023 04:26 PM

    Much appreciated.