Unable to uninstall WebView2 runtime silently #3950
Replies: 7 comments 1 reply
-
What does error code 19 mean when uninstalling WebView2? - and does it uninstall other components of MS edge as well? |
Beta Was this translation helpful? Give feedback.
-
Getting the same exit code when using Process class in C# and the SilentUninstallCommand from the registry. Is this a success exit code ( given that it succeeds in uinstalling ) ? Using command prompt no problems. |
Beta Was this translation helpful? Give feedback.
-
It didn't work for me either, only if I also deleted EDGE. (The system just sucks, with a lot of unnecessary settings, don't must EDGE). |
Beta Was this translation helpful? Give feedback.
-
I get the same exit code when uninstalling v104.xxx or v105.xxx using "setup.exe --uninstall --msedgewebview --system-level --verbose-logging". Interestingly, everything looks good afterwards: files are gone, registry key is gone. Is "19" maybe a message like "everything's fine, I just need a reboot" or something similar? |
Beta Was this translation helpful? Give feedback.
-
@victorhuangwq Seems like an issue to me |
Beta Was this translation helpful? Give feedback.
-
@lflores-ms could you take a look at this question? |
Beta Was this translation helpful? Give feedback.
-
exit code 19 in that context means successfully uninstalled; see https://chromium.googlesource.com/chromium/src/+/c38084e12ff9707e2cc07ff82e004980c43c99c9/chrome/installer/util/util_constants.h |
Beta Was this translation helpful? Give feedback.
-
Hi,
When I'm trying to uninstall WebView2 runtime silently using these command line :-
Path:-
%ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\99.0.1150.55\Installer\setup.exe
command:-
--force-uninstall --uninstall --msedgewebview --system-level
But it is giving me this error
Command exited with unmapped or failure return code 19
can someone please tell why it giving me this error and how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions