Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add support installation on Windows Server 2022 #1929

Closed
David-Noble-at-work opened this issue Feb 11, 2022 · 1 comment
Closed
Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs
Milestone

Comments

@David-Noble-at-work
Copy link

Brief description of your issue

Please start by providing a well-advertised and discoverable download and a list of prerequisites with download links. This should be straightforward. I think you will find that most people will say the winget cli is most useful on systems without Microsoft Store availability. It is surprising that a package manager isn't standard on server class machines.

Steps to reproduce

  1. Search the internet for "winget-cli downloads", "winget-cli releases", and "install winget-cli on Windows Server".

  2. Find this site and other Microsoft sites that say things like:I

    • Installation on Windows Server isn't supported,
    • You might be able to install on Windows Server 2022
    • You'll need to instal prerequisites on Windows Server 2022
  3. Observe there are third-party articles with instructions and bad links (stuff it seems someone has removed).

  4. Observe that this site either hides or obscures anything that would make it possible for someone to discover what's required to install on Windows Server 2022.

  5. Suspect that the developers on this site don't care about Windows Server consumers and be sad about using Microsoft Windows at all.

Expected behavior

Find release notes, download links, and instructions for installing winget-cli on the platform where it is perhaps most useful: Windows Server.

Actual behavior

  • Find release notes, no download links, no instructions, and unanswered questions on support Channels.
  • Find instructions from third parties with download links that someone has removed.

Environment

Windows Server 2022 machine on Azure that costs quite a bit of money and doesn't include a package manager.
@ghost ghost added the Needs-Triage Issue need to be triaged label Feb 11, 2022
@jedieaston
Copy link
Contributor

jedieaston commented Feb 11, 2022

I'm guessing you've already seen #754, but the long story short is that even if installation of winget is supported for Server 2022, it is just about unusable1 due to the issues described in #1474. Those are actually upstream OS issues, which may have a workaround specifically for winget at some point but they are mostly waiting to see if it gets resolved in Windows.

There would be very little utility in a package manager where you have to be sitting on the console in order to use it. Once that issue is resolved the other ones should be easy to fix.

If you're feeling brave, I've been compiling standalone builds of winget from the master branch that should "just work" on Server 2022. It might be worth me freezing a version that matches the stable release, although it would still be extremely unsupported by Microsoft. They will work just fine over SSH/PSRemoting, and no permissions changes are necessary.

Edit: tested, my builds do work just fine on Server 2022. They aren't supported by MS, but it's a workaround until this is resolved.

Footnotes

  1. Yes, you can force change the permissions on stuff in WindowsApps to make it work. But that's an arcane workaround that will possibly break stuff with appx.

@denelon denelon added Issue-Docs It's a documentation issue that really should be on MicrosoftDocs and removed Needs-Triage Issue need to be triaged labels Feb 14, 2022
@microsoft microsoft locked and limited conversation to collaborators Feb 18, 2022
@denelon denelon converted this issue into discussion #1955 Feb 18, 2022
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs
Projects
None yet
Development

No branches or pull requests

3 participants