ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

First time installation of ImageGlass using Chocolatey, successfully installs dependencies including WebView2, but ImageGlass doesn't see WebView2

Open matttrv opened this issue 9 months ago • 0 comments

System information

  • Windows OS version: 11 Pro N Insider Preivew (23H2, [Version 10.0.25977.1000], OS Build = 25977.1000 )
  • ImageGlass version: v9.0.11.502
  • ImageGlass release: Installed via Chocolatey (choco version v2.2.2)

To Reproduce

Steps to reproduce the behavior:

  1. Executed "choco install imageglass"
  2. Chocolatey successfully installed imageglass and dependencies, including WebView2
  3. Ran ImageGlass from start menu
  4. ImageGlass shows in the main window, "Please install the latest version of WebView2 Runtime".

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 2024-05-25 112407

Screenshot of ImageGlass window which suggests that WebView2 has not been installed and needs to be. Screenshot 2024-05-25 112418

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.

matttrv avatar May 25 '24 15:05 matttrv