Failed to install profile
cybermorgue opened this issue · comments
To Reproduce
Steps to reproduce the behavior:
- Execute install.ps1, followed all instructions before.
- Choose whatever profile
- See error:
.\install.ps1
[+] Retrieving available packages from MyGet. Please wait.
[+] Beginning graphical install
[+] Settings updated, beginning install. Please wait for a popup letting you know the installation is complete!
[+] Installing Boxstarter
Chocolatey is going to be downloaded and installed on your machine. If you do not have the .NET Framework Version 4 or greater, that will also be downloaded and installed.
WARNING: An existing Chocolatey installation was detected. Installation will not continue. This script will not overwrite existing installations.
If there is no Chocolatey installation at 'C:\ProgramData\chocolatey', delete the folder and attempt the installation again.
Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
If the existing installation is not functional or a prior installation did not complete, follow these steps:
- Backup the files at the path listed above so you can restore your previous installation if needed.
- Remove the existing installation manually.
- Rerun this installation script.
- Reinstall any packages previously installed, if needed (refer to the lib folder in the backup).
Once installation is completed, the backup folder is no longer needed and can be deleted.
[!] Error: Failed to install profile:
The term 'choco' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
It creates C:\ProgramData\chocolatey, which I deleted and start and again the same behaviour.
Installing chocolatey this way: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
solved the issue.