Closed kaushik-reddy closed 1 year ago
same
https://github.com/mandiant/flare-vm/issues/458
I Did what they recommend But it didn't work I crack my head to make it work ..
Ok what i did is uninstall chocolatey
and install it agin but whith version 1.4.0
To remove Chocolatey version 2.0.0 and install Chocolatey version 1.4.0, you can follow these steps:
Uninstall Chocolatey v2.0.0:
choco uninstall chocolatey --version 2.0.0
Verify that Chocolatey v2.0.0 has been uninstalled successfully by running:
choco --version
Install Chocolatey v1.4.0:
Download the Chocolatey installation script for version 1.4.0 from the following URL:
https://chocolatey.org/install.ps1
Save the script to a local directory.
Open a command prompt with administrative privileges.
Navigate to the directory where you saved the installation script.
Run the following command to execute the installation script:
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File install.ps1
Verify that Chocolatey v1.4.0 has been installed by running:
choco --version
By following these steps, you should be able to remove Chocolatey version 2.0.0 and install Chocolatey version 1.4.0 on your system.
Closing this as it is a duplicate of https://github.com/mandiant/flare-vm/issues/458
$env:chocolateyVersion = '1.4.0'
only works if choco is not installed (as it is used to specify the version during installation). Otherwise you have to uninstall it. After uninstalling it, you can run $env:chocolateyVersion = '1.4.0
and then the installation script as described in the README.
458
I Did what they recommend But it didn't work I crack my head to make it work ..
Ok what i did is uninstall chocolatey
and install it agin but whith version 1.4.0
To remove Chocolatey version 2.0.0 and install Chocolatey version 1.4.0, you can follow these steps:
Uninstall Chocolatey v2.0.0:
- Open a command prompt with administrative privileges.
- Run the following command to uninstall Chocolatey:
choco uninstall chocolatey --version 2.0.0
- Verify that Chocolatey v2.0.0 has been uninstalled successfully by running:
choco --version
Install Chocolatey v1.4.0:
- Download the Chocolatey installation script for version 1.4.0 from the following URL:
https://chocolatey.org/install.ps1
- Save the script to a local directory.
- Open a command prompt with administrative privileges.
- Navigate to the directory where you saved the installation script.
- Run the following command to execute the installation script:
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File install.ps1
- Verify that Chocolatey v1.4.0 has been installed by running:
choco --version
By following these steps, you should be able to remove Chocolatey version 2.0.0 and install Chocolatey version 1.4.0 on your system.
It worked, Thank you for the help.
Hello Guys, I am facing an issue with the installation. Please check the screenshot for the error details