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

Shim a .bat file in Chocolatey

I'm trying to create a self-contained chocolatey package containing a .bat file (i.e. my "executable") that I want to shim onto the path. My chocolateyinstall.ps1 file consists of the following: $ErrorActionPreference = 'Stop'; # stop on all…
Justin
  • 1,980
  • 1
  • 16
  • 25
0
votes
1 answer

Uninstalled chocolatey package and can't reinstall

I installed texlive using chocolatey but forgot to pass in --params. I uninstalled the package using choco uninstall texlive and then tried to reinstall as follows: choco install texlive --params="'/collections:games /scheme:basic'" Unfortunately,…
user32882
  • 5,094
  • 5
  • 43
  • 82
0
votes
1 answer

selecting multiple options from the menu list

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object…
0
votes
1 answer

how to change chocolatey default location from program data to program files

Is it possible to change chocolatey default location to c:/program files so that all the applications goes into program files instead of program data.
0
votes
1 answer

Install Theme Kit with Chocolatey (theme version theme : The term 'theme' is not recognized )

when I installed Theme Kit with Chocolatey , it installed successfully - themekit - themekit v1.1.1 already installed. but when I check it by theme version , it says theme : The term 'theme' is not recognized as the name of a cmdlet, function,…
0
votes
1 answer

How to install netfx-4.7.2-devpack fails with chocolatey

We use AWS codebuild and have the following in our buildspec.yml file to create the build server. pre_build: commands: - echo Installing Pre-Requisites - C:\ProgramData\chocolatey\choco info netfx-4.6.2-devpack -…
geoff swartz
  • 5,437
  • 11
  • 51
  • 75
0
votes
0 answers

powershell script is giving error cannot process argument transformation on parameter for chocolatey install

function deployapp(){ Param ( [Parameter(Mandatory=$true)] [string] $dest_api, [Parameter(Mandatory=$true)] [string] $a_api, [Parameter(Mandatory=$true)] [string] $data_api #…
0
votes
0 answers

How to install softwares and libraries inside windows based docker containers?

I am trying to install sluethkit on my windows based conatiner but I am not able to do it. In ubuntu based docker image I was doing it by running apt-get sluethkit , what is the way to do it in windows based conatiner I am using, This is my docker…
0
votes
1 answer

How to install FLTK on windows?

I am trying to install FLTK but everytime I get this error and can't find the appropriate solution to it. I have chocolatey and make installed. PS D:\My C & C++ programs\C++ programs\FLTK\fltk-1.3.6> make if test -f config.status; then \ …
0
votes
0 answers

Install Unofficial Windows Binaries by more Unix way

I am wondering if there is a more elegant way how to install Unofficial Windows Binaries for Python Extension Packages. Something like installing the python version by pip (or installing the python version by scoop or chocolatey)? Thank you!
Lukáš Tůma
  • 350
  • 2
  • 15
0
votes
1 answer

choco publish x86 and x64 packages

I must be missing something. I'd like to push two versions of my package - x86 and x64. How is this done? I failed to find any documentation about it, but it appears to be possible based on this issue:…
0
votes
1 answer

Cache Chocolatey packages in Azure Devops

TLDR; I have an Azure Devops Pipeline that uses chocolatey to install dependencies. I would like to cache downloaded chocolatey packages similar to how node dependencies are cached (see below) or use a caching proxy server. Is it possible to cache…
pcnate
  • 1,694
  • 1
  • 18
  • 34
0
votes
0 answers

Ansible win_chocolatey says it installed Notepad++, but it doesn't?

Ansible v2.11.0 I install Notepad++ this way - name: "Install Notepad++ version {{ notepadpp_version }}" win_chocolatey: name: notepadplusplus version: "{{ notepadpp_version }}" state: present when: install and I see this when I run…
Chris F
  • 14,337
  • 30
  • 94
  • 192
0
votes
1 answer

Ansible: Chocolatey - remove_dependencies abandoned?

I am using ansible to remove python on a windows VM (hence chocolatey) that I have. I get this error when I set remove_dependencies to yes. "changed": false, "msg": "Unsupported parameters for (win_chocolatey module: remove_dependencies. Supported…
Rajesh Patel
  • 53
  • 1
  • 9
0
votes
1 answer

Did the default Cygwin installation directory change to C:\tools\cygwin?

The docs say it's C:\cygwin, but I observe C:\tools\cygwin. I'm testing the installation with Chocolatey, but I might have had a previous Cygwin installation and don't remember if I changed the default location. I tried to remove all occurrences of…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79