Removing a maintenance package from the installation directory silently

After you remove a maintenance package from any applicable WebSphere Commerce instances, you can remove the maintenance package from the WebSphere Commerce installation directory.

Before you begin

About this task

Complete the following steps to uninstall the maintenance package from the WebSphere Commerce product directory.

Procedure

  1. Windows Ensure that you are logged in 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 you are logged in with a user profile that has *SECOFR authority.
  4. Navigate to the UPDI_installdir/responsefiles directory and open the uninstall.txt file in a text editor. Edit the following lines:
    1. Update the -W backup.package entry with the name of the maintenance package that you want to uninstall.
      Note: If the -W backup.package is not specified, the most recently installed maintenance package is uninstalled.
    2. Update the -W product.location with the location of the WebSphere Commerce installation.
    3. Ensure that the following line does not exist or is commented out of the uninstall.txt file:
      -W update.instancename="instance_name"
      
      Where instance_name is the name of your WebSphere Commerce instance.
    4. Save the file changes.
  5. For IBM i OS operating system Open the Qshell by typing QSH at the command prompt
  6. Run one of the following commands from the UPDI_installdir directory:
    • LinuxAIX./update.sh -silent -options UPDI_installdir/responsefiles/uninstall.txt
    • For IBM i OS operating systemupdate -options UPDI_installdir/responsefiles/uninstall.txt
    • Windowsupdate.bat -silent -options UPDI_installdir/responsefiles/uninstall.txt
  7. Check the log file for errors.
    The log files are in: WC_installdir/logs/update/8.0.0-WS-WCServer-FP00X.uninstall