tag:help.appveyor.com,2012-11-13:/discussions/problems/2489-not-able-to-build-chocolatey-errorAppVeyor: Discussion 2018-08-25T01:57:52Ztag:help.appveyor.com,2012-11-13:Comment/373832032015-07-14T16:31:32Z2015-07-14T16:31:32ZNot able to build Chocolatey Error<div><p>Hi Andrew,</p>
<p>Chocolatey 9.9.8 has been deployed to build worker images:
<a href="http://www.appveyor.com/updates/2015/07/13">http://www.appveyor.com/updates/2015/07/13</a></p>
<p>Seems like there is no more <code>chocolatey.cmd</code>, but
there is
<code>"C:\ProgramData\chocolatey\bin\chocolatey.exe"</code>. Though
I'd better stick with standard <code>choco install
<something></code> approach as Chocolatey location/files can
change in the future.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/373832032015-07-14T16:51:19Z2015-07-14T16:51:22ZNot able to build Chocolatey Error<div><p>None of our scripts are referencing chocolatey.cmd directly. It
looks like issue occurs when we call:</p>
<p>choco install octopustools<br>
Cannot find file at '../chocolateyInstall/chocolatey.cmd'
(C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd). This
usually indicates a missing or moved file.</p></div>Andrew S.tag:help.appveyor.com,2012-11-13:Comment/373832032015-07-14T16:58:19Z2015-07-14T16:58:19ZNot able to build Chocolatey Error<div><p>That's strange. Just tested the command - it worked fine for me:
<a href="https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.612">
https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/...</a></p>
<p>Do you install Chocolatey in your builds?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/373832032015-07-14T20:20:05Z2015-07-14T20:20:06ZNot able to build Chocolatey Error<div><p>I think I figured it out. We cached these folder locations:</p>
<p>C:\ProgramData\chocolatey\bin<br>
C:\ProgramData\chocolatey\lib</p>
<p>These were setup awhile ago to make the build process faster,
and seems we had forgotten about them.</p>
<p>Thanks for your help.</p></div>Andrew S.tag:help.appveyor.com,2012-11-13:Comment/373832032015-07-14T20:46:03Z2015-07-14T20:46:03ZNot able to build Chocolatey Error<div><p>Cool, thanks for the update!</p></div>Feodor Fitsner