tis-google-drive icon

Google Drive

Silent install package for Google Drive

107.0.3.0-5

  • package: tis-google-drive
  • name: Google Drive
  • version: 107.0.3.0-5
  • 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: x64
  • signature_date:
  • size: 330.53 Mo
  • installed_size: 526.66 Mo
  • homepage : https://www.google.com/drive/

package           : tis-google-drive
version           : 107.0.3.0-5
architecture      : x64
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      : 0cf5385a-6b5e-4677-9130-fd3103bd41bd
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_date    : 2025-04-28T13:04:05.000000
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
signature         : DVXhirOXuYR/OSZ56oE+fOC/oqkWLkV6avzZ93TrqT78rlL+0mBf2d23jriO9eFeWvJV76oUZri869F8ixV/ltHlMNF/98fezlwI0W+yTcSYDeTAFIot0LQFF/A7AMGqXbLWVzPjNIrkkvn5imvDwvYaPWDMMl97WTdmocUFJUt8pdKbASHFLABx8KKrRqy+RX0J3mPUPEKDZKayHTiIm86ri6htMAJuEGJ2Q7jGSpgqDdBUXnUo61D3NSOhbQ4XKsIIO8LObLMsjP1ZAkUtkzGTLWwM2OcbKbiZNnJ1VF3pkYTwOVJsgyyjCHYPezq0hWqKl3s41beHslfiTzqe6g==

# -*- 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_url = "https://dl.google.com/drive-file-stream/GoogleDriveSetup.exe"
    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

429ca4df2f6632b8617c00a42e002414729672eee751b3cb18b9778a0fc3749c : GoogleDriveSetup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
fd2bb15032a43f165df2e0c0642502dc4890b050d87f8ae78dc37be14d1eaba9 : WAPT/changelog.txt
dc537fbb28faa7ea65b5a8a254d41fa5668d8b6df0580de030b7893c4eb10fd2 : WAPT/control
ccd4cb56a813f5a9047a2f13f051ebad7ca38b2ed78955e9bed4724b4664053b : WAPT/icon.png
b1253a6f4bf56321e24252c048604e456981c1ed720f8ecbc8f886c2700b4d5c : luti.json
91c518d19241d102f6dcd97aada0a857079364089d53a1fbb232fac993a49135 : setup.py
9495160d5b84bf3f53e1f12b93d1611f7338ed4b3069e073e5629b1cc1def843 : update_package.py

80.0.1.0-5
===
Google Drive is only available in windows 64bits starting in september as per those article :
    - https://support.google.com/drive/thread/229859020/support-ending-for-32-bit-ending-soon
    - https://support.google.com/drive/answer/2375082?hl=en&sjid=10658140880950252444-SA&co=GENIE.Platform%3DDesktop&oco=1

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