Installing the Update Installer silently

You can install the WebSphere Commerce Update Installer by using a silent method, which uses a response file. No graphical interface is required. The silent installation method can be used to automate the installation.

Before you begin

  • AIXLinuxSolarisLog on:
    • As a root user
    • WebSphere Commerce Version 7.0.0.9 or laterFeature Pack 8Or as a non-root user that owns WC_installdir
  • WebSphere Commerce Version 7.0.0.9 or laterSolarisLinuxAIXFeature Pack 8If you want to use a non-root user to install UPDI, ensure that the non-root user owns the appropriate .profile file and consider the following installation limitations:
    • Packages that are installed by a non-root user cannot be registered through native operating system mechanisms, such as the Red Hat Package Manager (RPM) on Linux. WebSphere software registers in the installation registry file and the vpd.properties file. All installed components are fully functional despite the lack of native registration.
    • If you want to upgrade a previous version of UPDI that was installed by the root user, you must use the root user. If you want to use a non-root user, you must install UPDI to a new location.
    If you accept the limitations, to change ownership, perform the following steps:
    1. Log on as the root user.
    2. If the directory /tmp/niflog/ exists, create a backup and then remove the directory.
    3. Change the ownership of /home/non-root_userdir/.profile to non-root user and the non-root user group. For example, change ownership of /home/wasuser/.profile to wasuser and wasgroup.
  • For IBM i OS operating systemLog on with a user profile that has *SECOFR authority.
  • For IBM i OS operating systemSolarisLinuxAIXSet the following permissions:
    • Set root user umask to 0022.
    • Set non-root user umask to 0027.
  • If UPDI is installed, determine the version of UPDI by running the following command:
    • SolarisLinuxAIXUPDI_installdir/bin/versionInfo.sh
    • For IBM i OS operating systemUPDI_installdir/bin/versionInfo
    • WindowsUPDI_installdir/bin/versionInfo.bat
    Important:
    • You must always use the most recent version of the update installer. For information about the most recent version of the update installer, see WebSphere Commerce Update Installer

Procedure

  1. Create a temporary directory. This temporary directory is referred to as UPDI_tempdir.
  2. Obtain the latest version of WebSphere Commerce Update Installer and place in the UPDI_tempdir directory.

    For IBM i OS operating systemDownload the IBM i specific file to the client machine, for example, a Windows system.

  3. Extract the UPDI package into the UPDI_tempdir directory.
  4. Navigate to the UPDI_tempdir/UpdateInstaller/ directory and create the following file if it does not exist:
    • responsefile.updiinstaller.txt
  5. Edit the file and ensure that the following entries appear:
    • -OPT silentInstallLicenseAcceptance="true"
      Note: This variable represents the IBM license agreement that must be accepted to proceed. If this variable is not set to true, the installation does not proceed.
    • -OPT installLocation="UPDI_installdir"

      Where UPDI_installdir is the path to where you want to install the Update Installer.

    • WebSphere Commerce Version 7.0.0.9 or laterSolarisLinuxAIXFeature Pack 8For non-root user installation:

      -OPT allowNonRootSilentInstall="true"

      The option indicates whether you accept the limitations that are associated with installing as a non-root user. If you are installing as a non-root user and the variable is not set to "true", the installation fails.

  6. For IBM i OS operating system Start a Qshell session.
  7. Run the following command from the UPDI_tempdir/UpdateInstaller/ directory:
    • SolarisLinuxAIX./install -options responsefile.updiinstaller.txt -silent
    • For IBM i OS operating systeminstall -options responsefile.updiinstaller.txt
    • Windowsinstall -options responsefile.updiinstaller.txt -silent
    Note: During the installation of UPDI, you might receive a warning that indicates that there is another version of UPDI on the system. A list of Update Installer locations is displayed. This list includes Update Installers for all WebSphere Software.
    • For root users, or users with administrative authority, it is recommended that you uninstall the other copies of WebSphere Commerce Update Installer and install the most recent version. If the list contains installers that are not used for WebSphere Commerce, then these installers do not need to be uninstalled and the warning can be safely ignored.

      WebSphere Commerce Version 7.0.0.9 or laterSolarisLinuxAIXFeature Pack 8For non-root users, do not attempt to update the existing UPDI. Install UPDI to a new directory.

    • To determine whether the location specified contains an installer for WebSphere Commerce, check the version.txt file that is found in the detected product path. For WebSphere Commerce, this file contains the following message:
      WebSphere Commerce Update Installer.
      
      For other WebSphere Software, the file contains the following message:
      
      IBM Update Installer for WebSphere Software.
      
      Only the WebSphere Commerce Update Installer can apply maintenance to WebSphere Commerce software. Similarly, you must use the Update Installer for WebSphere Software to apply maintenance to WebSphere Application Server.
  8. Verify that the installation was successful by reviewing the following log file:
    • UPDI_installdir/logs/install/log.txt

Results

The WebSphere Commerce Update Installer is installed.