tis-webview2
109.0.1518.70-2
Microsoft Edge WebView2 Runtime
47812 downloads
Download
See build result See VirusTotal scan

- package : tis-webview2
- name : Microsoft Edge WebView2 Runtime
- version : 109.0.1518.70-2
- categories : Dependency
- maintainer : WAPT Team,Tranquil IT
- editor :
- licence :
- locale : all
- target_os : windows
- impacted_process :
- architecture : x64
- signature_date : 2023-01-27 02:06
- size : 145.62 Mo
package : tis-webview2
version : 109.0.1518.70-2
architecture : x64
section : base
priority : optional
name : Microsoft Edge WebView2 Runtime
categories : Dependency
maintainer : WAPT Team,Tranquil IT
description : Microsoft Edge WebView2 Runtime
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.1
sources : https://developer.microsoft.com/fr-fr/microsoft-edge/webview2/#download-section
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 : e533f53d-a980-4885-80f5-b3b1aa791aa8
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : a7c6b09372ea7c19abbbf1e40c70610177a814692ce9d17a0096bfae2f4437c0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : RMqqZV6MUJvRbLfajwputbhE/7bLqMoy/oV5iY1jKXhWJef7aF+EOMxzkcp+7WgK1SFyCzhHn51j7Tb2QwGrkVUlusNpaDhMvnRPfJOHDaOsmcgNGrBeHyO0xgyL14hrlC97oSYDPy7luDQEDOYPYZD5DWvYjPv1FVo6DXqC7gMWP9pM8CNEaq6HFkaINhOx3wxiaUdByDHV5z7kWwncsF92BI1U9+8D3tCQBoqTco8N/VdSac2AMSs4gPTQ1lnGd8GUy2bwl2Y29uuSkDYR/GZGPSqlB2F6jTOXDDYtjMArzpfI13qMEP6EnnVJnB1hKmWIDtLx1rMrS9tJb5+tdQ==
signature_date : 2023-01-27T02:06:19.870461
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
# -*- coding: utf-8 -*-
from setuphelpers import *
app_uninstallkey = "Microsoft EdgeWebView"
def install():
bin_name = glob.glob("MicrosoftEdgeWebView2RuntimeInstaller*.exe")[0]
install_exe_if_needed(
bin_name,
silentflags="/silent /install",
key=app_uninstallkey,
min_version=control.get_software_version(),
accept_returncodes=[0,3010,2147747602]
)
uninstallkey.clear()
def uninstall():
for to_uninstall in installed_softwares(uninstallkey=app_uninstallkey):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.impacted_process.split(","))
app_uninstall_cmd = uninstall_cmd(to_uninstall["key"])
app_uninstall_cmd[5] = "--force-uninstall"
app_uninstall_cmd.remove("--verbose-logging")
run(app_uninstall_cmd, accept_returncodes=[0, 300, 19])
wait_uninstallkey_absent(to_uninstall["key"])
def audit():
# Getting installed software version
if installed_softwares(uninstallkey=app_uninstallkey):
installed_version = installed_softwares(uninstallkey=app_uninstallkey)[0]["version"]
else:
installed_version = None
# Auditing software
print("Auditing: %s" % control.package)
if installed_version is None:
print("%s is not installed" % control.name)
return "ERROR"
# elif Version(installed_version) != Version(control.get_software_version()):
# print("%s is installed in version (%s) instead of (%s)" % (control.name, installed_version, control.get_software_version()))
# return "WARNING"
else:
print("%s is installed in correct version (%s)" % (control.name, installed_version))
return "OK"
# -*- coding: utf-8 -*-
from setuphelpers import *
import sys
import time
import os
import glob
"""
"update_package_dependencies": [
"tis-wapt-selenium",
"tis-chrome"
]
"""
def update_package():
# Importing Selenium with tis-wapt-selenium package
sys.path.insert(0, makepath(WAPT.wapt_base_dir, "selenium"))
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
arch_dict = {
"x64": "MicrosoftEdgeWebView2RuntimeInstallerX64.exe",
"x86": "MicrosoftEdgeWebView2RuntimeInstallerX86.exe",
"arm64": "MicrosoftEdgeWebView2RuntimeInstallerARM64.exe",
}
latest_bin = arch_dict[control.architecture]
# Deleting binaries
for f in glob.glob("*.exe") + glob.glob("*.msi"):
print("Removing: %s" % f)
remove_file(f)
version = control.get_software_version()
current_path = os.getcwd()
chrome_options = Options()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-notifications")
chrome_options.add_experimental_option(
"prefs",
{
"download.default_directory": f"{current_path}",
"download.prompt_for_download": False,
"download.directory_upgrade": True,
"safebrowsing_for_trusted_sources_enabled": False,
"safebrowsing.enabled": False,
},
)
# download with selenium
driver = webdriver.Chrome(options=chrome_options, executable_path=makepath(WAPT.wapt_base_dir, "selenium", "chromedriver.exe"))
driver.get("https://developer.microsoft.com/fr-fr/microsoft-edge/webview2/#download-section")
# get latest version version
version = driver.find_element(By.XPATH, "/html/body/div[1]/div[2]/article/section[2]/section[2]/div/div[2]/div[3]/div/select[1]/option[1]").text
driver.find_element(By.ID, control.architecture).click()
driver.find_element(By.ID, "accept-evergreen").click()
wait_download()
driver.quit()
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
def wait_download(delay=360):
loop = 0
while not glob.glob("*.exe"):
loop += 3
if loop > delay:
break
time.sleep(3)
16f1bbf0fd6f857f5752bf9a29cef7540470f5bfa5751e688410728d53fb7288 : setup.py
cca83ef458204ae18af4b1b9abb8dedaa113232409c5450a0f2d5279e5c30412 : MicrosoftEdgeWebView2RuntimeInstallerX64.exe
b29fc79feee0bfe2cb176ee6009d1cec504d8247193053f49220b2b99f036d79 : update_package.py
a7c6b09372ea7c19abbbf1e40c70610177a814692ce9d17a0096bfae2f4437c0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : WAPT/changelog.txt
44b113f6494213e50d167a4a726c71cc8f86c3487b752a145dcdfba64675b8e2 : luti.json
be519f451b992e67958e18365b9e2dc2d27768ceed5d5b5e00615ece97c58c3b : WAPT/control