Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9294289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:20:14+00:00 2026-06-18T21:20:14+00:00

I am trying to install chocolatey using Jenkins to a Windows Machine that i

  • 0

I am trying to install chocolatey using Jenkins to a Windows Machine that i would like to provision with some chocolatey packages.

It seems that the install log looks pretty good to me.

[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Downloading http://chocolatey.org/api/v2/package/chocolatey/ to C:\Users\_BUILD~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Extracting C:\Users\_BUILD~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to ... [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Installing chocolatey on this machine [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating ChocolateyInstall as a User Environment variable and setting it to 'C:\Chocolatey' [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: We are setting up the Chocolatey repository for NuGet packages that should be at the machine level. Think executables/application packages, not library packages. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: That is what Chocolatey NuGet goodness is for. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: The repository is set up at 'C:\Chocolatey'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: The packages themselves go to 'C:\Chocolatey\lib' (i.e. C:\Chocolatey\lib\yourPackageName). [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: A batch file for the command line goes to 'C:\Chocolatey\bin' and points to an executable in 'C:\Chocolatey\lib\yourPackageName'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating Chocolatey NuGet folders if they do not already exist. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: d----         2/13/2013  10:20 AM            bin                                [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: d----         2/13/2013  10:20 AM            lib                                [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: d----         2/13/2013  10:20 AM            chocolateyinstall                  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Copying the contents of 'C:\Users\buildaccount\AppData\Local\Temp\chocolatey\chocInstall\tools\chocolateyInstall' to 'C:\Chocolatey'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\chocolatey.bat' so you can call 'chocolatey' from anywhere. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cinst.bat' so you can call 'chocolatey install' from a shortcut of 'cinst'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cinstm.bat' so you can call 'chocolatey installmissing' from a shortcut of 'cinstm'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cup.bat' so you can call 'chocolatey update' from a shortcut of 'cup'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\clist.bat' so you can call 'chocolatey list' from a shortcut of 'clist'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cver.bat' so you can call 'chocolatey version' from a shortcut of 'cver'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cwebpi.bat' so you can call 'chocolatey webpi' from a shortcut of 'cwebpi'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cwindowsfeatures.bat' so you can call 'chocolatey windowsfeatures' from a shortcut of 'cwindowsfeatures'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\ccygwin.bat' so you can call 'chocolatey cygwin' from a shortcut of 'ccygwin'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cpython.bat' so you can call 'chocolatey python' from a shortcut of 'cpython'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cgem.bat' so you can call 'chocolatey gem' from a shortcut of 'cgem'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cpack.bat' so you can call 'chocolatey pack' from a shortcut of 'cpack'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cpush.bat' so you can call 'chocolatey push' from a shortcut of 'cpush'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Creating 'C:\Chocolatey\bin\cuninst.bat' so you can call 'chocolatey uninstall' from a shortcut of 'cuninst'. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: PATH environment variable does not have 'C:\Chocolatey\bin' in it. Adding. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing ccygwin.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cgem.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing chocolatey.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cinst.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cinstm.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing clist.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cpack.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cpush.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cpython.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cuninst.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cup.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cver.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cwebpi.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Processing cwindowsfeatures.bat to make it portable [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Chocolatey is now ready. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: You can call chocolatey from anywhere, command line or powershell by typing chocolatey. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Run chocolatey /? for a list of functions. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: You may need to shut down and restart powershell and/or consoles first prior to using chocolatey. [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: If you are upgrading chocolatey from an older version (prior to 0.9.8.15) and don't use a custom chocolatey path, please find and delete the C:\NuGet folder after verifying that C:\Chocolatey has the same contents (minus chocolateyinstall of course). [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns: Ensuring chocolatey commands are on the path [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m
[10:20:21][Step 4/4]  [0;36mnotice: /Stage[main]/Chocolatey/Exec[ChocolateyInstall]/returns:  [0m

However when I try to install a simple package remotely using a puppet client it complains about a .NET Framework 4.0 error.

[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: Chocolatey (v0.9.8.20) is installing  and dependencies. By installing you accept the license for  and each dependency you are installing. [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: Execution of NuGet not detected. Please make sure you have .NET Framework 4.0 i [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: nstalled and are passing arguments to the install command. [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: At C:\Chocolatey\chocolateyinstall\functions\Run-NuGet.ps1:52 char:10 [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: +     Throw <<<<  $noExecution [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:     + CategoryInfo          : OperationStopped: (Execution of Nu...nstall comm  [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:    and.:String) [], RuntimeException [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:     + FullyQualifiedErrorId : Execution of NuGet not detected. Please make sur  [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:    e you have .NET Framework 4.0 installed and are passing arguments to the i   [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:   nstall command. [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns:   [0m
[10:20:24][Step 4/4]  [0;36mnotice: /Stage[main]/Hg/Exec[hg]/returns: executed successfully [0m
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:20:15+00:00Added an answer on June 18, 2026 at 9:20 pm

    Do you have .NET 4.0 installed on the machine?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When trying to install some node.js packages (sqlite3 and socket.io in particular) using npm
Trying to install rattle on a windows server 2008 R2 64bit machine, using 64-bit
Trying to install various packages on a Windows 7 64 bit and learned that
When trying to install my 32bit service on a Windows 64bit machine my installer
Trying to install RMySQL on 64-bit Windows 7. Using R-2.14.2 with Rtools214 and MySQL
After trying to install ruby19 on my machine (PPC, Mac OSX 10.5.7) using the
I'm trying to install my Windows Service app using Visual Studio 2008 Setup and
Trying to install CoffeeScript on Windows XP (SP3) machine on a PC behind a
Trying to install 1.9.3 using RVM. Getting these errors in my make.log compiling readline.c
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.