Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: An existing Chocolatey installation was detected. Installation will not continue. #155

Closed
edcarino2 opened this issue Mar 19, 2021 · 1 comment

Comments

@edcarino2
Copy link

I had installed Chocolatey and already executed choco to install multiple software. However, after a month, choco is not working anymore. When I type “choco”, it’s returning error “Failed to run. No application is associated with the specified file.”

I’ve deleted Chocolatey installer manually so I could install this software again. I’ve deleted c:\ProgramData\Chocolatey directory and Chocolatey footprints in Environment Variables, and rebooted my computer.

I installed Chocolatey by issuing the command below in PowerShell Admin mode:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Error message is being returned below:
WARNING: An existing Chocolatey installation was detected. Installation will not continue.
For security reasons, this script will not overwrite existing installations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants