Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boxstarter.Winconfig\Install-WindowsUpdate errors out with 0x8002802B (TYPE_E_ELEMENTNOTFOUND) #572

Open
6 tasks done
Geo-Ron opened this issue Jul 11, 2024 · 1 comment · May be fixed by #573
Open
6 tasks done
Labels
Bug Issues where something has happened which was not expected or intended

Comments

@Geo-Ron
Copy link

Geo-Ron commented Jul 11, 2024

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

Since 10-7-2024 Boxstarter on Windows 11 installs several updates, reboots and sequential updates error out.

It seems that $searcher.Search($Criteria) at line 72 in Install-Windowsupdate.ps1 returns an empty System.__ComObject

At line 84 we try to call the method AcceptEULA() on that weird object, that does not exist
image

What is Expected?

skip the not-update object

How Did You Get This To Happen?

Boxstarter.Winconfig\Install-WindowsUpdate -AcceptEula -getUpdatesFromMS

System Details

  • Operating System: 10.0.0.22621.0
  • Windows PowerShell version: 5.1.22621.3880
  • Chocolatey CLI Version: 2.3.0
  • Chocolatey Licensed Extension version:
  • Chocolatey License type:
  • Terminal/Emulator:

Installed Packages

Chocolatey v2.3.0
Boxstarter 3.0.3
Boxstarter.Bootstrapper 3.0.3
Boxstarter.Chocolatey 3.0.3
Boxstarter.Common 3.0.3
Boxstarter.HyperV 3.0.3
Boxstarter.WinConfig 3.0.3
chocolatey 2.3.0
vmware-tools 12.4.0.23259341

Output Log

not applicable

Additional Context

none

@Geo-Ron Geo-Ron added the Bug Issues where something has happened which was not expected or intended label Jul 11, 2024
@Geo-Ron
Copy link
Author

Geo-Ron commented Jul 11, 2024

image

image

image

@Geo-Ron Geo-Ron linked a pull request Jul 11, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant