Skip to main content

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/

Comments

Popular posts from this blog

Error! Could not locate dkms.conf file install VirtualBox 4.1.8 on Ubuntu 11.10

Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed properly except that VirtualBox installation was complaining about missing dkms.conf file, see error message below. $: sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules Error! Could not locate dkms.conf file. File: does not exist. [ OK ] * Trying to register the VirtualBox kernel modules using DKMS [ OK ] * Starting VirtualBox kernel modules [ OK ] Though it looks like installation was fine but I am concerned about its effects to VirtualBox functionality. To fix this, do: $: cd /var/lib/dkms/vboxhost $: sudo rm -r 4.1.4 $: sudo /etc/init.d/vboxdrv setup Of course you have to re...

UnrealEngine GenerateProjectFiles.bat error - could be due to missing RPCUtility.exe

Tried to run  GenerateProjectFiles.bat to build Unreal Engine from source ( link ),  but got error like below: C:\>Users\x\UnrealEngine>GenerateProjectFiles.bat Setting up Unreal Engine 4 project files... GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects.  Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script. To fix, run setup.bat like: C:\Users\x\prj\UnrealEngine>setup.bat Note that you have to say no to the prompt Would you like to overwrite your changes (y/n)? .