Zotero
Silent install package for Zotero
9.0-14
Utilities
Utilities
- package: tis-zotero
- name: Zotero
- version: 9.0-14
- 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: 95.09 Mo
- installed_size: 116.42 Mo
- homepage : https://www.zotero.org/
package : tis-zotero
version : 9.0-14
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 : 678389dd-e2e4-4f2b-a8ac-7d5f4bd83433
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 : 2026-04-18T08:33:50.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 : H53dayDDm8F8djptCmzH/ratS0J4MU8qVwPuLFuq9QaKZvI8siw7+Fqdv0cf+1/LpBnoRCPA4Uhh6uFL8NTKy37+62mCskDU3C+47ztFiaahxwQAbhz/rE3W4FG8FY8b2UqrXsry+k7eQJpqPBKOBpQCzECz0V81Fs9Iz4b/rEaaazc6ZlARhy/Jqo4pm+7VYcYyA+sO70Km85QHNJrGTlgHRNCZNpnxWMQ1aa2z4iHAhCLdrtQ5Zk/eGgUyUi4/wjRQquSneNqDAJUHIuK4Fl2Eju/d++TMT3YTri0avunyqJc2e2k7p+XlQEYoXHaQ3lx9UkQBe+uXT8/5IwiZsw==
# -*- 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()
)
# Disable Zotero auto update
profiles_path = makepath(user_appdata, "Zotero", "Zotero", "Profiles", "*")
for profile in glob.glob(profiles_path):
if not os.path.isdir(profile):
continue
user_js = os.path.join(profile, "user.js")
if os.path.exists(user_js):
print(f"SKIP (existe déjà): {user_js}")
continue
content = 'user_pref("app.update.auto", false);\n'
try:
with open(user_js, "w", encoding="utf-8") as f:
f.write(content)
print(f"CREATED: {user_js}")
except Exception as e:
print(f"ERROR: {user_js} -> {e}")
# -*- 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
7e524b87de38e58cfa9654de49fef69bf7edba60cb4a628be28b3b52e8e4e461 : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
938b66ddc28f60ed4b23bd53d7de72f6cfeb00d5e2006ec56d57f38a16ee1c8c : Zotero-9.0_x64_setup.exe
e6fe8334bcc464c2d78b5c1ae3ce1d3b0db9871f50a5e2ae18daaf761656ea76 : luti.json
046cdd023ba25813e34dc7e34cefb01014cefaec474c71d10af22a9729dbfb36 : setup.py
4f0d7577b26a2c56454de052ddef9fbdcb8b076ff2bd98a6299aa936c67702ea : update_package.py