tis-qgis icon

QGIS

Paquet d’installation silencieuse pour QGIS

3.26.2-16

  • package: tis-qgis
  • name: QGIS
  • version: 3.26.2-16
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: QGIS Development Team
  • licence: GNU GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: qgis-bin,qgis-bin-g7,qgis-ltr-bin,qgis-ltr-bin-g7,qgiscrashhandler
  • architecture: x64
  • signature_date:
  • size: 1.07 Go
  • installed_size: 2.13 Go
  • homepage : https://www.qgis.org/

package           : tis-qgis
version           : 3.26.2-16
architecture      : x64
section           : base
priority          : optional
name              : QGIS
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : QGIS (Quantum GIS) is a free and open-source cross-platform desktop geographic information system (GIS) application that supports viewing, editing, and analysis of geospatial data
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.qgis.org/en/site/forusers/download.html
installed_size    : 2128814336
impacted_process  : qgis-bin,qgis-bin-g7,qgis-ltr-bin,qgis-ltr-bin-g7,qgiscrashhandler
description_fr    : QGIS (Quantum GIS) est un logiciel SIG (système d'information géographique) qui prend en charge la visualisation, l'édition et l'analyse de données géospatiales
description_pl    : QGIS (Quantum GIS) jest darmową i otwartą, wieloplatformową aplikacją systemu informacji geograficznej (GIS), która wspiera przeglądanie, edycję i analizę danych geoprzestrzennych
description_de    : QGIS (Quantum GIS) ist eine freie und quelloffene, plattformübergreifende Desktop-Anwendung für geografische Informationssysteme (GIS), die die Anzeige, Bearbeitung und Analyse von Geodaten unterstützt
description_es    : QGIS (Quantum GIS) es una aplicación de sistema de información geográfica (SIG) de escritorio, gratuita y de código abierto, que permite visualizar, editar y analizar datos geoespaciales
description_pt    : QGIS (Quantum GIS) é uma aplicação gratuita e de código aberto de sistema de informação geográfica (GIS) que suporta a visualização, edição e análise de dados geoespaciais
description_it    : QGIS (Quantum GIS) è un'applicazione desktop di sistema informativo geografico (GIS) multipiattaforma, gratuita e open-source, che supporta la visualizzazione, la modifica e l'analisi di dati geospaziali
description_nl    : QGIS (Quantum GIS) is een vrije en open-source desktop toepassing voor een geografisch informatiesysteem (GIS) dat het bekijken, bewerken en analyseren van geospatiale gegevens ondersteunt
description_ru    : QGIS (Quantum GIS) - это бесплатное кроссплатформенное приложение с открытым исходным кодом для настольных географических информационных систем (ГИС), которое поддерживает просмотр, редактирование и анализ геопространственных данных
audit_schedule    : 
editor            : QGIS Development Team
keywords          : qgis,gis,geographic,information,system,application,geo,spatial,geospatial,data
licence           : GNU GPLv2
homepage          : https://www.qgis.org/
package_uuid      : cd9d3625-7a65-4ec0-a90f-80d0a0efa8b4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.qgis.org/en/site/forusers/visualchangelogs.html
min_os_version    : 5.1
max_os_version    : 
icon_sha256sum    : e18db709c36dd19c4815b7832587119de232543c42c32133926d5d36eebbf00a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : G7FE/M58YyDC8YqUN6+6SKOxzzkWYIJMzGYa7tyzyRfIkeoJZbDW3SR+PqTPBxo5UZYg3xYnq1g8DDGMpys9Iq00ScXYlh2FVvSOU/5MkyZniIqI+Lle15AR153bumGeyen7zaR0xX7/mGfNhDyaluMapyUT46KOlZJkuXIqOgRKprGmXPUL4L9cCPRctjJEKHPc7xx8L5lxEaSsLM/Mxl+O/GGQqygQBhTQNbe34gwnwI8pFYzUZN43S2gCm179aXplsppj8hF3JWv/EA9quTHorECscELKhn1GL/FEQkuV0TQnduqibXloVb2YlTT/iHpuogUOLWC7yTu/qyGXqg==
signature_date    : 2022-08-21T19:05:24.074766
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 *
import time

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "QGIS-OSGeo4W-"
app_name = "QGIS"


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.msi" % bin_contains)[0]
    processes_to_kill = control.impacted_process.split(",")

    # Uninstalling all other versions of the software before installation
    for uninstall in installed_softwares(app_name):
        if uninstall["version"] != package_version:
            print("Removing: %s" % uninstall["name"])
            killalltasks(processes_to_kill)
            try:
                run(uninstall_cmd(uninstall["key"]), timeout=1200)
            except:
                print("Unable to uninstall %s" % uninstall["name"])
            folder_path = makepath("\\".join(uninstall["uninstall_string"].split("\\")[:3]))
            time.sleep(60)
            if isdir(folder_path):
                remove_tree(folder_path)

    # Installing the software
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name,
        timeout=1200,
    )

    # Removing desktop shortcuts
    shortcuts_folder = makepath(systemdrive, "Users", "Public", "Desktop", "QGIS %s" % package_version)
    if isdir(shortcuts_folder):
        remove_tree(shortcuts_folder)


def session_setup():
    print("Disabling: auto update check")

    # AppData\Roaming\QGIS\QGIS3\profiles\default\QGIS\QGIS3.ini
    r"""[qgis]
    checkVersion=true
    [core]
    NewsFeed\httpsfeedqgisorg\disabled=false"""

    user_conf_folder = makepath(user_appdata, "QGIS", "QGIS3", "profiles", "default", "QGIS")
    user_conf_file = makepath(user_conf_folder, "QGIS3.ini")

    if not isdir(user_conf_folder):
        mkdirs(user_conf_folder)

    inifile_writestring(user_conf_file, "qgis", r"checkVersion", "false")
    inifile_writestring(user_conf_file, "core", r"NewsFeed\httpsfeedqgisorg\disabled", "true")

# -*- coding: utf-8 -*-
from setuphelpers import *
import bs4 as BeautifulSoup

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "QGIS-OSGeo4W-"
app_name = "QGIS"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url = "https://www.qgis.org/en/site/forusers/download.html"
    bin_end = ".msi"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "class", "reference external", proxies=proxies):
        if bin_contains in bs_search["href"] and bs_search["href"].endswith(bin_end):
            version = bs_search["href"].split("/")[-1].split("-")[2]
            latest_bin = bs_search["href"].split("/")[-1]
            download_url = bs_search["href"]
            break  # break for non LTR only

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies, connect_timeout=30)

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

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

ab13c80a6dbed2f8743d737da4686e20d3b50773713f86efd02d083f91c860e1 : QGIS-OSGeo4W-3.26.2-1.msi
b0d241ba8aaf5104856ba187d223f892d2227b48302fe9f30f73f9de59f7f996 : setup.py
0ef20ecd1fac7c2b729bdb34955e834d8de2a79713dc2d2b61f4d980f6a6ea7b : update_package.py
e18db709c36dd19c4815b7832587119de232543c42c32133926d5d36eebbf00a : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
50d0ab1f10332d8aa81e43946ce792e536229d4f855ffb6d340aa9d6ff635d01 : luti.json
da6a163f0b01eda486a3025c52fb2f62f4e9aa9fb12d78ef901c813e71ef08fe : WAPT/control