[RESOLVED] WebView packet update error

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
PaulSLA
Messages: 23
Registration: Oct 10, 2023 - 11:23

November 19, 2024 - 08:11

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 !
jlepiquet
Messages: 69
Registration: Sep 3, 2024 - 4:09 p.m.

November 19, 2024 - 1:59 PM

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.
PaulSLA
Messages: 23
Registration: Oct 10, 2023 - 11:23

November 21, 2024 - 8:54 AM

Hello,

Thank you for your reply.

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

Sincerely,
jlepiquet
Messages: 69
Registration: Sep 3, 2024 - 4:09 p.m.

November 21, 2024 - 11:56

Hello,

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

Regards,
jcdemarque
Messages: 24
Registration: February 21, 2023 - 3:12 PM

November 25, 2024 - 09:19

Thank you, I had the exact same problem. Can we mark the title as resolved?

Have a good day.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 25, 2024 - 10:16 AM

Hi Jean-Charles,

thanks for the feedback. :-)

I've marked the topic as resolved!

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked