Installing ITCM agent using DeployWrapper failing with error executable name must be full path

Document ID : KB000101557
Last Modified Date : 14/06/2018
Show Technical Document Details
Issue:
Install ITCM agent using DeployWrapper  failing with error executable name must be full path.
Resolution:
Check TRC_Deploywrapper_ITRM.log and see the command captured . 

For Example i can see the command executed as below in log. 

TRC_Deploywrapper_ITRM.log 
========================== 
5168: 2018-06-05 11:02:10 : cmd: <DeployWrapper.exe /DPINST CopiedAgents /qn AGENT_SERVER=DCEMSCLNTAM01.otpcindia.local ALLUSERS=1 /l*v C:\Users\pramodk\AppData\Local\Temp\ITRMAgentSetup.log> 
5168: 2018-06-05 11:02:10 : Entering setDSMComponents () ... 
5168: 2018-06-05 11:02:10 : DSM_COMPONENTS not found - setting all components to true 
5168: 2018-06-05 11:02:10 : Leaving setDSMComponents () ... 
5168: 2018-06-05 11:02:10 : cmd: deployAction=1 
installParams=< AGENT_SERVER=DCEMSCLNTAM01.otpcindia.local ALLUSERS=1> 
msiExecParams=< /qn /l*v C:\Users\pramodk\AppData\Local\Temp\ITRMAgentSetup.log> 
lDeployObject=4 
lProdList=<> 
5168: 2018-06-05 11:02:10 : dmdeploy action on object: 4> 
5168: 2018-06-05 11:02:10 : lcmd DeployWrapper.exe 
5168: 2018-06-05 11:02:10 : lcmd DeployWrapper.exe 
5168: 2018-06-05 11:02:10 : executable name must be full path 
5168: 2018-06-05 11:02:10 : stopping... 
5168: 2018-06-05 11:02:10 : Finished runMSIWrapper ret = <1> 
5168: 2018-06-05 11:02:10 : Closing Trace

Modify the command as below.
.\DeployWrapper.exe /DPINST CopiedAgents /qn AGENT_SERVER=<SSFQDN HOST NAME> ALLUSERS=1 /l*v %temp%\ITRMAgentSetup.log

.\ is important because we need to put a path for deploywrapper. Also in above command under AGENT_SERVER give FQDN of Domain manager name.