![]() ![]() Multiple entries for Microsoft Edge WebView2 Runtime v.57 are displayed in Windows Programs and Features. This error perhaps can be prevented by specific initialisation options which I have not yet tried. You may not have appropriate permissions to access the item." I can't tell what the item is as the full path is set as the Title of the MessageBox only, and it is not in the MessageBox text, it is truncated, and MessageBox windows are not resizable. See paragraph 5.Īttempting to instantiate a WebView2 control in a UWP app (in this case) shows the MessageBox: "Windows cannot access the specified device, path or file. Presence or absence of registry key doesn't cut it. The exception does not reveal which file could not be found.ĭocumentation of how to check if the WebView2 Runtime is installed is incorrect. WebView2.EnsureCoreWebView2Async() throws a file not found exception with a null filename, not because the registry key does not exist, but because some required files were not installed (?). WebView2 Runtime installer did not create the above registry key unless explicitly run as Administrator, and presumably did not install some files. WebView2 Runtime installer needs to inform the user if it did not install correctly. Deleting the above registry key after installation as Administrator results in successful instantiation of the WebView2 control (and its CoreWebView2), so the presence of the registry key is not required for the WebView2 control to determine if the WebView2 runtime is installed, contradicting the text "If this regkey doesn't exist, or if exists and is null or an empty string, this means that the WebView2 Runtime is not installed on the client." on the page. ![]() WebView2.EnsureCoreWebView2Async() threw a file not found exception until the Runtime was explicitly installed as Administrator.Įxplicitly launching the WebView2 Runtime installer as Administrator did create the registry key and the WebView2 control did subsequently work. It did not inform me that it did not install correctly, nor did it prompt for elevation. It did not create the registry key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |