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
0 answers

Installing minikube on my windows also chocolately

Material that i used -window 10 installed chocolate on C:\WINDOWS\system32> and installed choco install minikube. docker(individual) i used the website(https://kubernetes.io/docs/tasks/tools/install-minikube/) situation I could not install…
Taiga
  • 165
  • 3
  • 16
0
votes
0 answers

Chocolatey : Installing SQL SERVER DEVELOPER Edition throwing error

I'm trying to install SQL SERVER DEVELOPER EDITION in SQL Mode using Chocolatey. $pwd = [Guid]::NewGuid().ToString('N') choco install -y sql-server-2017 "/IACCEPTSQLSERVERLICENSETERMS /Q /ACTION=install /INSTANCEID=MSSQLSERVER…
Madhu
  • 1
  • 2
0
votes
1 answer

From Bash script, how do I call a Linux environment variable contained in a command string?

I have an environment variable: export qua="key={1234}" How do I call $qua from within a Bash script that is running a Chocolatey command? #!/bin/bash salt computername chocolatey.install qualys install_args='"\"$qua\""' I cannot get Chocolatey to…
Kade Williams
  • 1,041
  • 2
  • 13
  • 28
0
votes
1 answer

Options for hiding keys in installation arguments while using Chocolatey?

Are there any specific methods for hiding keys that are required for installing packages? I want to use Chocolatey to install an application to several servers. The installation command requires a secret key be used for installation. …
Kade Williams
  • 1,041
  • 2
  • 13
  • 28
0
votes
1 answer

Can't run command from docker file

I'm currently trying to dockerize a .net core API on my laptop but when I'm building the docker file I have some issue. I have an issue when it's trying to execute commands like choco or wget. It says that they are not recognized, I did install them…
0
votes
1 answer

My package doesn't support Windows Server (Chocolatey test environment): how do I "skip" the install, so the automatic testing doesn't fail?

My package can't be installed on Windows Server, simply doesn't support it. I have submitted my package to Chocolatey repository, but tests are failing. The automatic test fail for that reason, because the test environment of Chocolatey is based on…
gremo
  • 47,186
  • 75
  • 257
  • 421
0
votes
1 answer

Trying to use invoke-command, chocolatey and 7zip to unzip a file

So I am trying to use invoke-command to install a chocolatey package who is just a 7z command to extract the archive from a server and unzip to the C: drive. Unfortunately, I'm having powershell access denied popped up and I don't know why. 1- My…
Axiom
  • 33
  • 1
  • 8
0
votes
1 answer

Find-Package works but Install-Package shows only nuget error using chocolatey in powershell

I'm just getting start using Windows for my personal programming projects. I am trying the following in Powershell 5.1 as admin: PS >install-package nodejs -providername Chocolatey and I get the following error: WARNING: NuGet:…
0
votes
2 answers

Error while installing kubectl in Windows 10

Installing the kubectl on windows 10 not working. I follow this URL. I tried different install options, in the powershell and using chocolote. None of them worked for me. The error is clear that this execuable is not supported for windows os. I did…
intechops6
  • 1,007
  • 4
  • 22
  • 43
0
votes
0 answers

Chocolatey Package Opens Installer

When I created this Chocolatey package for Qt 5.12.1, everything seemed to work fine, except when I did choco install qt, it opened the Qt installer that I have embedded into the tools folder. Here is the…
DeZLearnsPCs
  • 81
  • 2
  • 9
0
votes
2 answers

The command 'cmd /S /C choco install --no-progress -y curl' returned a non-zero code: 3221225785

I was installing using chocolatey curl in a windows docker image using the following Dockerfile FROM mcr.microsoft.com/windows/servercore:ltsc2019 ENV chocolateyUseWindowsCompression="true" RUN powershell.exe -NoProfile -InputFormat None…
mpromonet
  • 11,326
  • 43
  • 62
  • 91
0
votes
1 answer

How to know what silentArg to use when creating Chocolatey packages?

How do I find out what silentArg I need to use for creating a Chocolatey package? I know that each installer will have different silentArgs but I just don't know where I can find which one has which. Also, I am using strictly .exe files (embedded…
DeZLearnsPCs
  • 81
  • 2
  • 9
0
votes
1 answer

Chocolatey Package Failing

When trying to create a Chocolatey package for ARM RVDS 4.1, it fails and I am not sure what the issue is. I believe I either set up the chocolateyinstall.ps1 incorrectly or something with the setup.exe being in the tools folder. Here is the error I…
DeZLearnsPCs
  • 81
  • 2
  • 9
0
votes
1 answer

Not able to install packages using chcolatey in docker container

I am building a windows container with following software installed Notepad++ MariaDB HeidiSQL .NET Framework 2.0 and 3.5 This is the docker image I created. https://hub.docker.com/repository/docker/mhhaji/winserver2016_base What I tried : Steps…
Murtaza Haji
  • 1,093
  • 1
  • 13
  • 32
0
votes
1 answer

chocolatey simple server accepts packages but won't hand them out

I just set up a Chocolatey simple server. I can get to the default instruction page and can push a local package, but if I choco list -s mychocoserver.com, I get "0 packages found" and I can't install using the server as the source. The package…
Teknowledgist
  • 351
  • 1
  • 3
  • 13