tis-webview2 icon

Microsoft Edge WebView2 Runtime

Silent install package for Microsoft Edge WebView2 Runtime

141.0.3537.85-12
Dependency
Dependency

  • package: tis-webview2
  • name: Microsoft Edge WebView2 Runtime
  • version: 141.0.3537.85-12
  • categories: Dependency
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Microsoft Corporation
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: msedgewebview2
  • architecture: x64
  • signature_date:
  • size: 192.38 Mo
  • installed_size: 736.75 Mo
  • homepage : https://developer.microsoft.com/microsoft-edge/webview2

package           : tis-webview2
version           : 141.0.3537.85-12
architecture      : x64
section           : base
priority          : optional
name              : Microsoft Edge WebView2 Runtime
categories        : Dependency
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : WebView2 uses Microsoft Edge as the rendering engine to display the web content in native apps
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://developer.microsoft.com/microsoft-edge/webview2/#download-section
installed_size    : 736748319
impacted_process  : msedgewebview2
description_fr    : WebView2 utilise Microsoft Edge comme moteur de rendu pour afficher le contenu web dans les applications natives
description_pl    : WebView2 używa Microsoft Edge jako silnika renderującego do wyświetlania treści internetowych w natywnych aplikacjach
description_de    : WebView2 verwendet Microsoft Edge als Rendering-Engine zur Darstellung von Webinhalten in nativen Anwendungen
description_es    : WebView2 utiliza Microsoft Edge como motor de renderizado para mostrar el contenido web en aplicaciones nativas
description_pt    : WebView2 utiliza o Microsoft Edge como o motor de renderização para exibir o conteúdo da web em aplicações nativas
description_it    : WebView2 utilizza Microsoft Edge come motore di rendering per visualizzare il contenuto web nelle app native
description_nl    : WebView2 gebruikt Microsoft Edge als rendering engine om de webinhoud in native apps weer te geven
description_ru    : WebView2 использует Microsoft Edge в качестве механизма рендеринга для отображения веб-контента в родных приложениях
audit_schedule    : 
editor            : Microsoft Corporation
keywords          : microsoft,edge,webview2,runtime,native,engine
licence           : proprietary_free,wapt_public
homepage          : https://developer.microsoft.com/microsoft-edge/webview2
package_uuid      : 234515c2-b535-467e-a3db-6c06d343d203
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://learn.microsoft.com/deployedge/microsoft-edge-relnote-stable-channel
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 7e24d7595bd0360ebede1089a98fef11ab672714e57e7f97ee386edb101fed90
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-18T09:03:35.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : mEPXeWZpDRZYoF6npW578BRzQk+lpM6hcOaV1HwpgNRsxskCQ1UJfn5qqu6RQhCUxyOl41k7OGQCJWdhp/j+ZF9VEuoKOT2J/UNPCJVijZSv9DScgO5czxOXkJOS+5YmExm2aW6LQV6lIR/4PB/R5ry4zSETicYe8nN779lqLyf0OHjDybnbKh+wqcStd2keyDOvIMa+7Qi/AyJoQXV769a0uQts5X+q2Z2I7ZBgvU2mzpLFnxMRSAAgNfwu9qGO1qTAkC6XEVQeu72YXCAVDoKoTJhMTopsuO93kHxnjzjZqT0kPOgqlIq5MvAXad2Zw0cB20SYgEVjvIS1kcMhpA==

# -*- coding: utf-8 -*-
from setuphelpers import *

app_uninstallkey = "Microsoft EdgeWebView"

def install():

    bin_name = glob.glob("MicrosoftEdgeWebView2RuntimeInstaller*.exe")[0]
    software_version = control.get_software_version()

    if registry_readstring(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","Publisher"):
        if not registry_readstring(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","DisplayName"):
            print("Add registry key for displayname")
            registry_set(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","DisplayName",app_uninstallkey)

    for installed in installed_softwares(app_uninstallkey):
        if Version(installed["version"], 4) >= Version(software_version, 4):
            print("Already up to date: %s (%s)" % (installed["name"], installed["version"]))
            print("Aborting installation of %s (%s)" % (installed["name"], software_version))
            return

    run(bin_name + " /silent /install",
        accept_returncodes=[0, 3010, 2147747602],
        timeout=600,
        )


##    if registry_readstring(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","Publisher"):
##        if not registry_readstring(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","DisplayName"):
##            print("Add registry key for displayname")
##            registry_set(HKEY_LOCAL_MACHINE,r"SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView","DisplayName",app_uninstallkey)

    if not uninstall_key_exists(app_uninstallkey):
        error("Error during installation")

# -*- coding: utf-8 -*-
from setuphelpers import *
import os
import sys
import time
import glob

"""
    "update_package_dependencies": [
        "tis-wapt-selenium",
        "tis-chrome"
    ]
"""


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    update_dict = {
        "latest_bin": {
            "windows-x64": "MicrosoftEdgeWebView2RuntimeInstallerX64.exe",
            "windows-x86": "MicrosoftEdgeWebView2RuntimeInstallerX86.exe",
            "windows-arm64": "MicrosoftEdgeWebView2RuntimeInstallerARM64.exe",
        },
        "download_url": {
            "windows-x64": "https://go.microsoft.com/fwlink/?linkid=2124701",
            "windows-x86": "https://go.microsoft.com/fwlink/?linkid=2099617",
            "windows-arm64": "https://go.microsoft.com/fwlink/?linkid=2099616",
        },
    }

    latest_bin = update_dict["latest_bin"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']
    download_url = update_dict["download_url"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}']

    version = wgets('https://developer.microsoft.com/en-us/microsoft-edge/webview2?form=MA13LH#download-section', proxies=proxies).split('Microsoft.WebView2.FixedVersionRuntime.')[1].split('.x64')[0].split('.x86')[0].split('.arm64')[0]

    # Changing version of the package

    if Version(version, 4) >= Version(control.get_software_version(), 4):
        if not isfile(makepath(basedir,latest_bin)):
            print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))

            # Downloading latest binaries
            print("Latest %s version is: %s" % (control.name, version))
            print("Download URL is: %s" % download_url)
            wget(download_url, latest_bin, proxies=proxies)
            control.set_software_version(version)
            control.save_control_to_wapt()
            package_updated = True
        else:
            print("Software version up-to-date (%s)" % Version(version))

    # Validating or not update-package-sources
    return package_updated


d4dd8826f0b6c2725aa97319881a4bd705daa10ec11b44ff625448f7c7297702 : MicrosoftEdgeWebView2RuntimeInstallerX64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dab2d992d672d5cb2f7c6f8c295269f7bfe69636eb91a48768c5a001a5ef7ecd : WAPT/changelog.txt
644d771e90629c7da00321a492f65241e239947cbbfba689180e7354a9dab42c : WAPT/control
7e24d7595bd0360ebede1089a98fef11ab672714e57e7f97ee386edb101fed90 : WAPT/icon.png
939d4f42bc61809a626618ed0bd70c56f1e9f9d519bc00d99fd85a69e3ff86b6 : luti.json
70d86262961d651d48037cdbeaf2ab11eb3bcec9fbb988bafaea4f1af7c65d46 : setup.py
ab5383c20532376bcbb9295a01d0a633ebd906ff6613d628d6329972ae050d26 : update_package.py

https://learn.microsoft.com/deployedge/microsoft-edge-relnote-stable-channel
0-7
===
fix update_package after page changes
timeout=900

0-6
===
No longer uninstalls because it fails too often
Reducing code
Fix selenium


0-3
===
Uninstalling WebView2 user installs
Fix update_package
Globally improve code
No longer runs update_package headless since it fails