tis-dotnet6
6.0.14.32124-5
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
6327 downloads
See build result See VirusTotal scan

Description
- package : tis-dotnet6
- name : .NET Desktop Runtime 6
- version : 6.0.14.32124-5
- categories : Dependency
- maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
- installed_size : 320911360
- editor : Microsoft
- licence : MIT License
- signature_date : 2023-03-08T12:00:44.517497
- size : 51.90 Mo
- locale : all
- target_os : windows
- impacted_process :
- architecture : x86
- Homepage : https://github.com/dotnet/runtime
control
package : tis-dotnet6
version : 6.0.14.32124-5
architecture : x86
section : base
priority : optional
name : .NET Desktop Runtime 6
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.0
sources : https://github.com/dotnet/runtime
installed_size : 320911360
impacted_process :
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 : MIT License
homepage : https://github.com/dotnet/runtime
package_uuid : 10dbb4eb-9c5c-4066-83ed-4f63a7a20d44
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/dotnet/core/tree/main/release-notes/6.0
min_os_version : 6.1
max_os_version :
icon_sha256sum : 1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : Y/q+FI0QrdQUgaX0gtJeMWpIwCbfRpCDaYxWUpjIZMVMPuyV59PlaHFKEmn/FsVgGzvMsfAJgb5p2uS5hB50CxFgyVNaENwNn9zLX28kAvRbDMGoSfSybi4RpyWozzkfClVAwPXSwWPXHzUzO+/SOGRyirFzWEUfMFvs49fMKwr7A3oRsXPMHZyV5IRRzw9Y96J/96A8REN+MkBWcYnSSX2/fXRNhFujW3SChreUTQXWzOW9V9CHOvauaxvX+EP1HcEQDkvvzE3JBEWyQgnHY8fqPJFri4u0c+zZNrmPXkctPF4mXPExPUJIY6Po1GqpCM6zFJX/QHcLac51znMLdQ==
signature_date : 2023-03-08T12:00:44.517497
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 *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
UninstallKey Software Version Uninstallstring
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{09BE57EC-66FA-4C4D-ABED-EBCB6A6BF6EA} Microsoft .NET Runtime - 6.0.2 (x64) 48.11.35878 MsiExec.exe /X{09BE57EC-66FA-4C4D-ABED-EBCB6A6BF6EA}
{400912BD-8880-45D6-B657-CC52E9297295} Microsoft .NET Host FX Resolver - 6.0.2 (x64) 48.11.35878 MsiExec.exe /X{400912BD-8880-45D6-B657-CC52E9297295}
{70D77D60-C620-4829-AF52-7AB767A8BB52} Microsoft Windows Desktop Runtime - 6.0.2 (x64) 48.11.35878 MsiExec.exe /X{70D77D60-C620-4829-AF52-7AB767A8BB52}
{FCA58978-1518-4AA5-9B43-D9D3CDE9C314} Microsoft .NET Host - 6.0.2 (x64) 48.11.35878 MsiExec.exe /X{FCA58978-1518-4AA5-9B43-D9D3CDE9C314}
{1a728e82-3f40-4727-a130-218513758946} Microsoft Windows Desktop Runtime - 6.0.2 (x64) 6.0.2.30914 "C:\ProgramData\Package Cache\{1a728e82-3f40-4727-a130-218513758946}\windowsdesktop-runtime-6.0.2-win-x64.exe" /uninstall
{24F34A73-A510-44DD-A90F-946BA41C3EA0} Microsoft .NET Host - 6.0.2 (x86) 48.11.35878 MsiExec.exe /X{24F34A73-A510-44DD-A90F-946BA41C3EA0}
{A54C9C13-9F3E-4E95-8BE0-7A36A1F80245} Microsoft .NET Runtime - 6.0.2 (x86) 48.11.35878 MsiExec.exe /X{A54C9C13-9F3E-4E95-8BE0-7A36A1F80245}
{D2704ECD-6F5F-4B2E-B895-848B1403ACE7} Microsoft .NET Host FX Resolver - 6.0.2 (x86) 48.11.35878 MsiExec.exe /X{D2704ECD-6F5F-4B2E-B895-848B1403ACE7}
{DE561533-408D-4E2C-BB6E-05960A801450} Microsoft Windows Desktop Runtime - 6.0.2 (x86) 48.11.35878 MsiExec.exe /X{DE561533-408D-4E2C-BB6E-05960A801450}
{e37b6a90-60df-4744-92b5-f12059e0167d} Microsoft Windows Desktop Runtime - 6.0.2 (x86) 6.0.2.30914 "C:\ProgramData\Package Cache\{e37b6a90-60df-4744-92b5-f12059e0167d}\windowsdesktop-runtime-6.0.2-win-x86.exe" /uninstall
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "windowsdesktop-runtime-"
# app_uninstallkey_x64 = "{1a728e82-3f40-4727-a130-218513758946}"
# app_uninstallkey_x86 = "{e37b6a90-60df-4744-92b5-f12059e0167d}"
app_silentflags = "/install /quiet /norestart"
def install():
# Declaring local variables
package_version = control.get_software_version()
dotnet_version = package_version.split(".")[0]
# # Checking if the same or a newer version is already present
# for installed_version in installed_softwares(name="Microsoft .* Runtime - %s.*" % dotnet_version):
# if Version(installed_version["version"], 1) == Version(package_version, 1):
# if Version(installed_version["version"]) < Version(package_version):
# force = True
# Installing the x86 software
if not iswin64() or control.architecture == "all":
bin_name_x86 = glob.glob("*%s*x86.exe" % bin_contains)[0]
print("Installing: %s" % bin_name_x86)
install_exe_if_needed(
bin_name_x86,
silentflags=app_silentflags,
name="Microsoft Windows Desktop Runtime - %s.*(x86)" % dotnet_version,
min_version="",
)
if iswin64():
# Installing the x64 software
bin_name_x64 = glob.glob("*%s*x64.exe" % bin_contains)[0]
print("Installing: %s" % bin_name_x64)
install_exe_if_needed(
bin_name_x64,
silentflags=app_silentflags,
name="Microsoft Windows Desktop Runtime - %s.*(x64)" % dotnet_version,
min_version="",
)
# Adding needed UninstallKeys as install_exe retrieve unreliable keys
uninstallkey.clear()
def audit():
# Declaring local variables
package_version = control.get_software_version()
dotnet_version = package_version.split(".")[0]
result = "OK"
app_check = installed_softwares("Microsoft Windows Desktop Runtime - %s" % dotnet_version)
installed_version = []
for soft in app_check:
if Version(soft["version"], 1) == Version(package_version, 1):
installed_version.append({"name": soft["name"], "version": soft["version"]})
# Auditing software
if not installed_version:
print("%s is not installed" % control.package.split("-", 1)[-1].replace("-", " ").title())
result = "ERROR"
else:
for soft in installed_version:
if Version(soft["version"]) < Version(package_version):
print("%s is installed but not up to date" % soft["name"])
result = "WARNING"
else:
print("%s is installed and up to date" % soft["name"])
return result
def uninstall():
# Declaring local variables
package_version = control.get_software_version()
dotnet_version = package_version.split(".")[0]
uninstall_list = []
# getting uninstall keys
for soft in installed_softwares("Microsoft Windows Desktop Runtime - %s" % dotnet_version):
if Version(soft["version"], 1) == Version(package_version, 1):
uninstall_list.append({"name": " ", "key": soft["key"], "uninstall_string": soft["uninstall_string"], "version": soft["version"]})
# uninstalling software
if not uninstall_list:
print("%s is not installed" % control.package.split("-", 1)[-1].replace("-", " ").title())
else:
for soft in uninstall_list:
print("Uninstalling: %s" % soft["name"])
run(uninstall_cmd(soft["key"]))
wait_uninstallkey_absent(soft["key"])
update_package.py
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
bin_contains = "windowsdesktop-runtime-"
package_version = control.get_software_version()
dotnet_version = ".".join(package_version.split(".")[:2])
result = False
proxies = get_proxies()
if control.architecture != "all":
archs = [control.architecture]
else:
archs = ["x86", "x64"]
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
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 bin_contains in bs_search["href"] and arch in bs_search["href"]:
latest_bin = bs_search["href"].split("/")[-1]
download_url = bs_search["href"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, bin_contains + version_from_file + "-%s.exe" % arch)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return result
6db4f5c7d6f8b6d24fe775f9753f1f690740b8fe6bb68a2b15d7b16ba7dc0d91 : setup.py
a09692b8da82b639ab05e5012644df38488cb3b16acb11620fd5a2b96e8390d3 : windowsdesktop-runtime-6.0.14.32124-x86.exe
903a7019b98b2fb595da856409ef134dd4d2a5cc6fc4fce26bddfeb626c9411f : update_package.py
1460db9c3885967269ebbc71d898181ab7d1506f3212bafc2df3acc648d43db0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
d8c1391ff1355753f440ab22724b4c67d23de4a0f9e1c0c9a1d16b23de9db539 : luti.json
b136e270036589c8503506e0ccb6bd625a39d372e8adc9d91eaabc4acc74b473 : WAPT/control