Not able to build Chocolatey Error
We're currently not able to build due to this error:
Cannot find file at '../chocolateyInstall/chocolatey.cmd' (C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd). This usually indicates a missing or moved file
Any ideas?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 14 Jul, 2015 04:31 PM
Hi Andrew,
Chocolatey 9.9.8 has been deployed to build worker images: http://www.appveyor.com/updates/2015/07/13
Seems like there is no more
chocolatey.cmd, but there is"C:\ProgramData\chocolatey\bin\chocolatey.exe". Though I'd better stick with standardchoco install <something>approach as Chocolatey location/files can change in the future.2 Posted by Andrew S. on 14 Jul, 2015 04:51 PM
None of our scripts are referencing chocolatey.cmd directly. It looks like issue occurs when we call:
choco install octopustools
Cannot find file at '../chocolateyInstall/chocolatey.cmd' (C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd). This usually indicates a missing or moved file.
Support Staff 3 Posted by Feodor Fitsner on 14 Jul, 2015 04:58 PM
That's strange. Just tested the command - it worked fine for me: https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/...
Do you install Chocolatey in your builds?
4 Posted by Andrew S. on 14 Jul, 2015 08:20 PM
I think I figured it out. We cached these folder locations:
C:\ProgramData\chocolatey\bin
C:\ProgramData\chocolatey\lib
These were setup awhile ago to make the build process faster, and seems we had forgotten about them.
Thanks for your help.
Support Staff 5 Posted by Feodor Fitsner on 14 Jul, 2015 08:46 PM
Cool, thanks for the update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.