tis-chromium 60.0.3100.0-6

  • package : tis-chromium
  • version : 60.0.3100.0-6
  • description : Navigateur Web Chromium
  • maintainer : TIS, Amelie LE JEUNE
  • date : 2017-05-15 15:17:09
  • signer : Tranquil IT Systems
  • signature_date : 20170515-151703
  • min_os_version : 6.0
  • min_wapt_version :

setup.py

from setuphelpers import *

uninstallkey = []
required_params = []

build32 = '471616'
build64 = '471616'

def update_control(entry):
    setup_exe = glob.glob('mini_installer.exe')
    rel = entry.version.split('-')
    version = get_file_properties(setup_exe[0])['FileVersion']
    if len(rel)>1:
        version = version + '-%s' % rel[1]
    entry.version = version

def install():
    print "installing Chromium %s system wide" % control.version
    if windows_version()<='5.1':
        WAPT.install('tis-chromium(=48)')
    else:
        if iswin64():
            install_exe_if_needed("mini_installer_x64.exe", "--system-level --do-not-launch-chrome /norestart /i",key='Chromium',killbefore='Chromium')
        else:
            install_exe_if_needed("mini_installer.exe", "--system-level --do-not-launch-chrome /norestart /i",key='Chromium',killbefore='Chromium')
        # not silent, so handle is manually in uninstall...
    uninstallkey.remove('Chromium')

def update_package():
    wget('https://storage.googleapis.com/chromium-browser-snapshots/Win/%s/mini_installer.exe' % build32,'mini_installer.exe')
    wget('https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/%s/mini_installer.exe' % build64,'mini_installer_x64.exe')


def uninstall():
    soft = installed_softwares('Chromium')[0]
    if soft:
        killalltasks('Chromium')
        run_notfatal(soft['uninstall_string']+'  --force-uninstall --qn',accept_returncodes=[0,19,20,21])

if __name__ == '__main__':
    update_package()


    

manifest

[["WAPT/icon.png", "075ae115045829e6c87c335d906acad816fbe61d"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["mini_installer.exe", "041e4e37d847618348aec83ad933522eb7057cac"], ["mini_installer_x64.exe", "65feb8e7e97cbc0e55e6f7b553d8e1f340194a9f"], ["setup.py", "7f2539dd244b615b3ba2d99eb046466fa324f0ee"], ["WAPT/control", "57451357452ac9a81c61440d63d2eebedd0ab369"]]