AveYo / fox

Firefox stuff
674 stars 66 forks source link

Regarding alternative location for Webview2 #48

Open fxzxmic opened 3 months ago

fxzxmic commented 3 months ago

%SystemRoot%\System32\Microsoft-Edge-WebView You can check the path, which is a non-uninstallable webview2 bound to the system and duplicates the webview2 located at %ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\1*.*.*.*\.

You can use the following .reg file to switch external webview2 to system bound webview2.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder]
"*"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,69,\
  00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2d,00,45,00,64,00,67,00,65,00,\
  2d,00,57,00,65,00,62,00,56,00,69,00,65,00,77,00,00,00

In this way, you should be able to delete external webview2 with peace of mind.

fxzxmic commented 3 months ago

Additionally, this ie_to_edge_stub.exe has been mentioned multiple times in the script. What is the purpose of this file?

rcmaehl commented 3 months ago

Additionally, this ie_to_edge_stub.exe has been mentioned multiple times in the script. What is the purpose of this file?

This file is required to allow things like Windows Web Search to be redirected instead of prompting users to Install Edge from the Microsoft Store

fxzxmic commented 3 months ago

Additionally, this ie_to_edge_stub.exe has been mentioned multiple times in the script. What is the purpose of this file?

This file is required to allow things like Windows Web Search to be redirected instead of prompting users to Install Edge from the Microsoft Store

But do we still need this solution now? After all, Microsoft has allowed EU users to uninstall Edge, so Microsoft will not leave behind some broken features to meet the requirements of the law, will it?

rcmaehl commented 3 months ago

Additionally, this ie_to_edge_stub.exe has been mentioned multiple times in the script. What is the purpose of this file?

This file is required to allow things like Windows Web Search to be redirected instead of prompting users to Install Edge from the Microsoft Store

But do we still need this solution now? After all, Microsoft has allowed EU users to uninstall Edge, so Microsoft will not leave behind some broken features to meet the requirements of the law, will it?

Possibly not, I should be able to test in the coming weeks to be sure.

kuiperonit commented 2 months ago

%SystemRoot%\System32\Microsoft-Edge-WebView You can check the path, which is a non-uninstallable webview2 bound to the system and duplicates the webview2 located at %ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\1*.*.*.*\.

You can use the following .reg file to switch external webview2 to system bound webview2.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder]
"*"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,69,\
  00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2d,00,45,00,64,00,67,00,65,00,\
  2d,00,57,00,65,00,62,00,56,00,69,00,65,00,77,00,00,00

In this way, you should be able to delete external webview2 with peace of mind.

Why are you worrying about Edge Webview? Webview should not only stay on your computer but if you use certain tools that depend on it you will have that stuff break, Trust me I tried and it went really badly.

fxzxmic commented 1 month ago

%SystemRoot%\System32\Microsoft-Edge-WebView You can check the path, which is a non-uninstallable webview2 bound to the system and duplicates the webview2 located at %ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\1*.*.*.*\.

You can use the following .reg file to switch external webview2 to system bound webview2.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder]
"*"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
  25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,69,\
  00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2d,00,45,00,64,00,67,00,65,00,\
  2d,00,57,00,65,00,62,00,56,00,69,00,65,00,77,00,00,00

In this way, you should be able to delete external webview2 with peace of mind.

Why are you worrying about Edge Webview? Webview should not only stay on your computer but if you use certain tools that depend on it you will have that stuff break, Trust me I tried and it went really badly.

I tried that too and everything works as usual.

As for why I am targeting webview, it is because webview comes with edge update, and Microsoft uses edge update to push junk software.