tis-zotero icon

Zotero

Silent install package for Zotero

7.0.22-12

  • package: tis-zotero
  • name: Zotero
  • version: 7.0.22-12
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • editor: Corporation for Digital Scholarship
  • licence: AGPL
  • locale: all
  • target_os: windows
  • impacted_process: zotero
  • architecture: x64
  • signature_date:
  • size: 89.63 Mo
  • installed_size: 116.42 Mo
  • homepage : https://www.zotero.org/

package           : tis-zotero
version           : 7.0.22-12
architecture      : x64
section           : base
priority          : optional
name              : Zotero
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
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      : 37185830-2947-4bfc-be16-a1c0d2486938
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-07-30T13:03:46.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         : udQQ6CuFzRWrIPKc54cx5Bbr4I8HBZTbktI3OOrdWvlHGq2kzGHdl2xILWeOrAMJkdHMGd5le/8ch+oopOlYsizMnAK7wddoHjVLRBK4qEPCmEO6PboG6O5LUxboDV7qQ9wrHZhTRzUoh68T2ich27VQEhhK04lWoAXgREqvZyWmbfzvsHdQT3Y2+CjAFtyMaBp68U2eQpMJYPRfM+sbDwqohO7HMbPRFUqgcMzkoNfjADtm1jL5AF8HMPsqZJd0tJ2mY0VuUQ+SlzD71pu0N0wr6vpi6+flYbJOpz/1oVkimKquZKjklNShCsBr8mpMhilB4rCswGYVAC3v7Nz7SA==

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


'''{
   "key":"Zotero 7.0.1 (x64 en-US)",
   "name":"Zotero",
   "version":"7.0.1",
   "install_date":"",
   "install_location":"C:\\Program Files\\Zotero",
   "uninstall_string":"C:\\Program Files\\Zotero\\uninstall\\helper.exe",
   "publisher":"Corporation for Digital Scholarship",
   "system_component":0,
   "win64":true
  }'''

def install():
    # Initializing variables
    bin_name = glob.glob('Zotero-*_x64_setup.exe')[0]
    version = bin_name.split('_')[0].rsplit('-')[-1]

    # Constructing the registry key
    reg_key = f"Zotero {version} (x64 en-US)"

    # Installing the package
    
    install_exe_if_needed(
        bin_name,
        silentflags='/s /allusers',
        key= reg_key,
        min_version=control.get_software_version()
    )

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




def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    url_base = "https://www.zotero.org/download/client/dl?channel=release&platform=win-x64"
    data = requests.head(url_base,allow_redirects=True, proxies=proxies).url
    download_url = data
    latest_bin = download_url.split('/')[-1]
    version = download_url.split('/')[-2]


    # 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)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

         
    
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1cacb1da1bd27eb011396ea0c4b886cdb768697e99a4eecc15b7a2e873de5488 : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
700642d797f4d258eb6d7b5d2bed152ec66f53cca0c3ea7db48493413f5681a5 : Zotero-7.0.22_x64_setup.exe
09277b154409ea0e21aaeded1ab5cb38b91d30a24b0ba15eb068ea5334a797f3 : luti.json
ea5bf9b052516e400466c7e49acdbb8ede87d8bb6b947c3f030cd2c33070a5d4 : setup.py
4f0d7577b26a2c56454de052ddef9fbdcb8b076ff2bd98a6299aa936c67702ea : update_package.py