chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.61k stars 249 forks source link

Unable to load with Chocolatey GUI Licensed Extension #977

Closed pauby closed 1 year ago

pauby commented 1 year ago

Checklist

What You Are Seeing?

Prior to the release of Chocolatey CLI version 1.2.0 when you applied settings to Chocolatey GUI via chocolateyguicli upon launching the GUI application, you would see your settings applied (either at a user level, or globally depending on your command usage). You would also be able to see the licensed company branding if used.

Upon upgrading the Chocolatey CLI to the latest CLI release, Chocolatey GUI now shows the following error message in the log file when loading:

2022-11-03 20:29:09.560 +01:00 [Warning] Updated UseLanguage = en-US
2022-11-03 20:29:11.711 +01:00 [Warning] Unable to set licensed configuration, features may be affected...

What is Expected?

That Chocolatey GUI Licensed Extension works with Chocolatey CLI 1.2.0 and later.

How Did You Get This To Happen?

  1. Install Chocolatey CLI 1.2.0
  2. Install Chocolatey CLE 4.2.0
  3. Install Chocolatey GUI 1.1.0
  4. Install Chocolatey GUI Extension 1.0.1
  5. Apply the following configuration:
chocolateyguicli feature enable --name="'HideThisPCSource'" --global
chocolateyguicli feature enable --name="'HidePackageDownloadCount'" --global
chocolateyguicli feature disable --name="'AllowNonAdminAccessToSettings'" --global
  1. Create a standard user: New-LocalUser -Name standarduser -Password ("P@ssw0rd" | ConvertTo-SecureString -AsPlainText -Force) ; Add-LocalGroupMember -Group Users -Member standarduser.
  2. Login to the workstation as the standarduser.
  3. Launch Chocolatey GUI.
  4. Observe that you still have access to Settings, the 'This PC' source is still visible, and Package Download counts are still displayed.

System Details

N/A

Installed Packages

N/A

Output Log

N/A

Additional Context

This is related to this internal issue.

gep13 commented 1 year ago

@pauby after investigating this, this issue is related directly to Chocolatey GUI, and not to the Chocolatey GUI Licensed Extension. As a result, I am going to move this to the OSS repository for Chocolatey GUI.

choco-bot commented 1 year ago

:tada: This issue has been resolved in version 1.1.1 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: