Closed wadoli closed 2 years ago
What a terrible design 🤦 Is there easy way to check if licensed extension is installed?
@r-darwish This command should work: choco list chocolatey.extension --local-only --exact --limit-output
.
It will output chocolatey.extension|<version>
if the licensed extension is installed.
Alternatively, if the $env:ChocolateyInstall\lib\chocolatey.extension
folder exists, then the licensed extension should be installed.
It may be a good idea to perform a command like the following:
choco upgrade all --except="'chocolatey'"
That way users are opting into any changes to Chocolatey, since there can and will be breaking changes to the application in the future.
The initially reported problem has been addressed by the Chocolatey team in version 1.0.1 of the Chocolatey CLI, see https://docs.chocolatey.org/en-us/choco/release-notes#march-24-2022
@wadoli thanks for updating. No action will be done in Topgrade, then
What did you expect to happen?
With the recent release of Version 1.0.0 of Chocolatey, (only) licensed customers get their Chocolatey setup broken. As noted in the release notes for the Chocolatey Licensed Extension v4.0.0,
Topgrade currently doesn't seem to follow that order
What actually happened?
After topgrade has updated choco to version 1.0.0, licensed customers get an error message along the line of
Additional details
C:\ProgramData\chocolatey\extensions
folder, rename thechocolatey
folder in there to something else, then dochoco upgrade chocolatey.extension
to get the newer extension version. Once you've confirmed it works, you can delete the renamed folder from the extensions directory if you want."