EdgeViewer - Modern HTML viewer plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: EdgeViewer - Modern HTML viewer plugin

Post by *petermad »

2AkulaBig
In Window 7 you have to install EdgeWebView from here: https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH

Once it is installed you don't need either of these entries:
; BrowserExecutableX86Folder=%USERPROFILE%\Edge32
; BrowserExecutableX64Folder=%USERPROFILE%\Edge64

I have only installed the 64bit version EdgeWebView and it works in both 32bit and 64bit TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

Which version did you download?
1. Evergreen Bootstrapper
2. Evergreen Standalone Installer
3. Fixed Version
I also downloaded from there, of course. Evergreen Standalone Installer. But he said that it is not suitable for my version of Windows. But I already have WebView2 installed as part of Edge. I'll try to install a new one, just tell me the option.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: EdgeViewer - Modern HTML viewer plugin

Post by *petermad »

I think I installed the "Evergreen Standalone Installer" x64 - but it could also have been the "Fixed Version" which I think is the same when you choose the latest version. (But the Evergreen version updates itself).

If you want it I can put the installer I used up for you to download.

quote]But I already have WebView2 installed as part of Edge. I'll try to install a new one, just tell me the option.[/quote]
It look like you have WebView2 installed when you look in the directory of c:\Program Files (x86)\Microsoft\Edge\Application\109.0.1518.140\

But for some reason in Windows 7 it is not activated in Edge. When you then install https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH an almost identical version of Edge is installed in c:\Program Files (x86)\Microsoft\EdgeWebView\Application\109.0.1518.140\
- see: https://tcmd.madsenworld.dk/webviewfolder.png - notice it is two different directories I show in that screenshot.

I guess that installing https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH sets some keys that are missing in Windows 7's Registry, when Edge is installed.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

petermad wrote: 2024-10-29, 20:33 UTC I think I installed the "Evergreen Standalone Installer" x64 - but it could also have been the "Fixed Version"
It worked! Thank you. But only installing the Evergreen Bootstrapper version helped. In this case, the installation takes place via the Internet and the correct version of WebView2 109 For Win7 is installed. In all other cases, the latest version 130 is downloaded. Not compatible with Win7.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: EdgeViewer - Modern HTML viewer plugin

Post by *petermad »

It worked! Thank you. But only installing the Evergreen Bootstrapper version helped. In this case, the installation takes place via the Internet and the correct version of WebView2 109 For Win7 is installed. In all other cases, the latest version 130 is downloaded. Not compatible with Win7.
You can try my older version from August 2023 - https://tcmd.madsenworld.dk/tools/MicrosoftEdgeWebView2RuntimeInstallerX64.exe (152 MB)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

petermad wrote: 2024-10-30, 04:02 UTC You can try my older version from August 2023
No. It doesn't install either. Apparently a newer version, but only 109 is suitable for Win7.

My installed version seems to be: 109.0.1518.140
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: EdgeViewer - Modern HTML viewer plugin

Post by *petermad »

AkulaBig wrote: 2024-10-30, 06:01 UTC No. It doesn't install either. Apparently a newer version, but only 109 is suitable for Win7.
Hmm, I am quite sure that is the installer I used.
My installed version seems to be: 109.0.1518.140
So is mine.

But I just tried installing on another Windows 7 computer, and you are right. The installer downloads a newer version which aborts the installation after a long time trying.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

Please make an option to disable error messages when WebView2 is missing. I would like Edge Viewer to act like other TC plugins. They simply skipped the file if they couldn’t open it for the next plugin.
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

AkulaBig wrote: 2024-11-12, 16:13 UTC Please make an option to disable error messages when WebView2 is missing. I would like Edge Viewer to act like other TC plugins. They simply skipped the file if they couldn’t open it for the next plugin.
Wow, are you sure? "WebView2 is missing" is not the same as "file cannot be opened". I understand the idea to skip unsupported files, but if you don't have WebView2, plugin is just broken for you, uninstall it :)
User avatar
MaxX
Power Member
Power Member
Posts: 1166
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: EdgeViewer - Modern HTML viewer plugin

Post by *MaxX »

2rg_software
I think AkulaBig means that plugin should check if WebView2 is available before any other jobs.
May be plugin should not load at all when WebView2 is not installed. Just like some other wlx do if any necessary dlls are missing.
Ukrainian Total Commander Translator. Feedback and discuss.
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

MaxX wrote: 2024-11-22, 13:02 UTC 2rg_software
I think AkulaBig means that plugin should check if WebView2 is available before any other jobs.
May be plugin should not load at all when WebView2 is not installed. Just like some other wlx do if any necessary dlls are missing.
Yes, the plugin needs to check for the presence of WebView2 and not load if it is absent.
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

AkulaBig wrote: 2024-11-22, 13:59 UTC
MaxX wrote: 2024-11-22, 13:02 UTC 2rg_software
I think AkulaBig means that plugin should check if WebView2 is available before any other jobs.
May be plugin should not load at all when WebView2 is not installed. Just like some other wlx do if any necessary dlls are missing.
Yes, the plugin needs to check for the presence of WebView2 and not load if it is absent.
I think at some earlier point I had this behavior and got exactly the opposite feedback. The plugin didn't work, and the user could not figure out what's going on. So it is my understanding that if something goes wrong, you need to know why. What's the point of having a non-functional plugin installed (except those rare cases where you have to run it from a flash drive on another machine, and you can't tolerate error messages at all).
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: EdgeViewer - Modern HTML viewer plugin

Post by *Dalai »

2rg_software
I was thinking the same thing. However, you could add some configuration option to the plugin's settings file that allows disabling the error message. Users who want to get rid of it can do so by explicitely switching an option. Everyone else gets the error message by default.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

rg_software wrote: 2024-11-23, 12:47 UTC I think at some earlier point I had this behavior and got exactly the opposite feedback.
Dalai has already explained everything. I would like to be able to disable error messages optionally. I'll explain why this is needed.
I have my own TC build. Other people use it too. Viewing animated SVGs is only possible with EdgeViewer. But some users absolutely do not want to install WebView2.
That's why I also have MarkdownView installed. And it is placed in front of EdgeViewer. But when an animated SVG comes across, MarkdownView passes that file to EdgeViewer. But without WebView2 it gives an error. I don't want to give up EdgeViewer. But I want the users of my build to be able to work comfortably.
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

OK, understood. Will add it to my todo list. Sorry for no progress recently, piled up with other stuff. But I keep track of suggestions.
Post Reply