Questions tagged [chocolatey]

Chocolatey is a Windows apt-get like global automation tool (used mostly as a silent installer). Use this tag for questions about Chocolatey usage and package creation/maintenance. Issues with packages you don't maintain should be asked on Super User, or better, reported to the package maintainer listed on the community feed for the problem package.

Chocolatey is a Windows apt-get-like package management tool (used mostly as a silent installer). It uses PowerShell and you can automate almost everything.

It allows you to create packages and submit them to the main feed repository, put those packages on custom sources like includes myget.org, a file share, directories, custom feeds and private feeds. Most packages take advantage of the functions that a Chocolatey PowerShell module provides that make downloading and silently installing an application no more than a function call.

Use this tag for questions about Chocolatey usage and package creation/maintenance. However, issues with packages you don't maintain are best suited for Super User, or even better, by contacting the package maintainer listed on the community feed for the problem package.

See chocolatey.org for all details.

642 questions
0
votes
1 answer

Chocolatey Install Arguments Syntax

I'm having trouble with installing Tableau Desktop with native installer arguments with Chocolatey. Basically, I know that Tableau Desktop .exe installer can take multiple arguments such as: ACTIVATE_KEY="" REGISTER=1 (if we want…
blue2609
  • 841
  • 2
  • 10
  • 25
0
votes
1 answer

Can someone please tell me whether these PowerShell scripts to install Chocolatey is safe?

I need to install Chocolatey, a Windows package manager. In their website, I found this powershell script which must be executed in order to install it. However, I don't understand this script. What I need to know is whether this script is…
g19ckddj2
  • 3
  • 1
0
votes
1 answer

make/mingw32-make command isn't working on windows 10

I have installed make compiler for C, but it doesn't work. I have MinGW installed and installed mingw32-make and choco make, but neither of them works. They both output the same error when I try to compile a hello world C program called…
Joaquin
  • 91
  • 1
  • 14
0
votes
1 answer

Error while installing libtool on chocolatey

I am trying to install libtool on chocolatey. However, I am getting an error... C:\WINDOWS\system32>choco install libtool Chocolatey v0.10.15 Installing the following packages: libtool By installing you accept licenses for the packages. libtool not…
user15160015
0
votes
1 answer

Installing Chromedriver for Windows - selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH

I'm trying to webscrape with Python and selenium, and I've run into an error like so: Traceback (most recent call last): File "C:/Users/You/your_code.py", line 5, in driver =…
marsnebulasoup
  • 2,530
  • 2
  • 16
  • 37
0
votes
1 answer

Chocolatey startup takes unpredictable time on Azure Pipelines (sometimes minutes)

We use Chocolately in our Azure Pipelines setup. Chocolatey startup seems to take an unpredictable amount of time: it could be as short as seconds or as long as minutes. In this example it took 13 seconds, while in this one it took 2 minutes 20…
Szabolcs
  • 24,728
  • 9
  • 85
  • 174
0
votes
1 answer

Cannot uninstall Docker Desktop via Chocolatey

I've installed Docker 2.4 quite some time ago using Chocolatey (my OS is Win 10). Since updating Docker using choco upgrade all always failed, I did the updates manually via the Docker itself (right-click → Check for Updates → etc.). Now I'm on…
mu88
  • 4,156
  • 1
  • 23
  • 47
0
votes
1 answer

Check if Chocolatey is installed in Ansible

I've recently started using Ansible and trying to apply it in an environment that doesn't have access to the Internet. I've managed to create a playbook that installs Chocolatey using files and templates but at the moment it installs Chocolatey…
Sam Jenkins
  • 1,284
  • 1
  • 12
  • 30
0
votes
1 answer

Chocolatey generated VS 2015 Compiler not found on docker image

I tried to install visual studio 2015 build tools on a Docker Container using the chocolatey packet manager. I need it for a Matlab code gen build operation. The chocolatey steps works fine. But my docker container can't find the compiler. Any…
Weltgeist
  • 137
  • 1
  • 1
  • 11
0
votes
1 answer

How can I install Chocolatey with the file chocolatey.0.10.15.nupkg?

I have an error in the PowerShell console with Chocolatey's link. chocolatey's link error If have not a solution, I need to learn how to install Chocolatey with the downloaded file "chocolatey.0.10.15.nupkg". chocolatey's file .nupkg
diazan364
  • 11
  • 4
0
votes
1 answer

"The term 'choco' is not recognized" when executing command remotely

I'm trying to use Powershell to remotely install Chocolatey and Choco packages. I was able to install Chocolatey without issue remotely using the following (my txt file contained a single server): $ComputerList =…
Oxyauna
  • 75
  • 2
  • 9
0
votes
2 answers

How to run a script in administrator mode with commands to execute

I would like, from a powershell script, launch another powershell instance in administrator mode and, if possible, indicate to it some code to be executed in this same command line. Here is the concrete case (I am using chocolatey for my package…
A-d-r-i
  • 31
  • 2
  • 11
0
votes
2 answers

Azure DevOps: publish self-contained .net Core app with Chocolatey

I need to create a self-contained .net core (3.1 in my case) app and to pack & publish using chocolatey so it can be installed and used. I'm using Azure DevOps and have a feed on my own where I'm supposed to publish the chocolatey package. The…
FEST
  • 813
  • 2
  • 14
  • 37
0
votes
1 answer

How to get the binary path from a chocolatey shim?

I need to extract the product version from a binary in .NET. This works with the actual binary. However, when a chocolatey shim is referenced, then I only get the product version of the shim. Is there a way to programmatically read the path to the…
PSt
  • 15
  • 5
0
votes
3 answers

node.js installation error in windows 10 in vscode

Exception calling "DownloadString" with "1" argument(s): "The request was aborted: Could not create SSL/TLS secure channel." At line:1 char:1 + iex ((New-Object System.Net.WebClient).DownloadString('https://chocol ... +…