tis-googleearth icon

Google Earth

Silent install package for Google Earth

7.3.6.9345-2

  • package: tis-googleearth
  • name: Google Earth
  • version: 7.3.6.9345-2
  • categories: Internet,Utilities,Education
  • maintainer: WAPT Team,Tranquil IT
  • editor: Google
  • licence: Freeware
  • locale: all
  • target_os: windows
  • impacted_process: googleearth.exe
  • architecture: x64
  • signature_date:
  • size: 66.45 Mo
  • installed_size: 281.87 Mo
  • homepage : https://www.google.fr/intl/fr/earth/

package           : tis-googleearth
version           : 7.3.6.9345-2
architecture      : x64
section           : base
priority          : optional
name              : Google Earth
categories        : Internet,Utilities,Education
maintainer        : WAPT Team,Tranquil IT
description       : Google Earth is a software owned by Google, allowing a visualization of the Earth with an assembly of aerial or satellite photographs
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 281874432
impacted_process  : googleearth.exe
description_fr    : Google Earth est un logiciel, propriété de la société Google, permettant une visualisation de la Terre avec un assemblage de photographies aériennes ou satellitaires
description_pl    : Google Earth to oprogramowanie należące do Google, umożliwiające wizualizację Ziemi za pomocą zestawu zdjęć lotniczych lub satelitarnych
description_de    : Google Earth ist eine Software von Google, die eine Visualisierung der Erde mit einer Zusammenstellung von Luft- oder Satellitenfotos ermöglicht
description_es    : Google Earth es un software propiedad de Google, que permite una visualización de la Tierra con un conjunto de fotografías aéreas o satelitales
description_pt    : Google Earth é um software propriedade do Google, que permite a visualização da Terra com a montagem de fotografias aéreas ou de satélite
description_it    : Google Earth è un software di proprietà di Google che permette di visualizzare la Terra con un assemblaggio di fotografie aeree o satellitari
description_nl    : Google Earth is software van Google waarmee de aarde kan worden gevisualiseerd aan de hand van lucht- of satellietfoto's
description_ru    : Google Earth - это программное обеспечение, принадлежащее компании Google, позволяющее визуализировать Землю с помощью набора аэро- или спутниковых фотографий
audit_schedule    : 
editor            : Google
keywords          : earth
licence           : Freeware
homepage          : https://www.google.fr/intl/fr/earth/
package_uuid      : 30cc703e-7bdb-4012-8143-b9b633d3954a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 77c7581b49eccac2e89f89eddf38d3ab25666d4c83653974b8bdb1466e0d5680
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : QwzGx1+HDcy1Uhn7J0/3gRvVLCG9/dRyDXCwxwPiG47PwWuO4rKc1PIhRsHjqwAIN6vPiJE+yOD4IcheEtUDa0iA/xCkwkjjMBghU8bT9SxgyLIVYmLybr9G+UCPnT2kZe07SkHDm2SBaEYm/ewyTMm4WtPEiHcLA3yM4wCPvaH5Fth41Bg4A62VGBm/tuxo2N1Im3e40vtZtZTdpDxL6Mhq7LbDYbVwmB/XhK4scEseofprjibEw9lnJP6xPsDJzhsfqKeuLMKqRiNudaXpVed0rvJfFc/3fkxr4U8C1x8uTpiQTGA/za4lgGgrris6wY53i2B9wK6kGWAbbnnokw==
signature_date    : 2023-01-09T01:00:10.357270
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():

    install_msi_if_needed("GoogleEarthSetup.msi", killbefore=["googleearth.exe"])
    remove_desktop_shortcut("Google Earth Pro")


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


def update_package():

    proxies = {}
    if isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}

    wget("https://dl.google.com/dl/earth/client/advanced/current/googleearthprowin-x64.exe", "GoogleEarthSetup.exe", proxies=proxies)
    run("GoogleEarthSetup.exe OMAHA=1")
    killalltasks("googleearth.exe")

    for uninstall in installed_softwares("Google Earth"):
        vers = uninstall["version"]
        print("Last Version : %s" % vers)

    # Search msi and copy msi file if version is good
    remove_file("GoogleEarthSetup.exe")
    remove_file("GoogleEarthSetup.msi")
    with disable_file_system_redirection():
        for msi in glob.glob(r"C:\Windows\Installer\*.msi"):
            if get_msi_properties(msi)["ProductName"] == "Google Earth Pro":
                if Version(get_msi_properties(msi)["ProductVersion"]) == Version(vers):
                    filecopyto(msi, "GoogleEarthSetup.msi")

    if not isfile("GoogleEarthSetup.msi"):
        error("GoogleEarthSetup.msi not found")

    # change version of package
    if iswin64():
        control.architecture = "x64"
    else:
        control.architecture = "x86"
    control.version = get_msi_properties("GoogleEarthSetup.msi")["ProductVersion"] + "-2"
    control.save_control_to_wapt()

3f96fbb7da649b9f4c139cdce2bd026c2ecdf4ee59fff86f36853579f5f73908 : setup.py
c07badd30e8c30caa0d03f70210bbca469ec2af4d8212d0afb2f1c6daa70a579 : GoogleEarthSetup.msi
ac8082393a235399058039e3209fdc3833f41981d1e7ea561e7fa4713c161aaf : update_package.py
77c7581b49eccac2e89f89eddf38d3ab25666d4c83653974b8bdb1466e0d5680 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
6eea4e0b4a5d0cee5007df3f56f85898fff1eb77538cdd809504911572b25883 : luti.json
95c6582d1455806893a190208f43c4d46e470af9cb879eb036c07ada7d4649d4 : WAPT/control