Tranquil IT recrute Tranquil IT recrute

tis-chrome

Version : 69.0.3497.100-1

Download
  • package : tis-chrome
  • editor :
  • version : 69.0.3497.100-1
  • licence :
  • architecture : all
  • locale : all
  • description : Google Chrome is a web browser created by Google and based on the open source project Chromium
  • description_fr : Google Chrome est un navigateur web créé par Google et basé sur le projet open source Chromium
  • min_os_version : 6.0
  • max_os_version :
  • min_wapt_version :
  • installed_size : 446353408
  • impacted_process : chrome.exe
  • signature_date : 20180918-164134
  • maintainer : Simon Fonteneau

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://srvproxy:3128','https':'http://srvproxy:3128'}
    #proxy = {}
    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'

    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

"""{% trans %}No changelog.{% endtrans %}"""
			

manifest.sha256

[["GoogleChromeStandaloneEnterprise64-fr.msi", "3237e524f3a1465c023c0c70c4bbcbe886f6fb90dd129cd544de9d985bc4463a"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "e306ae088b4ffc91364d6f53a3933bffa75f4bc4f8a3d6ff422209e90760feb0"], ["setup.py", "bd3a9d6a6129de7dea5fb63ea44b33fa03e5b6cf98ddab4f42cc829bf2b5830a"], ["GoogleChromeStandaloneEnterprise32-fr.msi", "31ec917bbc8c6fee4fce08a6162fc6da03acdd9316e7ef20abbc5a43005595a0"], ["WAPT/control", "815b4abe9c70cb26e449b907a5a24bfc38e14e8e8a2dbd213359b6f315e5176a"]]