appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 65 forks source link

'cinst' is not recognized as an internal or external command, operable program or batch file #3923

Closed hpwamr closed 3 months ago

hpwamr commented 3 months ago

Hello, We are using AppVeyor to check the PR's before merging them with Notepad3-Master.

The last successful check was June 1, 2024.

Tests passed

But all checks from June 9, 2024 have failed. 😬

Tests failed

For our part, nothing has changed between these two dates! 👀

Can you help us, please. 🤔

In .zip attachment our appveyor.yml file: appveyor.zip

gep13 commented 3 months ago

The AppVeyor build images recently updated the version of Chocolatey CLI that is installed by default, this was announced here:

https://www.appveyor.com/updates/2024/06/13/

and here:

https://www.appveyor.com/updates/2024/06/18/

Starting with Chocolatey CLI 2.0.0, the historical shims (for the likes of cinst, cpush, etc.) have been removed. This was announced here:

https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6/#chocolatey-shortcut-shims-removed

My recommendation would be to switch to using choco install, rather than cinst.

hpwamr commented 3 months ago

My recommendation would be to switch to using choco install, rather than cinst.

Hello @gep13 , Your recommended fix works perfectly, this issue is resolved. 👍

Tests passed after fix

Thank you very much for your help. 😃