tis-zotero icon

Zotero

Silent install package for Zotero

7.0.16-12

  • package: tis-zotero
  • name: Zotero
  • version: 7.0.16-12
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Corporation for Digital Scholarship
  • licence: AGPL
  • locale: all
  • target_os: windows
  • impacted_process: zotero
  • architecture: x86
  • signature_date:
  • size: 87.81 Mo
  • installed_size: 116.42 Mo
  • homepage : https://www.zotero.org/

package           : tis-zotero
version           : 7.0.16-12
architecture      : x86
section           : base
priority          : optional
name              : Zotero
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : Zotero is a free and open-source reference management software to manage bibliographic data and related research materials
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.zotero.org/download/
installed_size    : 116416512
impacted_process  : zotero
description_fr    : Zotero est un logiciel de gestion de références gratuit, libre et open source, il permet de gérer des données bibliographiques et des documents de recherche
description_pl    : Zotero jest wolnym i otwartym oprogramowaniem do zarządzania referencjami, służącym do zarządzania danymi bibliograficznymi i powiązanymi materiałami badawczymi
description_de    : Zotero ist eine kostenlose und quelloffene Literaturverwaltungssoftware zur Verwaltung bibliographischer Daten und verwandter Forschungsmaterialien
description_es    : Zotero es un software de gestión de referencias gratuito y de código abierto para gestionar los datos bibliográficos y los materiales de investigación relacionados
description_pt    : Zotero é um software de gestão de referências gratuito e de código aberto para gerir dados bibliográficos e materiais de investigação relacionados
description_it    : Zotero è un software di reference management gratuito e open-source per la gestione dei dati bibliografici e dei relativi materiali di ricerca
description_nl    : Zotero is een gratis en open-source referentiebeheersoftware om bibliografische gegevens en verwant onderzoeksmateriaal te beheren
description_ru    : Zotero - это бесплатное программное обеспечение с открытым исходным кодом для управления библиографическими данными и сопутствующими исследовательскими материалами
audit_schedule    : 
editor            : Corporation for Digital Scholarship
keywords          : 
licence           : AGPL
homepage          : https://www.zotero.org/
package_uuid      : 32fe9397-1496-4466-9aae-930cb262c6f0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.zotero.org/support/changelog
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-26T20:03:54.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         : K6xxAk/hSOiQPIyLtDbnar5+FXQKyBnxZnUkYPWG+pi9IHaKpPdH9joQrbktg3Yt1oKC1MJKOfrSqpKeh5Sai+03u1GLU2MfmxSYvCTttJ+tn2lkxiL4mJqfpabhyoxPHldoKo4oLU7pC/8t5/zuSeietwrGMq3k+8n33Fze2HJswL0//eSKTkRqzj1cQQX/JiaqRhpyExu8uZKpq2KdsGKa6P8iKoKMtQhc5MIy6AdxBFqPJtNbcEPPEai0udhalheTtF76rBbpdYNstFvGLO3Ex+uUdakx+LMbYnk+1TLCr5yiSbi9tKruewZNF0rMeoJ3pVGzgbNgJ7PnyaTe1Q==

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


uninstallkey = []

# Defining variables
bin_name_sub = "Zotero-%s_setup.exe"
silent_args = "-ms"
app_uninstallkey_sub = "Zotero %s (x86 en-US)"


def install():
    # Initializing variables
    package_version = control.get_software_version()
    bin_name = bin_name_sub % package_version
    app_uninstallkey = app_uninstallkey_sub % package_version

    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags=silent_args,
        key=app_uninstallkey,
        min_version=package_version,
    )

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


def update_package():
    # Initializing variables
    bin_name_sub = "Zotero-%s_setup.exe"
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.zotero.org/download/"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "script", "type", "text/javascript", proxies=proxies):
        temp_str = str(bs_search)
        if "win32" in temp_str:
            dict_version = json.loads(temp_str.split(":", 1)[-1].split("\n", 1)[0].split("}")[0] + "}")
            version = dict_version["win32"]
            latest_bin = bin_name_sub % version
            url_dl = "https://www.zotero.org/download/client/dl?channel=release&platform=win32&version=%s" % version
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

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

    # Changing version of the package
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
eb0b37421b686afb1ec0ec744e6a5212525b1dac43c57a83d0d497229f525f08 : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
effac0c5d9ab59f9fbf28e90c4ce24c34c2d22c5b97d07670be4dbf69e701f45 : Zotero-7.0.16_setup.exe
39fbe968a1feeaafa756067844601198730866ed7db9d9e1789aa7a0d5861ed5 : luti.json
3bfd75b5ca4b5507c53315456d6b71f6ad158f68f68061e364120c20b0976c11 : setup.py
1ed5a9f116393a2c4029be3a1b8a482856990fc913ddc1de471f3637ebe25281 : update_package.py