After installation of Agent, a patch CU could be installed. How to install the CU patch automatically after Agent installation ?
Client Automation 14.5
The feature "Simplified Master Image Update" with script TestFixes\installTestFixes.bat could be used for this.
See :
Here is a solution for 3 installation methods :
1- On ITCM 14.5 source files, copy the patch CU into TestFixes directory (<iso_root>\TestFixes )
Example for patch CU6 (99111824), create the directory 99111824 and put all files of patch CU6 (99111824) inside:
2- Edit file TestFixes\InstallTestFixes.bat with notepad and add these 5 lines in bold in section "Install Test Fixes".
This is an example for CU6 patch (99111824) :
REM ######################## Install Test Fixes start ################################################
echo %date% %time% Current Directory is %cd% >> %logfile% 2>&1
echo %date% %time% Coying %~dp0\sd_api.dll to "%tInstallDirProduct%"bin\ >> %logfile% 2>&1
copy /Y %~dp0\sd_api.dll "%tInstallDirProduct%bin"\
echo %date% %time% Installation Patch CU6 >> %logfile% 2>&1
pushd 99111824
APPLYPTF.exe /NODE=%COMPUTERNAME% /PTF=99111824.jcl /INSTALLNEW /SILENT /OUTPUTFILE=%TEMP%\applyptf_99111824.log
popd
echo %date% %time% Patch CU6 Installed >> %logfile% 2>&1
REM ######################## Install Test Fixes End ################################################
1- In source files, go in directory TestFixes and copy the patch CU.
Example for CU6 : The directory 99111824 has been copied under TestFixes directory :
2- Do the same modification in file TestFixes\InstallTestFixes.bat as described in setup method (see step 2 above).
3- Execute deploywrapper.exe command line. At the end of installation, deploywrapper executes the script TestFixes\InstallTestFixes.bat and CU patch is installed.
If msiexec command lines are used to install the Agent like explaining in this article :
https://knowledge.broadcom.com/external/article?articleId=44373
Following method could be used to execute the CU patch automatically :
1- Do the same steps 1 and 2 of deploywrapper method
2- As described in this article execute the script InstallTestFixes.bat at the end of installation :
https://knowledge.broadcom.com/external/article?articleId=44373
cd TestFixes
start /wait cmd /c .\InstallTestFixes.bat
cd ..