Previous Topic: HP-UX Native Package InstallationNext Topic: Install HP-UX Native Packages


Customize the SD-UX Format Packages

Before you can install CA ControlMinder using a native package, you must customize the CA ControlMinder package to specify that you accept the license agreement. You can also specify custom installation settings when you customize a package.

You customize a package by extracting the installation parameters file from the package, modifying it as required, and then loading it back into the package. Some commands are available in the customization script so that you do not have to modify the parameters file.

Note: We recommend that you do not modify the package manually. Instead, use the script as described in the following procedure to customize the CA ControlMinder package.

You can find the Software Distributor-UX (SD-UX) format package for each of the supported HP-UX operating systems in the NativePackages directory of the CA ControlMinder Endpoint Components for UNIX DVD.

To customize the SD-UX format packages

  1. Extract the package you want to customize to a temporary location on your file system.

    In the read/write location on the file system, the package can be customized as required.

    Important! When you extract the package, you must make sure that file attributes for the entire directory structure of the package are preserved or HP-UX native packaging tools will consider the package corrupt.

  2. Copy the customize_eac_depot script file and the pre.tar file to a temporary location on your file system.

    The pre.tar file is compressed tar file containing installation messages and the CA ControlMinder license agreement.

    Note: You can find the customize_eac_depot script file and the pre.tar file in the same location where the native packages are.

  3. Display the license agreement:
    customize_eac_depot -a [-d pkg_location] pkg_name
    
  4. Take note of the keyword that appears at the end of the license agreement inside square brackets.

    You specify this keyword in the next step.

  5. Customize the CA ControlMinder package to specify that you accept the license agreement:
    customize_eac_depot -w keyword [-d pkg_location] [pkg_name]
    
  6. (Optional) Set the language of the installation parameters file:
    customize_eac_depot -r -l lang [-d pkg_location] [pkg_name]
    
  7. (Optional) Change the installation directory:
    customize_eac_depot -i install_loc [-d pkg_location] [pkg_name]
    
  8. (Optional) Change the default encryption files:
    customize_eac_depot -s -c certfile -k keyfile [-d pkg_location] [pkg_name]
    
  9. (Optional) Get the installation parameters file:
    customize_eac_depot -g -f tmp_params [-d pkg_location] [pkg_name]
    
  10. (Optional) Edit the installation parameters file to suit your installation requirements.

    This file lets you set the installation defaults for the package. For example, activate the POSTEXIT setting (remove the preceding # character) and point it to post-installation script file you want to run.

  11. (Optional) Set the installation parameters in your customized package:
    customize_eac_depot -s -f tmp_params [-d pkg_location] [pkg_name]
    

    You can now use the package to install CA ControlMinder with the customized defaults.

Example: Specify That You Accept the License Agreement

To accept the license agreement when installing a native package, you customize the package. The following example shows you how you do customize the x86 CA ControlMinder SD-UX package that you can find on the CA ControlMinder Endpoint Components for UNIX DVD (mounted to /mnt/AC_DVD) to accept the license agreement:

cp /mnt/AC_DVD/NativePackages/_HPUX11_PKG_*.tar.Z /tmp
cp /mnt/AC_DVD/NativePackages/pre.tar /tmp
cd /tmp
zcat _HPUX11_PKG_*.tar.Z | tar -xvf -
/mnt/AC_DVD/NativePackages/customize_eac_depot -w keyword -d /tmp CAeAC

You can now use the customized package in the /tmp directory to install CA ControlMinder.

More information:

customize_eac_depot Command—Customize an SD-UX Format Package