-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gracefully handle Chocolatey CLI not being installed #979
Comments
You are correct when you say that the point is that a user can use a GUI, rather than use the CLI directly, however, there is still a hard requirement that Chocolatey CLI be installed, as the GUI is really just a wrapper around the CLI. As such, currently, there is a requirement that Chocolatey CLI be installed, and the GUI doesn't currently take responsibility for installing it. Was there something in our documentation that made you believe that this was the case? |
The simple fact that it's called "GUI" gave me the expectation that I'd simply have to install the file and get a GUI, without needing the CLI. If I needed the CLI to get to the GUI, then it would be a totally pointless project, because the barrier to entry has not been lowered. I am fine with the CLI, but sadly there are those out there who won't touch it and will install inferior alternatives because they are allergic to the CLI for some reason. I don't want to have to log onto their PC to run CMD and copy and paste some commands for them, I just want to say "Go install Chocolatey GUI", and they run the MSI file and that is that. |
As there is nothing more for us to do here, I'm going to go ahead and close this, but we can reopen it if necessary. |
Actually, we should handle this more gracefully than the exception that is thrown. Perhaps a check that |
Checklist
What You Are Seeing?
Unable to load Chocolatey GUI assembly. The type initializer for 'ChocolateyGui.Common.Windows.Bootstrapper' threw an exception.
OK
What is Expected?
Chocolatey GUI should just launch
How Did You Get This To Happen?
System Details
Installed Packages
Output Log
Additional Context
The error pops up several times, have to press OK each time.
If I then go ahead and install the CLI version of chocolatey then everything works fine. But isn't the whole point of a GUI application not to use CLI? So the GUI MSI installer should be installing the CLI version automatically.
The text was updated successfully, but these errors were encountered: