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

Ansible cannot install Chocolatey Packages using UNC Choco source

Ansible Version: 2.4.2.0 Ansible Control: Centos7 Target Hosts: Windows 2012R2 I have a File Server named: FILESERVER and I have placed all chocolatey packages in folder C:\Packages. And this folder is shared, so other servers can access this folder…
Dilshad Abduwali
  • 1,388
  • 7
  • 26
  • 47
0
votes
1 answer

Chocolatey parameters for dependent packages

Do the '--params' passed to 'choco install' command are accessible/available to 'dependent' packages? My package 'B' has a dependency on package 'A', when package 'A' is being installed I want to access the parameters (--params) passed to package…
ansariwn
  • 501
  • 4
  • 13
0
votes
0 answers

Vim background colour is different

I'm using gVim 8.x 64-bit on Window 10 that I installed using chocolatey vim tux package. Just recently I started getting these highlights when I open files. I'm using solarized colorscheme. When I set the colorscheme manually, the highlights…
h-rai
  • 3,636
  • 6
  • 52
  • 76
0
votes
1 answer

Azure Windows Packer build hangs installing chefdk via Chocolately

When running packer build, it hangs on the chefdk download, the same things happens for python, but it will install multiple other applications. does anyone know why? Originally had it all run from a single script ie install choco then install apps…
Staggerlee011
  • 847
  • 2
  • 13
  • 23
0
votes
1 answer

The “GetReferenceNearestTargetFrameworkTask” task was not found

Given: My local system references MSBuild at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSbuild.exe". My automated build server (Jenkins) does not have this version of MSBuild so I used chocolatey to download…
ChipNugget
  • 363
  • 1
  • 7
  • 17
0
votes
1 answer

Chocolatey : how to handle major change in package and uninstallation on upgrade to new major version?

I'm maintainer of azcopy chocolatey package. https://chocolatey.org/packages/azcopy Microsoft released version 10 of azcopy (from version 8). The tool is now a single exe (in a zip file). The old one was a MSI installer. The command line is…
Jeanb
  • 23
  • 6
0
votes
0 answers

How to install chrome in custom location using chocolatey

I want to install chrome in a custom location by using chocolatey, but I can't figure out how to do it. I know I have to use choco install googlechrome --installargs "" but I can not find the args to pass. Is this even possible? I don't…
Tobias von Falkenhayn
  • 1,355
  • 5
  • 26
  • 59
0
votes
1 answer

Create Chocolatey Package and perform installation multiple times

I want to use chocolatey to manage my windows application installer. However, my application requires multiple times installation with different parameters. I wonder is it possible to be achieved by just using one single choco package. If yes, how…
weijie lin
  • 143
  • 5
  • 14
0
votes
1 answer

Problem with installing chocolatey files with task.run on windows 8.1

I'm tasked with creating a tool to help set up customers systems easily. I've created a function that calls a chocolatey script through powershell in c# and I use Task.run to create a new thread so it doesn't affect the UI thread, The system works…
Holly Plyler
  • 339
  • 2
  • 10
0
votes
1 answer

Chocolatey confused about --override parameters

I'm trying to override the default package parameters but don't manage to get it taken by chocolatey, after some research and syntax studies here below is what I'm triggering, in a powershell prompt. Looking at the variable InstallArguments it seems…
Matthieu Ducorps
  • 170
  • 1
  • 1
  • 16
0
votes
1 answer

Configure kubectl to use a remote Kubernetes cluster on windows

I am trying to configure kubectl to use a remote Kubernetes cluster on my local windows machine following the "Install with Chocolatey on Windows" tutorial. However, I am not quite sure how to fill the config file. It should look like this…
0
votes
1 answer

Create Packages Automatically From Installers chocolatey

Pls! I want to convert .exe to .nupkg or .nuspec with choco new --file . But i have error : Error converted to warning: (183) Cannot create a file when that file already exists: [\?\C:\tools\chocolatey.server\App_Data\Packages\UniKeyNT.exe]
trol cas
  • 9
  • 3
0
votes
1 answer

how to set up feed with aws s3 and chocolatey

I am trying to set up a chocolatey packet gallery where the repository is an AWS S3 bucket. I installed and configured the packet gallery, but now I do not know to set the repository to S3
James Ukilin
  • 851
  • 2
  • 12
  • 17
0
votes
1 answer

Having trouble setting up chocolateyinstall.ps1 to link path enviorment variable with program file

Having trouble setting automatically set PATH to programFiles\veyon after installation. I would like to use the veyon-ctl command line with out having to manually link it.
Gibson
  • 21
  • 4
0
votes
2 answers

Brew commands equivalent for Chocolatey app powershell app

How do you see the services that are currently running via a command in Chocolatey on window 10. The equivalent for this command is on MacOS Brew is $brew services list
Mathieu
  • 290
  • 3
  • 10