OOBE WinGet Upgrade Error
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
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.
What Edition and Language is installed?
Windows 11 Pro, 24H2 with en-US
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.
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.
If I get some free time, I'll have a bash at a PR but can't promise anything right now.