Tuesday, April 25, 2023

Install Winget on Windows 2022

Install Winget on Windows 2022

This is not working anymore on Windows 10 LTSC as of 10/14/2023

Use this post for an updated instructions - https://8thstring.blogspot.com/2023/10/install-winget-on-windows-2022-or.html

Install Pre-reqs

Install Microsoft.UI.Xaml/2.7.3

Navigate to https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.3, on the left side look for Download Package button to download microsoft.ui.xaml.2.7.3.nupkg.

Using 7-zip, extract microsoft.ui.xaml.2.7.3.nupkg\microsoft.ui.xaml.2.7.3.nupkg\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx

Install
PS C:\>Add-AppxPackage .\Microsoft.UI.Xaml.2.7.appx

Install Microsoft.VCLibs.140.00.UWPDesktop

Download https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx

Install
PS C:\>Add-AppxPackage .\Microsoft.VCLibs.x64.14.00.Desktop.appx

Install Winget

Download Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle or any recent versions (tested using 1.4.10173) from Github

Download license file 3463fe9ad25e44f28630526aa9ad5648_License1.xml (should be one of the artifacts) from Github, the same URL from above.

Install
PS C:\>Add-AppxProvisionedPackage -Online -PackagePath .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -LicensePath .\3463fe9ad25e44f28630526aa9ad5648_License1.xml -Verbose


Refs: https://www.virtualizationhowto.com/2021/11/install-winget-in-windows-server-2022-no-applicable-app-licenses-error/

No comments:

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...