ShadowWhisperer / Remove-MS-Edge

Uninstall Microsoft Edge silently, through an executable or batch script.
2.21k stars 81 forks source link

webview detection fail #54

Closed eebssk1 closed 4 months ago

eebssk1 commented 4 months ago

# Edge Update - Remaining subprocess.run(['reg', 'delete', r'HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate', '/f'], startupinfo=hide_console(), stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) This should not do if keep webview,otherwise many application uses webview will not be able to detect installed webview and ask you to install it.

eebssk1 commented 4 months ago

FYI. The reg key records the installation path of the system wide webview.

ShadowWhisperer commented 4 months ago

You are correct. Broke the Xbox app, when testing.

Specifically HKLM\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}\ pv

This will be omitted from the next update.

Thanks!

ShadowWhisperer commented 4 months ago

Updated.

Removal tool has been converted to a batch script, due to how long it takes to report false positives to AV software, every time there is an update.

*.exe version has also been fixed

eebssk1 commented 4 months ago

Try implementing a c# one and test it with AV? I was using it in OOBE which does not have network yet,though I can place the setup.exe along with the bat.