-
Brief description of your issueI'm trying to install winget on a server2019 box to start eval if winget may be the right product to solve in issue we have (CDN kind of thing) Steps to reproduceinstall a server 2019 ( I used the en_windows_server_2019_updated_nov_2020_x64_dvd_8600b05f.iso media) It gave me an Error about missing Visual C so I went to https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge#how-to-install-and-update-desktop-framework-packages and downloaded the X64 package. That package was installed with Add-AppxPackage .\desktop\Microsoft.VCLibs.x64.14.00.Desktop.appx The system was rebooted and now I expected winget to work in a cmd window. It does not. to verify that the exe is missing C:> Expected behaviorwinget starting Actual behaviorSee reproduce EnvironmentServer 2019 |
Beta Was this translation helpful? Give feedback.
Replies: 25 comments 18 replies
-
I'm having the same issue on a fresh new Server 2019 VM, but I'm not sure if winget it's supposed to work on Server versions.
so, build-wise Server 2019 should be fine. I tried following the solutions found in #210, and what I found is that even though the execution alias is registered and enabled, the Again, I'm not sure winget has been tested and it's supposed to work on Server versions. |
Beta Was this translation helpful? Give feedback.
-
see also #702 |
Beta Was this translation helpful? Give feedback.
-
@denelon please prioritize this so that it doesn't slip further. While there is a workaround from @al-cheb, and I appreciate it, it is a pile of copy/paste which everyone will need to do meanwhile actions/runner-images#910 (comment) |
Beta Was this translation helpful? Give feedback.
-
very much our customers would be amazed if we could provide winget as a unified solution for updating their public apps. Many of these do not afford patchmypc, configmgr etc. Server 2019 and Server 2022 should be supported and I do not see many technical restrictions. |
Beta Was this translation helpful? Give feedback.
-
Using the page @Karl-WE posted on another comment, I do notice for my environment, C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.12.11692.0_x64__8wekyb3d8bbwe was generated; but the EXEs act like #1328. I also am unclear how these EXE names translate to WinGet in the first place.
Edit: looks like #712 is more like this error. |
Beta Was this translation helpful? Give feedback.
-
I have tried it again on a Server 2022 release but no luck. This time it tells me I have a missing license when running winget. |
Beta Was this translation helpful? Give feedback.
-
"how this exe names translate to winget". |
Beta Was this translation helpful? Give feedback.
-
@Karl-WE we aren't targeting server builds, but we do publish the license for offline installation. |
Beta Was this translation helpful? Give feedback.
-
Is this a we will never thing, or a just not right now thing. With the drop of the Windows Store for business site After 2023 we won't be able to install some windows store apps on server, like snip and sketch, photos, calculator etc. These are great to haves for remote desktop services. |
Beta Was this translation helpful? Give feedback.
-
@vtron it's a not right now thing. I don't have an ETA, but we have quite a bit of work to do related to polish, PowerShell support, and other Windows Package Manager product work to complete first. I'm sure you've been seeing some of the work related to the Microsoft Store and the Windows Package Manager. The store source for the Windows Package Manager is still experimental, and we have several other big challenges with respect to paid apps and entitlements to address. Intune integration is coming. |
Beta Was this translation helpful? Give feedback.
-
@denelon I've only just started looking at the package manager and was trying it on a server. This is where I do most of my app install management. But good to know it is on the road map. |
Beta Was this translation helpful? Give feedback.
-
Please fix this and support Windows Server. Servers are where this is MOST useful. It is truly insane that time and time again, MS develops these useful things, then completely botches the distribution. |
Beta Was this translation helpful? Give feedback.
-
Alex, I feel your pain and I see it the same. There are many other examples that do not make sense as they are. Sconfig is recoded from WSH to PowerShell but cannot be run in PS Remoting session things like that. While there is no official support for Winget on Server it is possible to install it, see above. |
Beta Was this translation helpful? Give feedback.
-
@Karl-WE Thank you. The file referenced above, |
Beta Was this translation helpful? Give feedback.
-
Wonder when this changed without app installer you cannot install winget. |
Beta Was this translation helpful? Give feedback.
-
Based on my initial findings, we will not be able to support Windows Package Manager on Windows Server 2019. The Windows Package Manager on Windows Server 2022 should be considered experimental only and thus also not supported, but it may be possible in the future. I'm still identifying gaps and risks. I will continue collecting feedback from customers and communicating the aggregated demand. We are working on integration with Intune, and continuing to make improvements with the Microsoft Store. Full support for Delivery Optimization is also in progress. @matsmcp would you prefer to close this issue, or mark it as a duplicate of 702? |
Beta Was this translation helpful? Give feedback.
-
@matsmcp this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The usecase we was looking at was to use winget as a central repository for a number of different domains with no trust or federation between them. These domains are airgapped against internet and the same Ip range can be used in multiple nets/domains. For this Scenario we currently are tracking three blocking issues:
I still believe that the fix for the two first issues is to drop the appx packaging and make it a standard MSI instead. And since the store now supports them a MSI based package would work online, offline and over SSH/WinRM Issue three takes some more work |
Beta Was this translation helpful? Give feedback.
-
I've converted this to a Discussion so the action of closing the Issue doesn't make the discussion harder to find or contribute to. We've updated the README.md with the official status of Windows Package Manager on Windows Server 2019. |
Beta Was this translation helpful? Give feedback.
-
I want to install the "Windows Admin Center" on Windows Server 2019. It is a package intended to be installed on servers. When I do a winget search I can find it under "Microsoft.WindowsAdminCenter" and the source is "winget", not msstore. Given that it isn't dependent on the Windows Store, then logically it should be possible? And I'm sure that there is other software which winget would be perfectly good for on a server without having to use the Windows Store. So how about opening up non-msstore packages to work on Server 2019/2022? |
Beta Was this translation helpful? Give feedback.
-
A new workaround for this is available. |
Beta Was this translation helpful? Give feedback.
-
@alexchandel, no it it does not seem necessary, while still unsupported the implementation of Winget works best on the latest version of WS , currently WS 2022. |
Beta Was this translation helpful? Give feedback.
-
@jphellemons winget is now supported on Windows Server 2025 (preview). No change of support policy with WS 2019 and WS 2022. |
Beta Was this translation helpful? Give feedback.
-
Hey @denelon, |
Beta Was this translation helpful? Give feedback.
I've converted this to a Discussion so the action of closing the Issue doesn't make the discussion harder to find or contribute to. We've updated the README.md with the official status of Windows Package Manager on Windows Server 2019.