Closed matttrv closed 3 months ago
I also hit this error. I tried to install the webview2 runtime from microsoft's installer, and at first it failed - claming "webview2 runtime is already installed". Reboots and trying the standalone microsoft installer a second time, I was able to install the non-chocolatey webview2 runtime and imageglass was able to start normally
This is probably the issue of the WebView2 package in Chocolatey. ImageGlass shows the "Please install the latest version of WebView2" message if
GetAvailableBrowserVersionString()
API, or119.0.2151
Alternatively, if you run ImageGlass 9.0.11.502 or later, you can use the Fixed Version of WebView2 for ImageGlass. Follow steps in the Changelog > New Features > Added support for custom WebView2 Runtime
in this link https://github.com/d2phap/ImageGlass/releases/tag/9.0.11.502 to know how to do it.
System information
To Reproduce
Steps to reproduce the behavior:
choco install imageglass
"Actual behavior
ImageGlass is telling me that I need to install WebView2 Runtime, but it has already been installed by Chocolatey as a dependency when I ran "
choco install imageglass
".Expected behavior
ImageGlass should have run successfully.
Screenshots / Video / Sample image file
Screenshot of successful install via Chocolatey. (happy to provide verbose install progress screenshots as well)
Screenshot of ImageGlass window which suggests that WebView2 has not been installed and needs to be.
Additional context
This differs from Issue #1890 in that #1890 is upgrading WebView2. I am installing ImageGlass (and WebView2) for the first time.
Is it possible that I need to point ImageGlass to Chocolatey's location for WebView2? If so, I wonder if it is possible to configure ImageGlass to do that at the time of install via Chocolatey using an install script.
Happy to share additional screenshots if it's helpful.