tis-silverlight

5.1.50918.0-7
Silverlight is a plugin for cross-platform web browsers (Windows and Mac OS), which allows you to develop rich web applications in a vector rendering engine.
6504 downloads
Download

  Description 

  • package : tis-silverlight
  • version : 5.1.50918.0-7
  • architecture : all
  • categories : Internet,Media
  • maintainer : WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ
  • description : Silverlight is a plugin for cross-platform web browsers (Windows and Mac OS), which allows you to develop rich web applications in a vector rendering engine.
  • locale :
  • target_os : windows
  • min_wapt_version : 1.7
  • sources : go.microsoft.com/fwlink/?LinkID=86008
  • installed_size : 56004608
  • impacted_process : iexplorer,Silverlight.Configuration,sllauncher
  • description_fr : Silverlight est un plugin pour navigateur Web multi-plateforme (Windows et Mac OS), qui permet de développer des applications Web riches dans un moteur de rendu vectoriel.
  • description_pl : Silverlight to wtyczka do wieloplatformowych przeglądarek internetowych (Windows i Mac OS), która pozwala na tworzenie bogatych aplikacji internetowych w silniku renderingu wektorowego.
  • description_de : Silverlight ist ein Plugin für plattformübergreifende Webbrowser (Windows und Mac OS), mit dem Sie umfangreiche Webanwendungen in einer Vektor-Rendering-Engine entwickeln können.
  • description_es : Silverlight es un plugin para navegadores web multiplataforma (Windows y Mac OS), que le permite desarrollar aplicaciones web sofisticadas en un motor de renderizado vectorial.
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : Proprietary
  • signature_date : 2021-04-08T10:41:29.933294
  • Homepage : https://www.microsoft.com/getsilverlight/

  Setup.py 

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

uninstallkey = []

# Defining variables
silent_args = '/q /noupdate'
app_uninstallkey = '{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}'


def install():
    # Initializing variables
    package_version = control.version.split('-')[0]

    # Installing the package
    print('Installing Silverlight')
    if iswin64():
        install_exe_if_needed('Silverlight_x64.exe',
            silentflags=silent_args, 
            key=app_uninstallkey, 
            min_version=package_version)
    else:
        install_exe_if_needed('Silverlight.exe', 
            silentflags=silent_args, 
            key=app_uninstallkey, 
            min_version=package_version)


def session_setup():
    print("Disabling: check for updates, DRM downloads")
    registry_set(HKEY_CURRENT_USER, r'SOFTWARE\Microsoft\Silverlight', 'DRMEnabled', 0, type=REG_DWORD)
    #registry_set(HKEY_CURRENT_USER, r'SOFTWARE\Microsoft\Silverlight', 'GPUVideoDecodeEnabled', 0, type=REG_DWORD)
    registry_set(HKEY_CURRENT_USER, r'SOFTWARE\Microsoft\Silverlight', 'UpdateMode', 2, type=REG_DWORD)


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

    wget('https://go.microsoft.com/fwlink/?LinkID=229321', 'Silverlight_x64.exe', proxies=proxies)
    wget('https://go.microsoft.com/fwlink/?LinkId=229320', 'Silverlight.exe', proxies=proxies)

    version = get_file_properties('Silverlight_x64.exe')['FileVersion']

    # Changing version of the package
    control.version = '%s-%s' % (version, 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.txt.
									
  manifest.sha256