3
votes

I'm trying to install the winget-cli on my Win10 LTSC but it shows me a dependency error as you see here

"Provide the framework"Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimumversion 14.0.25426.0, along with this package to install."

and already tried to install the "C++ Runtime v14 framework package for Desktop Bridge" and the "%programfiles(x86)%\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop\14.0\Appx" appx's were included with the Add-AppxPackage but doesn't seem to work :/

How can I install it?

2

2 Answers

0
votes

Sorry about the challenge. Can you tell me the version of Windows? Type in WinVer from the command line to give me the specific version.

I was unable to repro this issue when running LTSB build 17763.10000.

Thanks Kevin

0
votes

I had similar issues installing and running winget. I needed the latest version of winget. Got it working as follows:

  1. Go to the application path %userprofile%\AppData\Local\Microsoft\WindowsApps enter image description here
  2. If winget.exe exists, skip this step, otherwise make sure you meet conditions or try to download & install the latest .appxbundle from https://github.com/microsoft/winget-cli/releases enter image description here
  3. Then go to your Environment Variables (if you can't find it, type it on Windows Search) enter image description here
  4. Click Edit, Environment Variables, Path, New enter image description here
  5. Then enter %userprofile%\AppData\Local\Microsoft\WindowsApps\
  6. Click Ok for all dialogs
  7. Open a new command line window (run-as Administrator is best)
  8. Should now work