github jantari/LSUClient v1.4.0
Version 1.4.0

latest releases: v1.6.2, v1.6.1, v1.6.0...
2 years ago

Changelog since 1.3.4

  • Packages with reboot type 5 will now be correctly classified as unattended (thanks @dkattan)

  • The Install-LSUpdate cmdlet now returns rich PackageInstallResult objects with the following properties:

    [string] $ID
    [string] $Title
    [Nullable[PackageType]] $Type
    [bool] $Success
    [string] $FailureReason
    [PackagePendingAction] $PendingAction
    [Nullable[Int64]] $ExitCode
    [string[]] $StandardOutput
    [string[]] $StandardError
    [string[]] $LogOutput
    [TimeSpan] $Runtime

    where PendingAction is an enum of NONE, REBOOT_SUGGESTED, REBOOT_MANDATORY or SHUTDOWN.

    ℹ️ The PendingAction property is now the recommended way to determine whether a power cycle should be performed (over the -SaveBIOSUpdateInfoToRegistry parameter of Install-LSUpdate), because the PendingAction property is set for ALL installs, not just BIOS updates, and there are other updates as well for which "it simply isn't safe to postpone the reboot".

    That said, -SaveBIOSUpdateInfoToRegistry will continue to work the same as before. To aid the transition, the following table compares the values to expect in different scenarios - the exact code deciding the value of PendingAction can be referenced here as well:

    Scenario PendingAction "ActionNeeded" registry value with -SaveBIOSUpdateInfoToRegistry
    ThinkPad BIOS update REBOOT_MANDATORY REBOOT
    ThinkCentre BIOS update SHUTDOWN SHUTDOWN
    Any Reboot Type 5 update REBOOT_MANDATORY -
    Any Reboot Type 3 update REBOOT_SUGGESTED -
    Any Reboot Type 0 update NONE -
    Any unsuccessful update NONE -
  • Fix some packages with MSI installers failing to install with "The command or file ... could not be found" error

  • Fix a syntax mistake that caused all _OS tests to always succeed leading to inaccurate Win10/Win11 distinction [#48]

Don't miss a new LSUClient release

NewReleases is sending notifications on new releases.