An installation guide for Winget on Windows 10 LTSC which can be found below.
- The author of the original forked repo maintained a list (winget.ps1) of software they may install on a fresh installation of Windows 10 using Winget, I will update this to reflect my usecase in the future.
⚠ Manual installation does not receive auto updates, but is the only option without installing Windows Store on LTSC ⚠
- Open an elevated (administrator) PowerShell prompt and keep it open throughout this guide.
- SEB: For Beckhoff IPCs I had to use the Default Windows Powershell to install WinGet, not Pwsh7.
- Download the correct VC++ v14 Desktop Framework Package for your architecture.
- Install with:
Add-AppxPackage -Path "PATH TO FILE"
Winget v1.2.10271 introduced a new dependency for Microsoft.UI.Xaml.2.7 which you have to install manually. The solution to install this on LTSC is not pretty, but it works.
- Download the Nuget package manually by clicking "Download package" on the right hand side under the "About" section.
- Change the file extension from
.nugetto.zipand open it with any archiving program. - Within the archive navigate to
tools\AppX\[YOUR ARCHITECTURE]\Releaseand extractMicrosoft.UI.XAML.2.7.appx. - Install with:
Add-AppxPackage -Path "PATH TO FILE"
- Make sure all dependencies are installed before doing this!
- SEB: You can get dependencies bundles from the latest WinGet cli release or the latest versions from above.
- From the latest release download the .msixbundle install- and .xml license file: https://github.com/microsoft/winget-cli/releases/latest
- Install with:
Add-AppxProvisionedPackage -Online -PackagePath "PATH TO MSIXBUNDLE" -LicensePath "PATH TO XML" -Verbose - Wait for the install to finish and you're done. You may need to restart the terminal, or reboot your pc.
- Verify that the installation succeeded by running
wingetin PowerShell. If no errors occur then you're done!