Silently installing maintenance updates

 

To apply maintenance updates to WebSphere MQ:

  1. Ensure that all WebSphere MQ function is stopped. You must:

    1. Stop execution of all queue managers

    2. Stop execution of all channels

    3. Stop execution of all listeners

    4. Ensure the WebSphere MQ service has stopped

  2. Exit all Windows programs before applying maintenance to WebSphere MQ.

  3. Change to the directory into which you downloaded the refresh pack or fix pack file.

  4. In Windows Explorer, right-click the fix pack file and select Open. Alternatively, enter the following command at a command prompt: MaintenanceLauncher [-s] -a install_arguments

    where:

    MaintenanceLauncher

    is the full path to the fix pack or refresh pack executable file, for example WebSphereMQMDV7.0.1.0EnUs.exe.

    -s

    is optional and means that the maintenance launcher extracts silently. If you omit this, a progress of extraction panel is displayed.

    -a

    means 'read in the following install arguments'

    install_arguments

    are the arguments that determine how the installer runs. These are specified in PROPERTY=value pairs. Table 1 shows the properties that can be used as install_arguments.

    Properties used to install a maintenance update
    Property Values Description
    MQPLOG path\file_name Specifies the log to be used during install/uninstall, for example MQPLOG="C:\TEMP\UPDATEINSTALL.LOG"
    MQPBACKUPPATH path Specifies the directory to backup into during install, for example MQPBACKUPPATH="C:\BACKUP"
    MQPREBOOT 0|1 Specifies what to do when a reboot is required, for example MQPREBOOT=1.

    • If no value is supplied, you will be prompted for what to do.

    • If MQPREBOOT is set to 0, a reboot will be supressed

    • If MQPREBOOT is set to 1, the reboots will go ahead without prompting.

    MQPSILENT 0|1 Specifies whether to do a silent install or not, for example MQPSILENT=1.

    • If no value is supplied, or if MQPSILENT is set to 0, the install is interactive.

    • If MQPSILENT is set to 1, the install is silent.

    MQPINUSEOK 0|1 Specifies whether to continue even if a file is found to be currently locked by another application. If you choose to continue even if a file is currently locked by another application, then you will need to reboot to complete fixpack installation.

    • If no value is supplied, or if MQPINUSEOK is set to 0, the installation will fail if files are found to be in use by other applications.

    • If MQPINUSEOK is set to 1, the installation will be deferred until you reboot.

    MQPUNINST 0|1 Specifies the removal of the last fixpack.

    • If no value is supplied, or if MQPUNINST is set to 0, the fixpack will be installed.

    • If MQPUNINST is set to 1, the latest fixpack will be uninstalled.

    An example of a command to install a maintenance update silently is:

    WebSphereMQMDV7.0.1.0EnUs.exe -s -a MQPLOG="C:\TEMP\UPDATEINSTALL.LOG" 
    MQPBACKUPPATH="C:\BACKUP" MQPSILENT=1

After successful extraction the installer runs automatically according to the chosen arguments.

Follow the instructions on the install panels. When you have completed the installation, review the memo supplied in the readme directory, and complete any manual post-installation tasks required.

 

Parent topic:

Applying the maintenance information