Customizing UpdateXpress System Pack using CLI

You can customize an UpdateXpress System Pack by specifying command line arguments.

The following prerequisites are required to complete this task.

Prerequisites

  1. Download the update that needs to be replaced in UpdateXpress System Pack.
    The update can be downloaded directly from the Lenovo website or the installer can be used to acquire the update. In either case, the update must be placed in the same directory as UpdateXpress System Pack.
  2. Run UpdateXpress System Pack Installer from the command line with options specifying the location on the file system to search for the update packages.
    The following example specifies a BIOS update. Example:
    C:\uxsp> lnvgy_utl_uxspi_10.6_winsrvr_32-64.exeupdate --local=C:\updates 
             --include=lnvgy_fw_uefi_the104b-1.00_anyos_32-64
  3. You can view the status on standard output stdout as the application reads all of the UpdateXpress System Pack XML files in the specified directory to determine which UpdateXpress System Pack is applicable to the system.
    UpdateXpress System Pack Installer builds an internal catalog of the available updates as specified by the XML file. This catalog is regenerated each time UpdateXpress System Pack runs.

    UpdateXpress System Pack performs the following tasks:

    1. Gathers the system inventory, providing status.
    2. Compares the inventory with the update catalog and determines a recommendation of updates to apply.
    3. Displays a list of available updates. This list includes: a description, filename, current version, new version, severity, a field for enabling or disabling each update, and a number associated with each update.
      Note: The recommended updates are already enabled.
  4. Enter the number of the updated that you want to enable or disable.
  5. Type a to apply the updates. Instructions are displayed on the screen to tell you how to perform this step.
    UpdateXpress System Pack performs the following tasks:
    • Provides status while it proceeds to sequentially run each applicable and enabled update on the local system.
    • Displays the final status of all the updates that were applied.
    • Exits with a return code designating whether the updates were successful or not.
    • Logs status to the system logs during this operation.
    The following list provides possible error conditions that can occur.
    • If the operating system is not supported, a message is displayed at the beginning of the UpdateXpress System Pack program stating that you cannot deploy updates. UpdateXpress System Pack exits with an unsuccessful return code.
    • If no UpdateXpress System Pack XML file can be found in the specified directory, that is supported by the local system machine type and operating system, a message similar to the following is displayed:
      Cannot find UpdateXpress System Pack XML file for this machine type 
      and operating system.
    • If an individual package has an error during deployment, UpdateXpress System Pack Installer continues with the next update, and then sets the return code for the appropriate time when UpdateXpress System Pack Installer program exits.