tis-vcredist2015-2019

14.28.29325.2-8
The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications built using Visual Studio
3429 downloads
Download

  Description 

  • package : tis-vcredist2015-2019
  • version : 14.28.29325.2-8
  • architecture : all
  • categories : Development,System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications built using Visual Studio
  • locale :
  • target_os : windows
  • min_os_version : 6.1
  • max_os_version :
  • min_wapt_version : 1.7
  • sources : https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads
  • installed_size :
  • impacted_process :
  • description_fr : Les packages Redistribuable Visual C++ installent les composants d'exécution nécessaires pour exécuter les applications C++ créées à l'aide de Visual Studio
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : Freeware
  • signature_date : 2020-12-22T17:49:31.667224
  • Homepage : https://www.microsoft.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

uninstallkey = []

# Defining variables
bin_name_x86 = 'VC_redist.x86.exe'
bin_name_x64 = 'VC_redist.x64.exe'
#bin_name_arm64 = 'VC_redist.arm64.exe'
silent_args = '/quiet /norestart'

# Warning: The uninstallkey change every versions
uninstall_key_x86 = '{d7a6435f-ac9a-4af6-8fdc-ca130d13fac9}'
uninstall_key_x64 = '{33628a12-6787-4b9f-95a1-92449f69fae0}'
#uninstall_key_arm64 = ''

url_dl_x86 = 'https://aka.ms/vs/16/release/VC_redist.x86.exe'
url_dl_x64 = 'https://aka.ms/vs/16/release/VC_redist.x64.exe'
#url_dl_arm64 = 'https://aka.ms/vs/16/release/VC_redist.arm64.exe'


def install():
    # Installing the package
    print('Installing: %s' % bin_name_x86)
    install_exe_if_needed(bin_name_x86,
        silentflags=silent_args,
        key=uninstall_key_x86)

    if iswin64():
        print('Installing: %s' % bin_name_x64)
        install_exe_if_needed(bin_name_x64,
            silentflags=silent_args,
            key=uninstall_key_x64)


def update_package():
    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    # Downloading binaries
    print('Downloading ' + bin_name_x64)
    wget(url_dl_x64, bin_name_x64, proxies=proxies)
    print('Downloading ' + bin_name_x86)
    wget(url_dl_x86, bin_name_x86, proxies=proxies)

    # Changing version of the package
    version = get_version_from_binary(bin_name_x86)
    control.version = '%s-%s' % (version, int(control.version.split('-')[-1])+1)
    control.save_control_to_wapt()
    print('Changing package version to: %s in WAPT\\control' % control.version)




def get_proxies():
    if platform.python_version_tuple()[0] == '3':
        from urllib.request import getproxies
    else:
        from urllib import getproxies
    return getproxies()


def get_proxies_from_wapt_console():
    proxies = {}
    if platform.system() == 'Windows':
        waptconsole_ini_path = makepath(user_local_appdata(), 'waptconsole', 'waptconsole.ini')
    else:
        waptconsole_ini_path = makepath(user_home_directory(), '.config', 'waptconsole', 'waptconsole.ini')
    if isfile(waptconsole_ini_path):
        proxy_wapt = inifile_readstring(waptconsole_ini_path, 'global', 'http_proxy')
        if proxy_wapt:
            proxies = {'http': proxy_wapt, 'https': proxy_wapt}
    return proxies


def get_version_from_binary(filename, parameter='ProductVersion'):
    if filename.endswith('.msi'):
        return get_msi_properties(filename)[parameter]
    else:
        return get_file_properties(filename)[parameter]


										

  Changelog 


No changelog
  manifest.sha256 
[["setup.py","aac96f7f449c38e945377934a9da7e073a03eb5418ad9fc781d65e6c5a07598d"],["VC_redist.x64.exe","b1a32c71a6b7d5978904fb223763263ea5a7eb23b2c44a0d60e90d234ad99178"],["VC_redist.x86.exe","50a3e92ade4c2d8f310a2812d46322459104039b9deadbd7fdd483b5c697c0c8"],["WAPT/icon.png","057c35554d9d1cc9cc72c539d46ad6f712893330a3ce22ff7676e84fcbb34fba"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","269483e81f5282c77348134e5e56e4b21ca0246cc7f1e68484ab3461cda4ee75"]]