tis-google-drive icon

Google Drive

Paquet d’installation silencieuse pour Google Drive

68.0.2.0-3

  • package: tis-google-drive
  • name: Google Drive
  • version: 68.0.2.0-3
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson
  • editor: Google
  • licence: propriatary
  • locale: all
  • target_os: windows
  • impacted_process: GoogleDriveFS
  • architecture: all
  • signature_date:
  • size: 301.87 Mo
  • installed_size: 340.65 Mo
  • homepage : https://www.google.com/drive/

package           : tis-google-drive
version           : 68.0.2.0-3
architecture      : all
section           : base
priority          : optional
name              : Google Drive
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson
description       : Drive provides encrypted and secure access to your files. Files shared with you are proactively scanned and removed when malware, spam, ransomware, ...
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://dl.google.com/drive-file-stream/GoogleDriveSetup.exe
installed_size    : 340652032
impacted_process  : GoogleDriveFS
description_fr    : Drive fournit un accès crypté et sécurisé à vos fichiers. Les fichiers partagés avec vous sont analysés de manière proactive et supprimés lorsque des logiciels malveillants, des spams, des ransomwares, ..
description_pl    : Drive zapewnia zaszyfrowany i bezpieczny dostęp do Twoich plików. Udostępnione pliki są proaktywnie skanowane i usuwane, gdy złośliwe oprogramowanie, spam, ransomware, ..
description_de    : Drive bietet verschlüsselten und sicheren Zugriff auf Ihre Dateien. Mit Ihnen geteilte Dateien werden proaktiv gescannt und entfernt, wenn Malware, Spam, Ransomware, ..
description_es    : Drive proporciona un acceso cifrado y seguro a tus archivos. Los archivos compartidos con usted se analizan de forma proactiva y se eliminan cuando el malware, el spam, el ransomware,..
description_pt    : A unidade proporciona um acesso encriptado e seguro aos seus ficheiros. Os ficheiros partilhados consigo são verificados e removidos proactivamente quando malware, spam, ransomware, ..
description_it    : Drive offre un accesso crittografato e sicuro ai vostri file. I file condivisi con l'utente vengono scansionati e rimossi in modo proattivo quando malware, spam, ransomware, ..
description_nl    : Drive biedt versleutelde en beveiligde toegang tot uw bestanden. Met u gedeelde bestanden worden proactief gescand en verwijderd wanneer malware, spam, ransomware, ..
description_ru    : Drive обеспечивает зашифрованный и безопасный доступ к вашим файлам. Файлы, находящиеся в общем доступе, активно проверяются и удаляются при обнаружении вредоносных программ, спама, программ-вымогателей, ..
audit_schedule    : 
editor            : Google
keywords          : 
licence           : propriatary
homepage          : https://www.google.com/drive/
package_uuid      : 9d24f98f-aa7c-43cc-b536-a2c9a1ba73d4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : ccd4cb56a813f5a9047a2f13f051ebad7ca38b2ed78955e9bed4724b4664053b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : lUUN5qWJlnb4Wf3XI4M93eYHyORSm8LSHtsAZeQizB1gvGozqNtoc93C0EvJz4PP7fFFfii2sFg1WVQK8DqnIpseKD/Nns29JsYX7HoNrfbgYfnyZX28R2JklShbNPqILZgbSHmwc7LqNvEBuNGpTNjUkVfkI1wHz5tA4tFmiHSre7A7BLhZJvrAd3AtTrgjHGO8z0vkPcoR9uuow/oX0RBrJFqeVwEEhNfl5Klu8KJnyQ8lz2qzvLPa5MOMS/xYTdZI6fvYpzsUq/1dwpexnip0QR2JDTTIWYxNmj8O9ovJ/vZxrS+6TRcvTcrq9vNdRVzj5DDawjb8Z86Ou8cqew==
signature_date    : 2022-12-17T16:01:37.630198
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 *


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*GoogleDrive*.exe")[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="--silent --gsuite_shortcuts=false",
        key="{6BBAE539-2232-434A-A4E5-9A33560C6283}",
        min_version=package_version,
    )

    uninstallkey.remove("{6BBAE539-2232-434A-A4E5-9A33560C6283}")

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


def uninstall():
    app_uninstallkey = "{6BBAE539-2232-434A-A4E5-9A33560C6283}"
    if uninstall_key_exists(app_uninstallkey):
        print("Removing Google Drive")
        silent_uninstall = uninstall_cmd(app_uninstallkey)
        silent_uninstall[1] = "--silent"
        silent_uninstall.append("--force_stop")
        run(silent_uninstall)
        wait_uninstallkey_absent(app_uninstallkey)

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



def update_package():
    # Declaring local variables
    bin_contains = "GoogleDrive"
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    bin_name_sub = bin_contains + "-%s.exe"
    latest_bin = "GoogleDriveSetup.exe"
    url_dl = "https://dl.google.com/drive-file-stream/GoogleDriveSetup.exe"
    print("Download url is: %s" % url_dl)

    wget(url_dl, latest_bin, proxies=proxies)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # Changing version of the package
    if Version(version_from_file) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version_from_file)))
        result = True
    control.version = "%s-%s" % (Version(version_from_file), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return result

b4457bc6272b674e6e178dc8a061600e10b587841b74e5016a2aaa4db320e328 : setup.py
cdb63d2660be0d8209fc2e6f9b8a88bb8b4e5d72b8614592029cd8bebf5191ab : update_package.py
ccd4cb56a813f5a9047a2f13f051ebad7ca38b2ed78955e9bed4724b4664053b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
39b106f99fa4506587c6d400f3106f0d166b16d9e2e0f9cf6702c68ac42260cd : luti.json
5ef7c82a5f3d4839d04d2acb02c50fd04ef85aae4ea3c9176901d62bd94e9ba4 : GoogleDriveSetup.exe
fc760f141f42e72adc8f6fd44bf4e7b993b7bc6a1039f1dcf3f489eb6b7b25af : WAPT/control