Closed SuperSchramm closed 1 year ago
Ditto
Any solution on this? Me too facing the same issue
I'm facing the same problem too. For mine, I think it's just because the Windows version isn't compatible to the tested versions.
Can you verify that chocolatey installed and your path is setup correctly?
I tried installing chocolatey separately and just letting FVM do the install and the result was the same.
I have tried on multiple versions of windows with the same result. Granted none were the exact versions listed by installers tested version. However, all were fresh installs with no updates run and all necessary security settings disabled.
So running choco commands manually works?
When does the cinst
error occur? During install of Boxstarter?
I will have to reinstall Choco on this box this morning. This is a new install. It did not work on the last box using the FVM installer but I did not try after a manual install of choco. - - -KevinThere is no CloudIt’s just someone else’s computerOn Jun 1, 2023, at 3:12 AM, Moritz @.***> wrote: So running choco commands manually works? When does the cinst error occur? During install of Boxstarter?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
This is occurring because of yesterday's release of Chocolatey v2.0.0, which deprecated all of the shims like cinst, etc. I was able to work around this for now by pinning the version to v1.4.0 as per the installation docs: https://docs.chocolatey.org/en-us/choco/setup#installing-a-particular-version-of-chocolatey
Workaround TL;DR:
$env:chocolateyVersion = '1.4.0'
(I used the official Chocolately installer one-liner rather than the FlareVM install script one, but I wouldn't think it would matter too much. This is the one I used: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex
)
This is occurring because of yesterday's release of Chocolatey v2.0.0, which deprecated all of the shims like cinst, etc. I was able to work around this for now by pinning the version to v1.4.0 as per the installation docs: https://docs.chocolatey.org/en-us/choco/setup#installing-a-particular-version-of-chocolatey
Workaround TL;DR:
- Make sure Chocolatey isn't installed or remove it
- Set the following environment variable in PowerShell:
$env:chocolateyVersion = '1.4.0'
- Retry the install
(I used the official Chocolately installer one-liner rather than the FlareVM install script one, but I wouldn't think it would matter too much. This is the one I used:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex
)
This was the magic that got the ball rolling.
This is occurring because of yesterday's release of Chocolatey v2.0.0, which deprecated all of the shims like cinst, etc. I was able to work around this for now by pinning the version to v1.4.0 as per the installation docs: https://docs.chocolatey.org/en-us/choco/setup#installing-a-particular-version-of-chocolatey Workaround TL;DR:
- Make sure Chocolatey isn't installed or remove it
- Set the following environment variable in PowerShell:
$env:chocolateyVersion = '1.4.0'
- Retry the install
(I used the official Chocolately installer one-liner rather than the FlareVM install script one, but I wouldn't think it would matter too much. This is the one I used:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex
)This was the magic that got the ball rolling.
Want to echo this, huge thanks for spotting this!
Thanks for tracking this down!
Awesome......it worked. thank you so much
- $env:chocolateyVersion = '1.4.0'
This is occurring because of yesterday's release of Chocolatey v2.0.0, which deprecated all of the shims like cinst, etc. I was able to work around this for now by pinning the version to v1.4.0 as per the installation docs: https://docs.chocolatey.org/en-us/choco/setup#installing-a-particular-version-of-chocolatey
Workaround TL;DR:
- Make sure Chocolatey isn't installed or remove it
- Set the following environment variable in PowerShell:
$env:chocolateyVersion = '1.4.0'
- Retry the install
(I used the official Chocolately installer one-liner rather than the FlareVM install script one, but I wouldn't think it would matter too much. This is the one I used:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex
)
Yes, I deleted C:\ProgramData\chocolity and then set $env:chocolateyVersion = '1.4.0'
and used the install script and it worked fine.
Thanks brother.
Description
When attempting to install flare-vm application an error received stating that
Steps to Reproduce
Expected behavior:
Application installs successfully
Actual behavior:
Environment
Additional Information