tis-vcredist2012

11.0.61030-2
The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications built using Visual Studio.
628 downloads
Download

  Description 

  • package : tis-vcredist2012
  • version : 11.0.61030-2
  • architecture : all
  • categories : Development,System and network
  • maintainer : WAPT Team,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_wapt_version : 1.5
  • sources : https://store.wapt.fr/store/tis-vcredist2012
  • installed_size : 38772736
  • 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-02-27T21:42:26.957993
  • Homepage : https://www.microsoft.com/

  Setup.py 

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

uninstallkey = []

# Declaring specific app values (TO CHANGE)
bin_name_x64 = 'vcredist_x64.exe'
bin_name_x86 = 'vcredist_x86.exe'
silent_args = '/Q'
uninstall_key_x64 = '{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}'
uninstall_key_x86 = '{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}'
url_dl_x64 = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe'
url_dl_x86 = 'http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe'
short_soft_name = 'Microsoft Visual C++ 2012'


def install():
    print('installing %s' % control.asrequirement())

    # Specific app values
    package_version = control.version.split('-',1)[0]

    # Uninstalling older versions
    check_installed = installed_softwares(short_soft_name)
    #print(check_installed)
    for uninstall in check_installed:
		if uninstall['version'] < package_version:
			print('Removing %s' % uninstall['name'])
			cmd = uninstall_cmd(uninstall['key'])
			run(cmd)

	# Getting the used storage on programfiles before installation (place it on the top)
    get_disk_free_space_before = get_disk_free_space(programfiles)

    # Installing the package
    install_exe_if_needed(bin_name_x86
        ,silentflags=silent_args
        ,key=uninstall_key_x86
        ,min_version=package_version)

    if iswin64():
        install_exe_if_needed(bin_name_x64
            ,silentflags=silent_args
            ,key=uninstall_key_x64
            ,min_version=package_version)

   	# Return used storage of the program. (place it on the bottom)
    get_disk_free_space_after = get_disk_free_space(programfiles)
    free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
    print("Storage used: " + str(free_space_after_diff))


def update_package():
    print('Update/Download package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Downloading binaries
    if not isfile(bin_name_x64):
        print('Downloading ' + bin_name_x64)
        wget(url_dl_x64,bin_name_x64,proxies=proxy)

    if not isfile(bin_name_x86):
        print('Downloading ' + bin_name_x86)
        wget(url_dl_x86,bin_name_x86,proxies=proxy)

	# Change version of the package
    version = '.'.join(get_file_properties(bin_name_x86)['ProductVersion'].split('.')[:3])
    print('Writing ' + version + '-0 in WAPT\\control')
    control = PackageEntry().load_control_from_wapt ('.')
    control.version = '%s-0' % version
    control.save_control_to_wapt('.')


										

  Changelog 



No changelog.txt.
									
  manifest.sha256