tis-chrome 66.0.3359.139-1

  • package : tis-chrome
  • version : 66.0.3359.139-1
  • architecture : all
  • locale : all
  • description : Google Chrome is a web browser created by Google and based on the open source project Chromium
  • maintainer : Simon Fonteneau
  • date : 2018-04-27 17:47:13
  • min_wapt_version :
  • min_os_version : 6.0
  • max_os_version :
  • impacted_process : chrome.exe

setup.py

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

from subprocess import CalledProcessError

uninstallkey = []

def install():
    print('installing tis-chrome')
    versionpaquet = control['version'].split('-',1)[0]
    chromepath=makepath(programfiles32,'Google','Chrome','Application','chrome.exe')

    if isfile(chromepath):
        if Version(get_file_properties(chromepath)['ProductVersion']) > Version(versionpaquet):
            print('File %s version is : %s ' % (chromepath,get_file_properties(chromepath)['ProductVersion']))
            print('Paquet version is : %s ' % versionpaquet)
            print('------ SKIP ------')
            return 0

    def getversionchrome(key):
        return get_file_properties(chromepath)['ProductVersion']

    if iswin64():
        install_msi_if_needed('GoogleChromeStandaloneEnterprise64-fr.msi',min_version=versionpaquet,killbefore='chrome.exe',get_version=getversionchrome)
    else:
        install_msi_if_needed('GoogleChromeStandaloneEnterprise32-fr.msi',min_version=versionpaquet,killbefore='chrome.exe',get_version=getversionchrome)

def update_package():

    import time
    proxy = {'http':'http://wpad:3128','https':'http://wpad:3128'}
    #proxy = None

    wget('https://dl.google.com/tag/s/appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={00000000-0000-0000-0000-000000000000}&lang=fr&browser=3&usagestats=0&appname=Google%2520Chrome&needsadmin=prefers/edgedl/chrome/install/GoogleChromeStandaloneEnterprise.msi','GoogleChromeStandaloneEnterprise32-fr.msi',proxies=proxy)
    wget('https://dl.google.com/tag/s/appguid={00000000-0000-0000-0000-000000000000}&iid={00000000-0000-0000-0000-000000000000}&lang=fr&browser=4&usagestats=0&appname=Google Chrome&needsadmin=true/dl/chrome/install/googlechromestandaloneenterprise64.msi','GoogleChromeStandaloneEnterprise64-fr.msi',proxies=proxy)

    if iswin64():
        chrome = 'GoogleChromeStandaloneEnterprise64-fr.msi'
    else:
        chrome = 'GoogleChromeStandaloneEnterprise32-fr.msi'

    killalltasks('chrome.exe')
    run(r'msiexec /norestart /q /i "%s" ' % chrome)

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

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

    pe.version = get_file_properties(makepath(programfiles32,'Google','Chrome','Application','chrome.exe'))['ProductVersion'] + '-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_package()







    

Changelog

No changelog
    

manifest.sha256

GoogleChromeStandaloneEnterprise64-fr.msi 73b15215d159eb5b42a36608dcff86cdc9d1d79725a6ec9f06e65078998c1cf9
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 324f014e8690c45eb9cc515b7b8bf77b5ca20a7e2e283f7d1964197786696fae
setup.py 8ef5b382482e21027df7645c4e4dd8fe38eaac9ca81b1d1fd1055c16a4344112
GoogleChromeStandaloneEnterprise32-fr.msi a0d22a5cfc84ed92130fba4d09d7c27aac83db350e18fe9b598405f87581ee18
WAPT/control c859ea9fdf0108e9ba0d6a56c7d2e7850a0dce663177607791b7f4106eb303af