tis-dotnet7
7.0.10-10
The .NET Desktop Runtime enables you to run existing Windows desktop applications. This release includes the .NET Runtime; you don't need to install it separately
2889 downloads
See build result See VirusTotal scan

Description
- package : tis-dotnet7
- name : .NET Desktop Runtime 7
- version : 7.0.10-10
- categories : Dependency
- maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
- installed_size : 350578551
- editor : Microsoft
- licence : opensource_free,cpe:/a:mit:x11_license,wapt_public
- signature_date : 2023-08-27T17:01:03.254759
- size : 110.01 Mo
- locale : all
- target_os : windows
- impacted_process : dotnet
- architecture : all
- Homepage : https://github.com/dotnet/runtime
control
package : tis-dotnet7
version : 7.0.10-10
architecture : all
section : base
priority : optional
name : .NET Desktop Runtime 7
categories : Dependency
maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
description : The .NET Desktop Runtime enables you to run existing Windows desktop applications. This release includes the .NET Runtime; you don't need to install it separately
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://github.com/dotnet/runtime
installed_size : 350578551
impacted_process : dotnet
description_fr : Le .NET Desktop Runtime vous permet d'exécuter des applications de bureau Windows existantes. Cette version inclut le moteur d'exécution .NET ; vous n'avez pas besoin de l'installer séparément
description_pl : Program .NET Desktop Runtime umożliwia uruchamianie istniejących aplikacji desktopowych Windows. To wydanie zawiera .NET Runtime; nie trzeba go instalować osobno
description_de : Mit der .NET Desktop Runtime können Sie vorhandene Windows-Desktop-Anwendungen ausführen. Diese Version enthält die .NET Runtime; Sie brauchen sie nicht separat zu installieren
description_es : El .NET Desktop Runtime le permite ejecutar las aplicaciones de escritorio de Windows existentes. Esta versión incluye el Runtime de .NET; no es necesario instalarlo por separado
description_pt : O .NET Desktop Runtime permite-lhe executar as aplicações de ambiente de trabalho Windows existentes. Esta versão inclui o .NET Runtime; não é necessário instalá-lo separadamente
description_it : Il .NET Desktop Runtime consente di eseguire le applicazioni desktop di Windows esistenti. Questa versione include il .NET Runtime; non è necessario installarlo separatamente
description_nl : Met de .NET Desktop Runtime kunt u bestaande Windows-desktoptoepassingen uitvoeren. Deze release bevat de .NET Runtime; u hoeft deze niet apart te installeren
description_ru : .NET Desktop Runtime позволяет запускать существующие настольные приложения Windows. Этот выпуск включает .NET Runtime; вам не нужно устанавливать его отдельно
audit_schedule :
editor : Microsoft
keywords :
licence : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage : https://github.com/dotnet/runtime
package_uuid : 9e6ff011-e94a-4993-bdd4-8e07e3769909
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/dotnet/core/tree/main/release-notes/7.0
min_os_version : 6.1
max_os_version :
icon_sha256sum : 1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : GRAuDUfi67cjGcl9sEud0RcPf/lwlXOceJQSIZv3xx97a2tmaIlRzu1Q0yjwcNolkAQJr1VJ80S7jIuSGwIs6vhV9fFuoZw6CjhXkKCfb+CWP1xeoWCcRp8RODnXQr3R+jGYGtLKs6qE7TW6eZU3QpQDipQKr9/e3aGVIT82AuXmqGK6Ku0wB7P/Tsoxlqr2FuxSHoNnRS3d/mMTED/Pbp4+OBgGXVJI/AM8/kW3PC2nkYmBszMEaAZ7JZ6EN9PkamLaqkG86k6rUynSlPCFt355pztodhaXQ8vmeh5pYgVSlWROoJZsf+pPj6pTjeur3nrufZ8t4HSWSjPIaaNNAA==
signature_date : 2023-08-27T17:01:03.254759
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
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
{
"key": "{454BEFFD-28B3-47C0-A7AF-E965B685D2FF}",
"name": "Microsoft .NET Host - 7.0.10 (x64)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{454BEFFD-28B3-47C0-A7AF-E965B685D2FF}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{86377F8B-E35E-4774-B156-35EA6776B231}",
"name": "Microsoft Windows Desktop Runtime - 7.0.10 (x64)",
"version": "56.43.64722",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{86377F8B-E35E-4774-B156-35EA6776B231}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{898266E3-A0E5-4BA3-AF3F-E3C5D626EABA}",
"name": "Microsoft .NET Host FX Resolver - 7.0.10 (x64)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{898266E3-A0E5-4BA3-AF3F-E3C5D626EABA}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{8AE22909-0EDC-41D3-A522-602CA7DC3621}",
"name": "Microsoft .NET Runtime - 7.0.10 (x64)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{8AE22909-0EDC-41D3-A522-602CA7DC3621}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{008633A8-3E07-45BC-AC5A-01EEF2EF41FD}",
"name": "Microsoft .NET Host - 7.0.10 (x86)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{008633A8-3E07-45BC-AC5A-01EEF2EF41FD}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{749f7aca-89a5-4659-92a5-0449fc5fdd78}",
"name": "Microsoft Windows Desktop Runtime - 7.0.10 (x64)",
"version": "7.0.10.32717",
"install_date": "",
"install_location": "",
"uninstall_string": '"C:\\ProgramData\\Package Cache\\{749f7aca-89a5-4659-92a5-0449fc5fdd78}\\windowsdesktop-runtime-7.0.10-win-x64.exe" /uninstall',
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{7f0fbec4-01ac-473c-a570-39181b1b1acc}",
"name": "Microsoft Windows Desktop Runtime - 7.0.10 (x86)",
"version": "7.0.10.32717",
"install_date": "",
"install_location": "",
"uninstall_string": '"C:\\ProgramData\\Package Cache\\{7f0fbec4-01ac-473c-a570-39181b1b1acc}\\windowsdesktop-runtime-7.0.10-win-x86.exe" /uninstall',
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{8C1E3640-3ECC-4389-BD50-7D6A2BCB2C6C}",
"name": "Microsoft Windows Desktop Runtime - 7.0.10 (x86)",
"version": "56.43.64722",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{8C1E3640-3ECC-4389-BD50-7D6A2BCB2C6C}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{9E7711DA-539B-42F2-9557-CCEB93644B60}",
"name": "Microsoft .NET Host FX Resolver - 7.0.10 (x86)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{9E7711DA-539B-42F2-9557-CCEB93644B60}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{DA8180A0-47B7-4B45-B5B1-EB44D442A9B0}",
"name": "Microsoft .NET Runtime - 7.0.10 (x86)",
"version": "56.43.64668",
"install_date": "2023-08-22 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{DA8180A0-47B7-4B45-B5B1-EB44D442A9B0}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
}
"""
def install():
dotnet_version = control.get_software_version().split(".")[0]
# Uninstalling the other architecture of the software
for to_uninstall in installed_softwares(name=f"Microsoft Windows Desktop Runtime - {dotnet_version}.*"):
if "ProgramData\\Package Cache" in to_uninstall["uninstall_string"]:
if "x64" in ensure_list(control.architecture) and not to_uninstall["win64"] or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]) + " /norestart")
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
# Installing the software
silentflags = "/install /quiet /norestart"
if "x64" in ensure_list(control.architecture) or "all" in ensure_list(control.architecture) and iswin64():
install_exe_if_needed(
glob.glob("windowsdesktop-runtime-*x64.exe")[0],
silentflags=silentflags,
name=f"Microsoft Windows Desktop Runtime - {dotnet_version}.*(x64)",
min_version="",
force=True, # force, since the version cannot be easily checked and the installer will handle it.
)
if "x86" in ensure_list(control.architecture) or "all" in ensure_list(control.architecture):
install_exe_if_needed(
glob.glob("windowsdesktop-runtime-*x86.exe")[0],
silentflags=silentflags,
name=f"Microsoft Windows Desktop Runtime - {dotnet_version}.*(x86)",
min_version="",
force=True, # force, since the version cannot be easily checked and the installer will handle it.
)
# Clear uninstallkey to avoid the no-code audit and uninstall
uninstallkey.clear()
def audit():
# Declaring local variables
audit_result = "OK"
dotnet_version = control.get_software_version().split(".")[0]
app_check = installed_softwares(name=f"Microsoft Windows Desktop Runtime - {dotnet_version}.*")
audit_version = True
# Auditing software
if not app_check:
print("%s is not installed" % control.package.split("-", 1)[-1].replace("-", " ").title())
audit_result = "ERROR"
elif audit_version:
for to_audit in app_check:
if "ProgramData\\Package Cache" in to_audit["uninstall_string"]:
if Version(to_audit["version"]) < Version(control.get_software_version()):
print(f'{to_audit["name"]} is installed in version: {to_audit["version"]} instead of: {control.get_software_version()}.')
audit_result = "WARNING"
else:
print("%s is installed and up-to-date." % to_audit["name"])
return audit_result
def uninstall():
# Declaring local variables
dotnet_version = control.get_software_version().split(".")[0]
for to_uninstall in installed_softwares(name=f"Microsoft Windows Desktop Runtime - {dotnet_version}.*"):
if "ProgramData\\Package Cache" in to_uninstall["uninstall_string"]:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]) + " /norestart")
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
update_package.py
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dotnet_version = ".".join(control.get_software_version().split(".")[:2])
if control.architecture != "all":
archs = [control.architecture]
else:
archs = ["x86", "x64"]
for arch in archs:
url_version = "https://versionsof.net/core/%s/" % dotnet_version
version = wgets(url_version, proxies=proxies).split("Latest runtime:")[1].split("/")[3]
url = "https://versionsof.net/core/%s/%s/" % (dotnet_version, version)
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies, timeout=10):
if "windowsdesktop-runtime-" in bs_search["href"] and arch in bs_search["href"]:
latest_bin = bs_search["href"].split("/")[-1]
download_url = bs_search["href"]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 3) == Version(version, 3):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Deleting outdated binaries
arch_list = ensure_list(control.architecture)
remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
012fcc56c681eeb211f03ae80b2bf0b49b3e0c23a036f7b3fef525a0209a63c7 : setup.py
: __pycache__
ee8a1ee89bc046ad94933818b18465eacfdbee3bcaedc9f67e0158b17b20fce6 : windowsdesktop-runtime-7.0.10-win-x64.exe
703767f816b0e77cc484ab18322037f6881a2903a8d6f7ea1047d2fb79b227e1 : update_package.py
1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
d8beb78cfcf1a2b37410ab9ce60a8b1aa86c57e02b6a5608f01037f78c4be6b9 : WAPT/changelog.txt
e4cfcb77fd786b79cd15b6bf984b7e04a4107952d8257dc7a97223c08b54d3b0 : luti.json
cdb463d2024e1b82e099815a62673c6153356dec22b9484067c877497d09f8fb : windowsdesktop-runtime-7.0.10-win-x86.exe
5608f8a13d17acbfeb25b4e8ce6df319cf31b35964f5493c6e57c3faaee97d71 : WAPT/control