tis-silverlight

5.1.50907.0-1
automatic package for Microsoft® Windows® Operating System (Microsoft Corporation)
4650 downloads
Download

  Description 

  • package : tis-silverlight
  • version : 5.1.50907.0-1
  • architecture : all
  • categories :
  • maintainer : Simon Fonteneau
  • description : automatic package for Microsoft® Windows® Operating System (Microsoft Corporation)
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources : https://srvdev/sources/tis-silverlight-wapt/trunk
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:41:35.008825

  Setup.py 

# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

def install():

    print('installing silverlight')

    key = '{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}'
    versionsoft = control['version'].split('-',1)[0]
    if iswin64():
        install_exe_if_needed('Silverlight_x64.exe',silentflags='/q /noupdate',key=key,min_version=versionsoft,killbefore=['iexplorer','firefox.exe','edge.exe'])
    else:
        install_exe_if_needed('Silverlight.exe',silentflags='/q /noupdate',key=key,min_version=versionsoft,killbefore=['iexplorer','firefox.exe','edge.exe'])

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

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

    os.chdir(os.path.dirname(__file__))

    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = vers + '-0'
    pe.save_control_to_wapt(os.getcwd())



if __name__ == '__main__':
    update_package()

										

  Changelog 


No changelog
  manifest.sha256 
[["WAPT/icon.png","78fdcfef0fb6e9e03de7739451743f18772192ccb9d4713f1e3ce359ea2458c2"],["Silverlight_x64.exe","8d263a6f42a378073b6f057f242a42076f9f4082340153c2e27ecc959c5036aa"],["WAPT/wapt.psproj","795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b"],["Silverlight.exe","88e1b76bdf799478a72fa27db0bfe7bc5d02cc7e53675967399300448f0e266f"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["setup.py","7c7a9f85d717e4e8ada3846b6dfc9779dbfb7614d075273aafa4522739e5cbfb"],["WAPT/control","1cb9d8fccc3b0045f6b0ab34908f5f48bee9ea7187079b4e0cc368bb1135080d"]]