Updating the installation directory silently

You can use the silent method to install a maintenance package to update the WebSphere Commerce product to a new maintenance level.

Before you begin

Ensure that the following tasks are completed:
  1. Download and install the WebSphere Commerce Update Installer.
  2. Fix packs for WebSphere Commerce
  3. Save the maintenance package to the maintenance directory: UPDI_installdir/maintenance
  4. Ensure that the WebSphere Commerce Configuration Manager server is stopped.
  5. Stop the IBM Knowledge Center Help Server.
  6. Run the stagingprop utility before you install the maintenance package.
LinuxAIXNote: If you are a non-root user, you can apply maintenance packages only if you installed WebSphere Commerce Update Installer as a non-root user.

Procedure

Complete the following steps to install the maintenance package to the WebSphere Commerce product directory.
  1. Windows Log on with a user ID that is a member of the Windows Administration group.
  2. LinuxAIX Log on.
    • Log on as the root user
      • If you are already signed onto the system, issue the command su - root. Do not use the command su root. This command does not load the necessary root user's profile and environment.
    • Or log on as a non-root user that owns WC_installdir.
  3. For IBM i OS operating system Ensure that your user has *SECOFR authority.
  4. Go to the UPDI_installdir/responsefiles directory and open the install.txt file in a text editor.
  5. Edit the install.txt file, ensuring the following sections are edited and are not commented out:
    Note: To uncomment a line, remove the # character from the beginning of the appropriate entry.
    • Ensure that the -W maintenance.package line contains the directory that contains the maintenance package. For example,
      • For IBM i OS operating system-W maintenance.package="/QIBM/ProdData/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
      • AIX-W maintenance.package="/usr/IBM/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
      • Linux-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/V8/UPDI/maintenance"
      • Windows-W maintenance.package="C:\Program Files\IBM\WebSphere\UpdateInstaller\V8\UPDI\maintenance"
    • Ensure that the -W product.location line contains the full path name of the WebSphere Commerce installation directory. For example,
      • For IBM i OS operating system-W product.location="/QIBM/ProdData/CommerceServer80"
      • AIX-W product.location="/usr/IBM/WebSphere/CommerceServer80"
      • Linux-W product.location="/opt/IBM/WebSphere/CommerceServer80"
      • Windows-W product.location="C:\Program Files\IBM\WebSphere\CommerceServer80"
      Verify that the -W update.instancename and -W update.db entries do not exist or that they are commented out. Save the file and exit.
    • Ensure that the following lines indicate that you accept both IBM and third-party license agreements:
      • -OPT silentInstallLicenseAcceptance="true"
      • -OPT silentInstall3rdPartyLicenseAcceptance="true"
  6. For IBM i OS operating system Start a Qshell session by typing QSH at the command prompt.
  7. Run the following command from the UPDI_installdir :
    • For IBM i OS operating systemupdate -options UPDI_installdir/responsefiles/install.txt
    • LinuxAIX./update.sh -options UPDI_installdir/responsefiles/install.txt -silent
    • Windowsupdate.bat -options UPDI_installdir/responsefiles/install.txt -silent

    WindowsWhen the prompt returns wait for the Java process that is associated with the Update Installer to finish.

  8. Check the log files for errors.
    The log files are in directory WC_installdir/logs/update/8.0.0-WS-WCServer-FP00X.install.