You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same issue on an air-gapped 2022 preview server.
Fully aware that 2022 preview is not production ready. Just wanted to inform that the Issue exists so it can be fixed before GA
Spun up a 2022 on my home workstation (that do have Internet access).
On that one Windows terminal starts so on 2022 it seems to be an internet access issue.
Thanks for sharing jantari,
Probably worth noting, that the cmdlet Add-AppxPackage does not have a -LicensePath parameter, so you have to use Add-AppxProvisionedPackage
In the latest release of winget (v1.0.11692 - link here) Microsoft quietly included a license XML file. I just tried it out and was now able to install and run winget on Server 2022 Preview with:
We are not targeting Windows server builds, but the license is included for offline installation. I missed closing this issue when it was added to the release artifacts.
We are not targeting Windows server builds, but the license is included for offline installation. I missed closing this issue when it was added to the release artifacts.
To me that sounds like "we're trying to introduce a new tool, but we don't want it to become mainstream, so we'll only support half of our own portfolio of operating systems"
Currently, the Windows server SKUs don't ship with the Microsoft Store client enabled. This creates challenges for updating applications delivered by the Microsoft Store. As the Windows Package Manager ships as a part of the Desktop App Installer, and that is also not generally default on server SKUs, we don't yet have a solid delivery mechanism nor an update mechanism in place today.
We have already started looking at the next evolution for the Store For Business. The future integration with Intune is part of the story as we work towards support across our entire product portfolio.
Demitrius Nelon (@denelon) Thanks for that clarification!
Just so you know: at my current project, we'd kill for being able to use winget-cli over chocolatey during our Packer builds..., but we're staying away from it as long as we need to adopt different package managers between client and server OS builds
I continue to wonder why we have seen zero work on Cmdlets. This is disappointing - and for me at least a barrier to being able to recommend WinGet. It simply is not yet a complete Package Manager for Windows. Chocolately does a better job.
Jeffrey Snover used to say "Microsoft is not capable of sustained failure." Not sure it's true, in this case. At least so far.
In the latest release of winget (v1.0.11692 - link here) Microsoft quietly included a license XML file. I just tried it out and was now able to install and run winget on Server 2022 Preview with:
In the latest release of winget (v1.0.11692 - link here) Microsoft quietly included a license XML file. I just tried it out and was now able to install and run winget on Server 2022 Preview with:
Activity
denelon commentedon Jan 15, 2021
jakko10 is this computer air-gapped or is it connected to the Internet?
jakko10 commentedon Jan 15, 2021
It's connected to the internet.
matsmcp commentedon Mar 16, 2021
I have the same issue on an air-gapped 2022 preview server.
Fully aware that 2022 preview is not production ready. Just wanted to inform that the Issue exists so it can be fixed before GA
matsmcp commentedon Mar 16, 2021
Spun up a 2022 on my home workstation (that do have Internet access).
On that one Windows terminal starts so on 2022 it seems to be an internet access issue.
denelon commentedon Mar 16, 2021
Thank you for letting us know. We're looking into the issue trying to determine the root cause.
brwilkinson commentedon Mar 18, 2021
Recent installs seem to work on Server 2022. Not sure if there was any change.
Will update if future installs also work.
matsmcp commentedon Mar 18, 2021
Mine has broken over night. It now says. The system cannot execute the specified program
JohnT-MCE commentedon Apr 15, 2021
Still experiencing error
denelon commentedon Apr 15, 2021
JohnT-MCE what version of Windows are you on?
Is it a Windows Insider build?
Is it Windows server?
JohnT-MCE commentedon Apr 15, 2021
Windows Server 2022 LTSC 21H2 (Build 20329)
denelon commentedon Apr 23, 2021
We need to provide an offline license for server 2022.
Then the command to provision the license would look similar to:
Add-AppxProvisionedPackage -Online -PackagePath c:\Appx\myPackage.appx -DependencyPackagePath c:\Appx\dependency1\dependencyPackage.appx -LicensePath c:\Appx\myLicense.xml8 remaining items
djpbessems commentedon Jul 5, 2021
Thanks for sharing jantari,
Probably worth noting, that the cmdlet
Add-AppxPackagedoes not have a -LicensePath parameter, so you have to useAdd-AppxProvisionedPackagekaspersmjohansen commentedon Jul 5, 2021
Not working here for me. Which version of WS2022 are you using?
Nevermind, it's working. My system was missing the C++ Runtime framework packages for Desktop Bridge:
https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx
https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge#how-to-install-and-update-desktop-framework-packages
Andreas Nick has tweeted about how to get winget working on WS2019:
https://twitter.com/nickinformation/status/1411271194519785472?s=27
djpbessems commentedon Jul 6, 2021
For reference, this is the script I've used to install
wingetWindows Server 2019 myself(https://code.spamasaurus.com/djpbessems/Packer.Images/src/branch/Server2019/scripts/Install-WinGet.ps1):
turbcool commentedon Aug 20, 2021
Thank you, this worked for me (Enterprise LTSC 2019)
denelon commentedon Aug 20, 2021
We are not targeting Windows server builds, but the license is included for offline installation. I missed closing this issue when it was added to the release artifacts.
djpbessems commentedon Aug 20, 2021
To me that sounds like "we're trying to introduce a new tool, but we don't want it to become mainstream, so we'll only support half of our own portfolio of operating systems"
denelon commentedon Aug 20, 2021
Danny Bessems (@djpbessems) that was not the intent behind my comment.
Currently, the Windows server SKUs don't ship with the Microsoft Store client enabled. This creates challenges for updating applications delivered by the Microsoft Store. As the Windows Package Manager ships as a part of the Desktop App Installer, and that is also not generally default on server SKUs, we don't yet have a solid delivery mechanism nor an update mechanism in place today.
We have already started looking at the next evolution for the Store For Business. The future integration with Intune is part of the story as we work towards support across our entire product portfolio.
djpbessems commentedon Aug 21, 2021
Demitrius Nelon (@denelon) Thanks for that clarification!
Just so you know: at my current project, we'd kill for being able to use winget-cli over chocolatey during our Packer builds..., but we're staying away from it as long as we need to adopt different package managers between client and server OS builds
doctordns commentedon Aug 22, 2021
I continue to wonder why we have seen zero work on Cmdlets. This is disappointing - and for me at least a barrier to being able to recommend WinGet. It simply is not yet a complete Package Manager for Windows. Chocolately does a better job.
Jeffrey Snover used to say "Microsoft is not capable of sustained failure." Not sure it's true, in this case. At least so far.
Masamune3210 commentedon Aug 22, 2021
....I mean of course its not complete. Its not in the release build for a reason
meiyujack commentedon Jul 5, 2022
Same on LTSC 2021, but thanks~
kaspersmjohansen commentedon Jul 5, 2022
However still not supported in Windows Server 2022 or earlier