When installing agents remotely, as indicated in these instructions, and modifying setup.ini to implement a customized agent install package, it fails and shows "STATUS: Interrupted 1 (Error 1)" in the command window.
From .\Trend Micro\Safe Lock Intelligent Manager\CmdTools\RemoteAgentSetupTool\logs\TimeStamp\slrst-debug.log, the following error is found:
agent_IP Error SL_Install.exe Return code:2' is read. (debug)
From .\Trend Micro\Safe Lock Intelligent Manager\CmdTools\RemoteAgentSetupTool\logs\TimeStamp\agentIP\endpoint-debug.log, the following error is found:
There is a task internal error message - failed to CreateProcess: 2 2020/08/27 21:35:42 SendMessage: "192.168.201.82 Error SL_Install.exe Return code:2" ---------- Exception Handling Section (Start) ---------- SL_Install.exe Return code:2 Error ---------- Exception Handling Section (End) ----------
The error, "Agent_IP Error SL_Install.exe Return code:2" indicates a failure in finding the SL_Install.exe file. This usually happens when customizing the agent install package. When repacking the agent install package TMSL_TXOne_EN.zip, the folder is repacked, e.g. TMSL_TXOne_EN, and not the files inside.
An Additional Layer is then created (as seen below), which leads to the remote install failure.
To resolve this issue, when repacking the agent install package, repack the files inside the unzipped folder, e.g. TMSL_TXOne_EN. Do not repack the unzipped folder itself.