Installing a Custom Package on UNIX, Linux, and Macintosh Computers Using the Answer File
You can install the custom package in silent mode by using the answer file. The answer file is the .xml file that contains the parameters and values that were selected during the custom package creation and is included in the package.
Installations in silent mode are also known as unattended installations.
Note: If the custom package was configured to prompt for user input, the installation in silent mode skips the installation prompts and uses the default installation settings. To interact with the installation prompts, use the steps described in Installing the Custom Package on UNIX, Linux, and Macintosh Computers.
Before You Begin
- Obtain the custom package from the location specified by the user who created it.
If the package is in the Download Center, see Downloading a Software Package in Download Center - Web Console.
- Based on the agents that are included in the custom package, verify that the computer on which you want to install the package satisfies the minimum requirements specified in System Requirements.
- Find the answer file and review important considerations.
The answer file is the default.xml file that is included in the custom package. For example, suppose the custom package is located in the /opt/UnixCustomPackage directory. The default.xml file is located in the /opt/UnixCustomPackage/pkg subdirectory.
- If the package is in a .tar file (for example, /opt/UnixCustomPackage/tar), extract the contents using the "GNU" TAR utility.
- If you want to customize the .xml file, see Customizing the Answer File of a UNIX, Linux, and Macintosh Custom Package.
- If you have a 64-bit Linux computer and you want to protect 32-bit applications, you must create a lock file to enable 32-bit agent installations. For instructions, see the Alternate Method in Enabling 32-Bit Installations on 64-Bit Linux Computers.
- If you want to use the authorization code during the silent installation, you must obtain it from the Command Center.
- Log on to the computer as an Administrator or as a member of the Administrator group on that computer.
- At the command line, go to the location where you stored the custom package and find the pkg subdirectory.
- To install the package in silent mode, run the following command:
./silent_install -p default.xml -authcode authcodenum
Where authcodenum is the company authorization code, which is required if you did not enter the installation user's credentials when the package was created. To obtain the authorization code, go to Command Center Companies > Company name > General or CommCell > General.
If the answer file is in a different location, update the command by replacing default with the path to your .xml file.
During the installation, messages related to the installation progress are displayed on the command line interface.
For a list of installer error codes, see Installer Error Codes.
Register the client using one of the following methods:
- Registering the Client Using the CommCell Console
If you do not have access to the console, a user with administrative rights in the CommCell must perform the registration for you.
- Registering the Client Using the Command Line
- Interactive End-User Edge Monitor Activation (only for Macintosh computers)
Last modified: 12/19/2018 8:07:06 PM