tis-webview2

139.0.3405.102-12
WebView2 utilise Microsoft Edge comme moteur de rendu pour afficher le contenu web dans les applications natives
47791 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-webview2 icon
  • package : tis-webview2
  • name : Microsoft Edge WebView2 Runtime
  • version : 139.0.3405.102-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 : x86
  • signature_date : 2025-08-16 19:01
  • size : 170.01 Mo
  • installed_size : 736.75 Mo
  • homepage : https://developer.microsoft.com/microsoft-edge/webview2
package           : tis-webview2
version           : 139.0.3405.102-12
architecture      : x86
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      : 557698fb-32a8-4885-b111-503c5ed85c6c
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-08-16T19:01:15.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         : cPO7b4rqiWn7LrRGDU6AYt80D7B/s3/V1NjsbuspkNm6wAFuFJMk8pORNp/bkdj7C5u9Z19r1BV03k1kPovGLsX+461n7l+pz7kUjOFFELLlkQVyi19GO+BYX72gxoNjWv2iyntVwwNFPGGDlMq9HkHPC4R9d1KQ2wMvysLSiSsHX0XT4IxtAGVtpCJ/cibQxgiAVhmMkV51lmrrbITQEW8czf6KomcdCfzWEAS9dHsfHjLv6i+nCuYXeN2L/vVcNzMGxngYosivucZuGe18kBqE3IJIkeKkj9HiiPNJRilBJ9iCPCaqwBqv/ZQP1v4vaG8MW1QNiEIKsc+hUVQKDg==
# -*- 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


df19659c082975eb27a866d91fc13ebf37eb0a053125a2121d112c07d13e5e75 : MicrosoftEdgeWebView2RuntimeInstallerX86.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dab2d992d672d5cb2f7c6f8c295269f7bfe69636eb91a48768c5a001a5ef7ecd : WAPT/changelog.txt
d2f0cfbc78411e29dff716c06f57584d54df80a687f178ed3fd102fc6e71e5a9 : WAPT/control
7e24d7595bd0360ebede1089a98fef11ab672714e57e7f97ee386edb101fed90 : WAPT/icon.png
cdf2018fe72d3782e8184f37424ff10d15d3aba871045d214e885cbe4a8b8358 : luti.json
70d86262961d651d48037cdbeaf2ab11eb3bcec9fbb988bafaea4f1af7c65d46 : setup.py
ab5383c20532376bcbb9295a01d0a633ebd906ff6613d628d6329972ae050d26 : update_package.py
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