Page 1 of 1

[RESOLVED] WebView packet update error

Published: November 19, 2024 - 08:11
by PaulSLA
Good morning,

When we update webview via WAPT (which has never been a problem until now), WAPT returns:

Code: Select all

"Installing: MicrosoftEdgeWebView2RuntimeInstallerX64.exe (131.0.2903.51)
Waiting for key: Microsoft EdgeWebView to appear in Windows registry
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\wapt92bprthg\setup.py", line 9, in install
  File "C:\Program Files (x86)\wapt\common.py", line 4165, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1703, in install_exe_if_needed
    error('Setup %s has been installed but the %s can not be found' % (exe,searchparam))
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1957, in error
    raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : Setup MicrosoftEdgeWebView2RuntimeInstallerX64.exe has been installed but the key Microsoft EdgeWebView can not be found

EWaptSetupException: Fatal error : Setup MicrosoftEdgeWebView2RuntimeInstallerX64.exe has been installed but the key Microsoft EdgeWebView can not be found
"
After checking on the workstations, the Runtime does not appear in the list of programs to uninstall and a manual reinstallation fails because the software is already installed according to the installer.
This error occurs following another error we encountered in WebView version 130:

Code: Select all

"Installing: MicrosoftEdgeWebView2RuntimeInstallerX64.exe (130.0.2849.80)
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\wapt3dkkje_j\setup.py", line 9, in install
  File "C:\Program Files (x86)\wapt\common.py", line 4165, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1689, in install_exe_if_needed
    run(r'"%s" %s' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2177, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"MicrosoftEdgeWebView2RuntimeInstallerX64.exe" /silent /install' returned non-zero exit status 2147748109.
Output:
"
The same symptoms were present, it was impossible to reinstall manually, and it was not present in the list of programs.

This is currently affecting all our PCs that have received the update. Has anyone else experienced this issue? If so, how did you resolve it?

Thanks in advance !

Re: WebView package update error

Published: November 19, 2024 - 1:59 PM
by jlepiquet
Hello,

Microsoft has this annoying tendency to change things that work without warning.

Since version 131, WebView is no longer registered as a separate application, but only as an Edge add-on.

We're looking into how to fix this.

Re: WebView package update error

Published: November 21, 2024 - 8:54 AM
by PaulSLA
Hello,

Thank you for your reply.

If I understand correctly, there's nothing we can do at our level?

Sincerely,

Re: WebView package update error

Published: November 21, 2024 - 11:56 AM
by jlepiquet
Hello,

The package has been updated in the store to fix the issue.

Regards,

Re: WebView package update error

Published: November 25, 2024 - 09:19
by jcdemarque
Thank you, I had the exact same problem. Can we mark the title as resolved?

Have a good day.

Re: [SOLVED] WebView package update error

Published: November 25, 2024 - 10:16 AM
by dcardon
Hi Jean-Charles,

thanks for the feedback. :-)

I've marked the topic as resolved!

Denis