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 doesn't work from a Vagrant Shell Script

I'm trying to provision a brand new Windows 2012 Server Core machine using a combination of vagrant and chocolatey. So I have a powershell provisioning script that runs under the Vagrant (as administrator) account on the base box. To install…
BlackSpy
  • 5,563
  • 5
  • 29
  • 38
0
votes
1 answer

understanding failure of chocolatey install of MSVC 2013 Express

From an admin prompt, I'm trying to install MSVC 2013 Express (Desktop): cinst VisualStudioExpress2013WindowsDesktop but its failing. Digging through the failure, I see that the installer returned exit code 3010. I'm not sure what this means, or…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
0
votes
1 answer

How to see a newly created branch in a Chocolatey Fork on Github locally and subsequently push to this branch?

Summary Github Chocolatey Repository has been forked to own Github account as Chocolatey-1 A new branch installchocolateyservice has been created installchocolateyservice has been pulled A push to installchocolateyservice branch fails, while it…
030
  • 10,842
  • 12
  • 78
  • 123
0
votes
1 answer

Avoid code duplication Chocolatey Packages

Introduction Multiple functions have been added to a Chocolatey package. These functions would like to be applied to other Chocolatey Packages as well. This could be done by copying the functions to each of them. However, if a certain function will…
030
  • 10,842
  • 12
  • 78
  • 123
0
votes
1 answer

Ketarin 64bit URL download

Introduction 32bit and 64bit download URLs are applied to chocolateyInstall.ps1 by ketarin. ketarin variables: version url64 ketarin download URL: http://downloadURL/packageName-{version}-x86.zip chocolateyInstall.ps1: Install-ChocolateyZipPackage…
030
  • 10,842
  • 12
  • 78
  • 123
0
votes
1 answer

Change default Automatic Package Updater Chocolatey output path to avoid output will be pushed to GitHub

Introduction Aim: define output directory for automatically created Chocolatey packages by ketarin to avoid that automatically created nuspec packages will be pushed to GitHub The steps located in this manual have been followed to create a…
030
  • 10,842
  • 12
  • 78
  • 123
0
votes
1 answer

Why is chocolatey trying to insll to C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules

I do > chocolatey.bat install -force PowerTab Chocolatey (v0.9.8.23) is installing 'PowerTab' and dependencies. By installing you accept the license for 'PowerTab' an d each dependency you are installing. ______ powertab v0.99.6 ______ Downloading…
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
0
votes
1 answer

How to list installed Chocolatey packages using Ruby?

Aim Compare installed chocolatey package with latest available version on Chocolatey Gallery, install (cinst packageName) latest if latest version > installed version. Problem Code from this post which works for java -version has been used to read…
030
  • 10,842
  • 12
  • 78
  • 123
0
votes
1 answer

How do I find old chocolatey package versions, for specification in the chocolatey package.config

I like to use chocolatey to configure personal additions to my dev workstations. For some packages I do not want the current version. A specific example is that I want ruby 1.9.3, while the current chocolatey. Other packaging systems, such as…
Precipitous
  • 5,253
  • 4
  • 28
  • 34
0
votes
1 answer

How can I change the "Temp" directory that Chocolatey uses when Installing itself or packages?

I am trying to install Chocolately on our servers at work, but I have a problem due certain McAfee rules that prevent us from unzipping or running an executable's from the Temp directory (From reviewing the Chocolately code, the $env:TEMP variable…
JSM85
  • 3
  • 1
  • 3
0
votes
1 answer

Is there anyway to check what chocolatey is passing Powershell from installArguments?

I'm trying to install an MSI that takes arguments with chocolatey The msiexec command looks like msiexec.exe /i path_to_msi UNAME="" PASS="" SQLSERVER="" CHKFRONTEND="1" CHKBACKEND="1" /quiet My ps1 file has the following code in it…
Brian Green
  • 567
  • 7
  • 20
0
votes
1 answer

How do I programmatically download a file behind Oracle's OTN login page?

I'm trying to create a Chocolatey package for the Oracle WebLogic Server binaries. I know that I must pass a special cookie for the "license acceptance". But, I'm getting stuck trying to get past the login form. I've been researching how to get it…
Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
0
votes
1 answer

vagrant plugin install vagrant-windows fails

I'm trying to install the vagrant-windows plugin on a windows 7 (64 bit) machine, but I get the error below. How can I fix this? further info: ruby version installed on machine 1.9.3 in corporate environment (port 80, 443, 3389 open) Vagrant…
steenhulthin
  • 4,553
  • 5
  • 33
  • 52
0
votes
1 answer

Does Install-ChocolateyZipPackage support basic authentication?

Does the Install-ChocolateyZipPackage commandlet support basic authentication, i.e. via an URL such as https://user:password@example.com?
aknuds1
  • 65,625
  • 67
  • 195
  • 317
0
votes
1 answer

Chocolatey Installation of Visual Studio Pro 2012 is failing

I'm using Chocolatey to install Visual Studio 2012 Professional > cinst visualstudio2012professional In my Chocolatey logs, I'm seeing that the install succeeded. [DEBUG] Running 'Delete-ExistingErrorLog' for VisualStudio2012Professional [DEBUG]…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376