Install patches in batch mode

  1. At the command line, change directories to the directory where you downloaded patches

    cd PatchDirectory

  2. Unzip the file for the most recent patch. (Using the most recent patch will ensure that you are using the most recent installer program.)

    jar -xvf FileName.zip

    where

    FileName is name of the most recent patch you downloaded.

  3. Launch the installer

    java -jar FileName.jar -b DirectoryPath -p PackageName InstanceName

    where

    FileName is name of the most recent patch you unzipped.

    DirectoryPath is the directory where the patches are located (usually the directory you are currently in).

    PackageName (optional) is the name of the Lawson product to patch. Valid package names are:

    • LSFCT (Lawson Core Technology)
    • PORTAL (Lawson Portal application server component)
    • PORTALWEB (Lawson Portal web server component
    • STUDIO (Design Studio application server component)
    • STUDIOWEB (Design Studio web server component)
    • ECA (Application Developer Workbench)

    InstanceName (optional) is the name of the Environment to patch

    Example

    lsfprod1

  4. When the installer prompts you to unzip files, type 1 for Yes.

    The installer evaluates the patch files you downloaded to determine which products they contain patches for.

  5. If you downloaded patches for multiple products (for example, Lawson Core Technology plus Lawson Portal), but did not specify a PackageName, the installer prompts you to choose which package you want to install. Type the number corresponding to the product.
  6. If you did not specify an InstanceName to patch, the installer prompts you to choose the Environment. Type the number corresponding to the Environment.

    The installer evaluates the system to determine whether the patches in your PatchDirectory are valid for your system.

    When the evaluation is complete, the installer displays a summary of patches that will not be installed. The following messages may appear.

    Message Definition
    PatchName: Does not contain a valid Lawson product The patch file is not a Lawson .jar file.
    PatchName: Is not a patch package. The package is a service pack or full product install, not a patch.
    PatchName: Does not contain the selected package. This patch file does not contain patches for the PackageName you specified.
    PatchName: Is the same as PatchName You have duplicate patch files in your PatchDirectory. Only one patch will be installed.
    PatchName: Is already installed. This patch already resides on your system.
    PatchName: Is already superseded. This patch has been superceded by a newer patch that already resides on your system.
    PatchName: Will be superseded by PatchName The patch is already superceded by a different patch in your download directory. Only the newer patch will be installed.
    PatchName: There are no deliverables for the selected package This message will appear if you launch the installation with a specific PackageName (product), and the installer finds patch files that are for a different product.
    PatchName: Not applicable for current service pack level The patch is for an earlier service pack or a service pack you have not yet installed. You do not need to install it.
    PatchName: Is for a different hardware platform This patch file is not intended for your operating system or hardware. Ensure that you accessed the patch page on Infor Concierge for the correct operating system.
  7. The installer displays a list of patches to install. Type 1 to proceed, or 2 to cancel.

    When the installation is complete, a message displays.