HP Insight Management Agents 9.5 Installation Guide

Table 2 Command line arguments (continued)
DescriptionCommand line argument
When used with the /silent command, this argument
installs component in one of the following ways:
/f[orce]
If the component is already installed and current, it
reinstalls itself and the installed version number remains
the same.
If a newer version of the component is already installed,
the component installs itself and downgrades the
component to the older version number.
If this argument is omitted from the command line, the
installation is not forced.
When used with the /silent command, this argument
causes the target system to reboot if the installation requires
/r[eboot]
a reboot to complete installation. If this argument is omitted
from the command line, the server must be rebooted
manually for the installation to take effect.
The reboot takes place only if no installation errors occur.
Command line examples
The following table lists examples of command line input for single component installation.
NOTE: Although lowercase letters are used in these examples, either uppercase or lowercase
letters can be used.
Table 3 Examples of single component installations
ResultCommand line input
This command line starts installation of the CP002575.EXE
component.
cp002575
This command line installs the CP002575.EXE component
on the target server using the defaults of the component.
The GUI is not displayed.
cp002575 /s
This command line installs the CP002575.EXE component,
forcing the component to install over an existing version,
cp002575 /s /f /r
and enabling the server to reboot automatically if needed.
The GUI is not displayed.
Return codes
When each Smart Component has finished running, the component reports a return code to the
operating system or the calling application. These return codes display the status of the component
installation. You can also use return codes in a script to control the execution of the script and to
determine any branching that is required. Table 2-4 summarizes the Smart Component return
codes.
Table 4 Return codes
MeaningError level
The Smart Component failed to install. For more
information, see the log file.
0
The Smart Component installed successfully.1
Installing the agents from a cp00xxxx.exe file 11