OSD icon indicating copy to clipboard operation
OSD copied to clipboard

OOBE WinGet Upgrade Error

Open Tehpaartos opened this issue 8 months ago • 4 comments

Describe the bug During the OOBE setup process using the osdcloud-InstallWinGet function is failing

To Reproduce During the OOBE Setup run powershell iex (irm sandbox.osdcloud.com)

Expected behavior osdcloud-InstallWinGet funtion to upgrade Microsoft.DesktopAppInstaller Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: n/a
  • Version 24H2
  • Hardware: VM & Laptop

Additional context Add any other context about the problem here.

Tehpaartos avatar Apr 28 '25 03:04 Tehpaartos

What Edition and Language is installed?

OSDeploy avatar Apr 28 '25 03:04 OSDeploy

Windows 11 Pro, 24H2 with en-US

Tehpaartos avatar Apr 28 '25 05:04 Tehpaartos

If you look in the error, it displays the packages needed. You're welcome to submit a PR to make the change. I won't be able to work on this for some time.

OSDeploy avatar Apr 28 '25 14:04 OSDeploy

This is occurring due to Microsoft no longer providing Microsoft UI Xaml pre-req via the GitHub repo anymore, or anywhere for that matter that's usable automatically, used in this line: https://github.com/OSDeploy/OSD/blob/f8170c80c08c753980c41107e7e20e9fd46723d9/cloud/modules/ne-winpe.psm1#L110

The winget-cli repo now includes the dependencies as part of their releases https://github.com/microsoft/winget-cli/releases/tag/v1.10.390 (DesktopAppInstaller_Dependencies.zip) so would need to update the code to download that zip, extract then loop through the contents.

Image

If I get some free time, I'll have a bash at a PR but can't promise anything right now.

tekuadam avatar May 21 '25 04:05 tekuadam