Unable to load Chocolatey GUI assembly. Type initiator exception 'ChocolateyGui.Common.Windows.Bootstrapper'
See original GitHub issueWhat You Are Seeing?
When I launch Chocolatey GUI from start menu or powershell (admin), after an UAC prompt I see: When I click ok, I the same prompt appears, and I need to close like 8 windows for it to disappear.
What is Expected?
GUI should just launch, or at least some more detailed error on the terminal.
How Did You Get This To Happen? (Steps to Reproduce)
- I run the Windows install script for https://github.com/black7375/Firefox-UI-Fix . I run it many times previously on other devices, but there I had choco already installed. Here on this fresh install I did it before manually installing choco.
- Tried installing chocolatey via the official way, it returned it is already installed
- Tried installing
sdio
not as an administrator, aborted, then did it as admin - Installed
chocolateygui
, I never managed to launch it - Tried
choco upgrade chocolateygui -y --force
andchoco upgrade chocolatey -y --force
, didn’t work - Checked
AppData\Local\Chocolatey GUI
is empty
System Details
- OS Build (In PowerShell run
[System.Environment]::OSVersion.version.tostring()
): 10.0.22000.0 (Windows 11 Home 22000) - Windows PowerShell version (Run:
$PSVersionTable
): 5.1.22000.832 - Chocolatey version (Run
choco --version
): 1.1.0
Output Log
No output log when launching the GUI
Issue Analytics
- State:
- Created a year ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
[bug] "Unable to load Chocolatey GUI assembly" after ...
Unable to load Chocolatey GUI assembly. 'ChocolateyGui.Common.Windows.Bootstrapper' 的初始設定式發生例外狀況。
Read more >Chocolatey Software Docs | Troubleshooting
If you see this error when attempting to download Chocolatey CLI or any other packages from the Chocolatey Community Repository, you are likely...
Read more >Chocolatey Software Docs | Known Issues
If step 1 did not fix the issue, please check that your antivirus software is not blocking the Chocolatey GUI Config from being...
Read more >Chocolatey GUI 2.1.0
Chocolatey is software management automation for Windows that wraps ... To install Chocolatey GUI, run the following command from the command line or...
Read more >Chocolatey Software Docs | Release Notes
For example, if you currently have chocolateygui v0.18.1 installed along with chocolateygui.extension v0.2.1 and you first upgrade to chocolateygui v0.19.0, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just wanted to add my twopence here: I landed on that page when I had the same issue.
A reinstall of
chocolateygui
dit nothing.I forced a reinstall with
choco install chocolatey --force
and that fixed it.I then noticed that the
chocolateygui
package version was2.0.0.0
while thechocolatey
package (before the force reinstall) was1.3.1
.After the reinstall it matches the GUI version and everything works.
No idea what happened to make the main package go out of sync.
I can also confirm that
choco install chocolatey --force
also fixed the same issue for me.This is the second PC I had this happen on. All started after running Update all from Chocolateygui. Chocolatey gets updated, gui closes, wont launch again. even after trying to also update chocolateygui from chocolateycli.