tis-dotnet5
5.0.17-12
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
4381 downloads
See build result See VirusTotal scan

Description
- package : tis-dotnet5
- name : .NET Runtime 5
- version : 5.0.17-12
- categories : Dependency
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
- installed_size : 193107342
- editor : Microsoft
- licence : opensource_free,cpe:/a:mit:x11_license,wapt_public
- signature_date : 2023-12-03T09:01:03.411087
- size : 49.50 Mo
- locale : all
- target_os : windows
- impacted_process :
- architecture : x86
- Homepage : https://github.com/dotnet/runtime
control
package : tis-dotnet5
version : 5.0.17-12
architecture : x86
section : base
priority : optional
name : .NET Runtime 5
categories : Dependency
maintainer : WAPT Team,Tranquil IT,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 : 193107342
impacted_process :
description_fr : Le moteur d'exécution .NET Desktop Runtime vous permet d'exécuter des applications de bureau Windows existantes. Cette version inclut le Runtime .NET ; vous n'avez pas besoin de l'installer séparément
description_pl : Środowisko uruchomieniowe .NET Desktop Runtime umożliwia uruchamianie istniejących aplikacji pulpitu systemu Windows. Ta wersja zawiera środowisko uruchomieniowe .NET; 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 : .NET Desktop Runtime le permite ejecutar las aplicaciones de escritorio de Windows existentes. Esta versión incluye .NET Runtime; no es necesario instalarlo por separado
description_pt : O .NET Desktop Runtime permite-lhe executar aplicações existentes do ambiente de trabalho do Windows. 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 kun je bestaande Windows desktopapplicaties uitvoeren. Deze release bevat de .NET Runtime; je 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 : 7af367be-64e3-404a-a08a-7bca8a30531d
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/dotnet/core/tree/main/release-notes/5.0
min_os_version : 6.1
max_os_version :
icon_sha256sum : 1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : E+ZEMzsn2xwcXVAMZ0ffAmmOzNK5iBsv0pGeaNsvapNotwGDjTh4XV07lYOf9xHPJMN99Qsmkt7dD1s/iqLdzw0bYpTfYAUywR5HyscOpWBowiRgwVklviETnt9vguRPgH4HnNi1h8aSH+NOSaHb6Mh9ZfkPBwthZZkhVmSJ2xHE1cDBRumFUWwgPSHVUX+ACcVc3KSHyWauG6y8P+pPRi4B48eerZ5uoTh3D0taNZAht4XDUtu4LpIDH3/HHkL495BRQvJlFHzHIvl0B3xHHk+09ZE6QisqVZlyDJiqR1wjrdIyKehsSREwewhaRTftyzahyZe3B+6Iv8RQtxbnJQ==
signature_date : 2023-12-03T09:01:03.411087
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": "{3C31CBA1-A0D9-4B95-A807-AD2313D12F47}",
"name": "Microsoft Windows Desktop Runtime - 5.0.17 (x64)",
"version": "40.68.31219",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{3C31CBA1-A0D9-4B95-A807-AD2313D12F47}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{5A66E598-37BD-4C8A-A7CB-A71C32ABCD78}",
"name": "Microsoft .NET Runtime - 5.0.17 (x64)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{5A66E598-37BD-4C8A-A7CB-A71C32ABCD78}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{8BA25391-0BE6-443A-8EBF-86A29BAFC479}",
"name": "Microsoft .NET Host FX Resolver - 5.0.17 (x64)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{8BA25391-0BE6-443A-8EBF-86A29BAFC479}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{E663ED1E-899C-40E8-91D0-8D37B95E3C69}",
"name": "Microsoft .NET Host - 5.0.17 (x64)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{E663ED1E-899C-40E8-91D0-8D37B95E3C69}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": true,
},
{
"key": "{098c6ff7-1af1-4c4a-b86f-c60608c98e31}",
"name": "Microsoft Windows Desktop Runtime - 5.0.17 (x86)",
"version": "5.0.17.31219",
"install_date": "",
"install_location": "",
"uninstall_string": '"C:\\ProgramData\\Package Cache\\{098c6ff7-1af1-4c4a-b86f-c60608c98e31}\\windowsdesktop-runtime-5.0.17-win-x86.exe" /uninstall',
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{0D02D706-44F2-4957-A448-E7259A0B56B9}",
"name": "Microsoft Windows Desktop Runtime - 5.0.17 (x86)",
"version": "40.68.31219",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{0D02D706-44F2-4957-A448-E7259A0B56B9}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{20d5df4e-006c-4d6d-a0dc-490d009b9786}",
"name": "Microsoft Windows Desktop Runtime - 5.0.17 (x64)",
"version": "5.0.17.31219",
"install_date": "",
"install_location": "",
"uninstall_string": '"C:\\ProgramData\\Package Cache\\{20d5df4e-006c-4d6d-a0dc-490d009b9786}\\windowsdesktop-runtime-5.0.17-win-x64.exe" /uninstall',
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{54DE7EA9-E391-4BD2-A373-3A72A18EBDB5}",
"name": "Microsoft .NET Host - 5.0.17 (x86)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{54DE7EA9-E391-4BD2-A373-3A72A18EBDB5}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{59650A2A-3839-46EC-9D9C-6B3B1C743C55}",
"name": "Microsoft .NET Runtime - 5.0.17 (x86)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{59650A2A-3839-46EC-9D9C-6B3B1C743C55}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
{
"key": "{AF01038B-6523-4EA7-9D9E-4F1E2927D88B}",
"name": "Microsoft .NET Host FX Resolver - 5.0.17 (x86)",
"version": "40.68.31213",
"install_date": "2023-11-27 00:00:00",
"install_location": "",
"uninstall_string": "MsiExec.exe /X{AF01038B-6523-4EA7-9D9E-4F1E2927D88B}",
"publisher": "Microsoft Corporation",
"system_component": 0,
"win64": false,
},
]
"""
def install():
dotnet_version = control.get_software_version().split(".")[0]
# Installing the software
silentflags = "/install /quiet /norestart"
if 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 option, since the version is not easy to check, and the installer will take care of it.
)
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 option, since the version is not easy to check, and the installer will take care of 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 r"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 r"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 "x64" in ensure_list(control.architecture):
archs = ["x86", "x64"]
else:
archs = ["x86"]
url = "https://dotnet.microsoft.com/en-us/download/dotnet/%s" % dotnet_version
for arch in archs:
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", "data-bi-dlnm", ".NET Release Table Download", proxies=proxies, timeout=10):
if "runtime-desktop-" in bs_search.get("href", "") and arch in bs_search.get("href", ""):
download_url_page = "https://dotnet.microsoft.com" + bs_search["href"]
version = download_url_page.split("/")[-1].split("-")[2]
break
for bs_search in bs_find_all(download_url_page, "a", "onclick", "recordManualDownload()"):
if version in bs_search.get("href", "") and "windowsdesktop-runtime" in bs_search.get("href", ""):
download_url = bs_search["href"]
latest_bin = download_url.split("/")[-1]
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=("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)
5096a752886f21645d0ba15b758cd44c0693a59b7edc0b1a8586f5a4014f1075 : setup.py
: __pycache__
040444d05a944553cd29b1e6edf4403548675e3ac1264b4416ac5f4c0e0487e6 : update_package.py
1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
db7bae4df1547694264cfbb8db383227038b1cf90a126a4864f9ddc1079c8cea : WAPT/changelog.txt
5abf9cbff56d81d3be6d350c966857c181a3a282967781b2453bba77c0715bb9 : luti.json
63fef76824c51df09ed6fc5b031796fad64435db0e72f1735021b55760360c98 : windowsdesktop-runtime-5.0.17-win-x86.exe
0ae82582709dd1b8224bf8013cc762f8bbba43174c098aad719f40b15f3b67e1 : WAPT/control