- TOP
- 2021年7月
解決策
プログラムデータC:\ProgramData\chocolatey'のディレクトリを削除する。
未検証だがps1ファイルが残っているからインストールできないという警告っぽいので自己責任で行う。
原因
PowerShellを通常権限で起動してしまい、インストールコマンドを実行してしまった。
警告
警告: Files from a previous installation of Chocolatey were found at 'C:\ProgramData\chocolatey'.
警告: An existing Chocolatey installation was detected. Installation will not continue.
For security reasons, this script will not overwrite existing installations.
Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
- 1