Command - generatezip
Use this command to load and validate XML and to generate a compressed file that can be used to install the agent on another system.
Purpose
Loads and validates the itm_toolkit_agent.xml file and generates a compressed file named productcode.zip or productcode.tgz. The generated compressed file can be used to install the agent on another system. Depending on your environment, both file types can be generated.
Format
For Windows systems:
install_location\agenttoolkit.bat project_dir -generatezip output_dirWhere:
- project_dir
- Name of a directory that contains the
itm_toolkit_agent.xmlfile - output_dir
- Name of a directory where the compressed file is written
Examples
In the following example for Windows, the agent definition
in C:\ABCAgent is validated and a compressed
file that contains the required files for running ABCAgent is
generated in C:\Output:
install_location\agenttoolkit.bat\ C:\ABCAgent -generatezip C:\Output