Skip to content
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

Distribution of Azure CLI via package manager on Windows #8852

Closed
Leon99 opened this issue Mar 21, 2019 · 4 comments
Closed

Distribution of Azure CLI via package manager on Windows #8852

Leon99 opened this issue Mar 21, 2019 · 4 comments

Comments

@Leon99
Copy link

Leon99 commented Mar 21, 2019

I don't think that distributing a CLI tool via a GUI installer makes much sense. Besides, while on Linux there are officially supported ways to install it via package managers, there is none on Windows. This creates an impression that Microsoft doesn't back their own products.
I'm aware of the existence of an unofficial Chocolatey package, but it's clearly not a first-class citizen and official documentation refuses to mention it because it's not officially maintained by MS (see MicrosoftDocs/azure-docs-cli#1342).

@sphibbs sphibbs transferred this issue from Azure/azure-powershell Mar 22, 2019
@tjprescott tjprescott added this to Triage in CodeGen Features via automation Mar 22, 2019
@tjprescott
Copy link
Member

Thank you for your feedback @Leon99. We will revisit this as a team and update this issue accordingly.

For team discussion, the following issue is related: #3874

@tjprescott
Copy link
Member

tjprescott commented Mar 22, 2019

While there is little internal desire to take over a community-maintained release channel, I see no reason why we cannot call attention to it on the installation page.

cc/ @sptramer

@tjprescott tjprescott moved this from Triage to Won't Fix in CodeGen Features Mar 26, 2019
@yugangw-msft
Copy link
Contributor

Right now, for non UI installation option on Windows I suggest:

  1. Curl the MSI and invoke silent installation of msiexec <msi> /q
  2. pip

I don't agree the GUI behavior by default of MSI would disqualify its role for command line install. On the contrary, the silent install mode has been supported for a few decades and still is the most reliable
and supported way, please do use it.

@Leon99
Copy link
Author

Leon99 commented Mar 27, 2019

Neither of those options feels like a better alternative to a chocolatey package, which doesn't require any knowledge of the msi's URL/python package name/underlying technology or distribution format. Having said that, documenting either of them would be an improvement over what we see now. I keep hearing it from every single person I share the link to that documentation with - suggesting a GUI installation for a CLI tool doesn't make any sense. That is the only problem here - not that it's packed as MSI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
CodeGen Features
  
Archived (Done in previous sprints)
Development

No branches or pull requests

4 participants