tis-google-drive icon

Google Drive

Paquet d’installation silencieuse pour Google Drive

78.0.1.0-4

  • package: tis-google-drive
  • name: Google Drive
  • version: 78.0.1.0-4
  • categories: Utilities,Storage
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
  • editor: Google
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: GoogleDriveFS
  • architecture: all
  • signature_date:
  • size: 328.14 Mo
  • installed_size: 526.66 Mo
  • homepage : https://www.google.com/drive/

package           : tis-google-drive
version           : 78.0.1.0-4
architecture      : all
section           : base
priority          : optional
name              : Google Drive
categories        : Utilities,Storage
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
description       : Google Drive is a cloud-based file storage and sharing service launched by Google
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://dl.google.com/drive-file-stream/GoogleDriveSetup.exe
installed_size    : 526655215
impacted_process  : GoogleDriveFS
description_fr    : Google Drive est un service de stockage et de partage de fichiers basé sur le cloud et lancé par Google
description_pl    : Dysk Google to oparta na chmurze usługa przechowywania i udostępniania plików uruchomiona przez Google
description_de    : Google Drive ist ein cloudbasierter Dienst zur Speicherung und Freigabe von Dateien, der von Google eingeführt wurde
description_es    : Google Drive es un servicio de almacenamiento y compartición de archivos en la nube lanzado por Google
description_pt    : O Google Drive é um serviço de armazenamento e partilha de ficheiros baseado na nuvem lançado pela Google
description_it    : Google Drive è un servizio di archiviazione e condivisione di file basato sul cloud lanciato da Google
description_nl    : Google Drive is een cloudgebaseerde dienst voor het opslaan en delen van bestanden, gelanceerd door Google
description_ru    : Google Drive - это облачный сервис хранения и обмена файлами, запущенный компанией Google
audit_schedule    : 
editor            : Google
keywords          : google,drive,cloud,based,file,files,storage,sharing,service
licence           : proprietary_free,wapt_public
homepage          : https://www.google.com/drive/
package_uuid      : 3f2d9178-bd47-4f3c-a5c5-28b9a5c64bed
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : ccd4cb56a813f5a9047a2f13f051ebad7ca38b2ed78955e9bed4724b4664053b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : HbdU/yyD0MOzlOETEILt92TsJu0oi0mT/qcEJ03LxoU3Qxw6gmyXA8XMGhBoNBTOQSj7BR0PeywRUmM3V1dwim79OZAio5fqJ+Rx4xuQZSrN3i+KY9fpZR2mZ4Ca0bBDtBKpo2ni19r9k6GJ04jEi1W2vEP8Aa+LrlQXWmM7xS/+7MXMUp6Hb1YycHEI7Nx/Pg3EJipAoe4+7etZ0qh+lw5bMa6GTWRKDdXKtIxOtWHNwNLCWahdK6Msvj0GHUtCo60friAZnN1E0XkGWskr4aMtPQs4Pxe/4TZIRQoWN0qyMHwdan4qDtXaFlkC/yleK8hnuZapWmIHzTvxZyrN9Q==
signature_date    : 2023-07-24T16:00:21.900550
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

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

app_uninstallkey = "{6BBAE539-2232-434A-A4E5-9A33560C6283}"


def install():
    bin_name = "GoogleDriveSetup.exe"
    install_exe_if_needed(
        bin_name,
        silentflags="--silent --desktop_shortcut --skip_launch_new --gsuite_shortcuts=false",
        key=app_uninstallkey,
        min_version=control.get_software_version(),
    )

    # Disabling Google  Auto-Update
    registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\Google\Update", "UpdateDefault", 0)
    registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\Google\Update", "DisableAutoUpdateChecksCheckboxValue", 1)
    registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\Google\Update", "AutoUpdateCheckPeriodMinutes", 0)

    # Adding QuietUninstallString
    quiet_uninstall_string = f'"{installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"]}" --silent --force_stop'
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    download_dict = {
        "windows-all": "https://dl.google.com/drive-file-stream/GoogleDriveSetup.exe",
    }
    download_url = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    for f in glob.glob("*.exe") + glob.glob("*.msi"):
        print("Removing: %s" % f)
        remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    version = get_version_from_binary(latest_bin)
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

91c518d19241d102f6dcd97aada0a857079364089d53a1fbb232fac993a49135 : setup.py
d80fd75c8247ec8006615e47c298afb32e49c7ddb37a548158f458b75b4b229a : update_package.py
ccd4cb56a813f5a9047a2f13f051ebad7ca38b2ed78955e9bed4724b4664053b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
6b9d3443dee5d95feba2a4e5017377aa5ec6418dd82b982d409824c381bbc5ca : WAPT/changelog.txt
50e4315df44ac917d31aa596f61792c866c3e23015a151fced13959399672811 : luti.json
36b07520ca3587b25d1f1480897c22b1744a70523c1da497aeef16a917268b3f : GoogleDriveSetup.exe
a406dee1cac245ef62c7068535712aefd2a7168bf954000e6852932a9451575a : WAPT/control

77.0.3.0-4
===
Adding --desktop_shortcut --skip_launch_new silentflags
No longer first run on install
Package globabally improved