Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding alternative location for Webview2 #48

Open
fxzxmic opened this issue Mar 24, 2024 · 6 comments
Open

Regarding alternative location for Webview2 #48

fxzxmic opened this issue Mar 24, 2024 · 6 comments

Comments

@fxzxmic
Copy link

fxzxmic commented Mar 24, 2024

%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 fxzxmic changed the title Regarding alternative locations for Webview2 Regarding alternative location for Webview2 Mar 24, 2024
@fxzxmic
Copy link
Author

fxzxmic commented Mar 24, 2024

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

@rcmaehl
Copy link

rcmaehl commented Mar 24, 2024

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
Copy link
Author

fxzxmic commented Mar 25, 2024

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
Copy link

rcmaehl commented Apr 5, 2024

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.

@alias-lightheart
Copy link

%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
Copy link
Author

fxzxmic commented May 29, 2024

%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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants