- package: tis-seafile
- name: Seafile
- version: 9.0.15-10
- categories: Office
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
- editor: HaiWenHuZhi ltd.
- licence: opensource_free,wapt_public,cpe:/a:gnu:gpl_v2
- locale: all
- target_os: windows
- impacted_process: seaf-daemon,seafile-applet
- architecture: x64
- signature_date:
- size: 126.71 Mo
- installed_size: 282.63 Mo
- homepage : https://www.seafile.com/
- depends:
package : tis-seafile
version : 9.0.15-10
architecture : x64
section : base
priority : optional
name : Seafile
categories : Office
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
description : Seafile is an open source file storage and sharing solution
depends : tis-vcredist2015-2022
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://www.seafile.com/en/download/
installed_size : 282629518
impacted_process : seaf-daemon,seafile-applet
description_fr : Seafile est une solution de stockage et de partage de fichiers open source
description_pl : Seafile to rozwiązanie open source do przechowywania i udostępniania plików
description_de : Seafile ist eine Open-Source-Lösung zur Speicherung und gemeinsamen Nutzung von Dateien
description_es : Seafile es una solución de código abierto para almacenar y compartir archivos
description_pt : O Seafile é uma solução de armazenamento e partilha de ficheiros de código aberto
description_it : Seafile è una soluzione open source per l'archiviazione e la condivisione di file
description_nl : Seafile is een open source oplossing voor het opslaan en delen van bestanden
description_ru : Seafile - это решение для хранения и обмена файлами с открытым исходным кодом
audit_schedule :
editor : HaiWenHuZhi ltd.
keywords : seafile,cloud,file,storage,sharing,solution,client
licence : opensource_free,wapt_public,cpe:/a:gnu:gpl_v2
homepage : https://www.seafile.com/
package_uuid : 05efde4c-9b6f-424c-bcc8-9fe8f8dc00f3
valid_from :
valid_until :
forced_install_on :
changelog : https://download.seafile.com/published/seafile-manual/changelog/client-changelog.md
min_os_version : 10.0
max_os_version :
icon_sha256sum : 2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-08-17T22:04: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 : lWctv02eVDzZQCtSfplBJWYzAob1TKVLTiGeKe1JwUmuZhUWH/mfXJK1BJgjgEVwGLedAXvraR8eLQ4H/xSSlRc4bqQldhgta3O1f7nG3EwQpKpzvi3UBlPkS92QccAUn/MFCXB51EulPyu/o9Ls/k1fUC/qbaZUyJVNkQj1svlQU/SJkc0nlczNpYYmegHoPyjGCsfXfkA4EPduUaYaHNeV0vd3ThZF9zVxAb2aG9U7iCxoWPseOTazQhkczxP6zW93l5osxA6SW4HtFQIvu0W5iYFqXHhRiIB7NovAvEaMNfkErvU30hqzX/l3jlLK4gHUaoWx3YSlPE1yCMGttQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
"""
{
"key":"{42658E02-4559-4B38-9F25-E1F67B75FEE3}",
"name":"Seafile 9.0.5",
"version":"9.0.5",
"install_date":"2024-03-18 00:00:00",
"install_location":"",
"uninstall_string":"MsiExec.exe /X{42658E02-4559-4B38-9F25-E1F67B75FEE3}",
"publisher":"HaiWenHuZhi ltd.",
"system_component":0,
"win64":true
}
"""
def install():
bin_name = glob.glob("seafile-*.msi")[0]
install_msi_if_needed(
bin_name,
min_version=control.get_software_version(),
timeout=600,
)
filecopyto(bin_name,makepath(persistent_dir,bin_name))
# Clear the uninstallkeys to avoid the no-code audit and uninstall
uninstallkey.clear()
def session_setup():
print("Disabling: auto-update check and configuring base options")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile", "ShellExtDisabled", "1")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Language", "current", "en")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Misc", "SparkleAlreadyEnableUpdateByDefault", "true")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\WinSparkle", "CheckForUpdates", "0")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Behavior", "hideMainWindowWhenStarted", "true")
def audit():
# Declaring local variables
audit_status = "OK"
app_check = installed_softwares("Seafile")
if app_check:
installed_version = app_check[0]["version"]
control.name = app_check[0]["name"]
else:
installed_version = ""
control.name = control.package.split("-", 1)[-1].replace("-", " ").title()
audit_version = False
# Auditing software
if not installed_version:
print(f"{control.name} is not installed.")
audit_status = "ERROR"
elif audit_version and Version(installed_version, 4) < Version(control.get_software_version(), 4):
print(f"{control.name} ({installed_version}) installed version should be: {control.get_software_version()}")
audit_status = "WARNING"
else:
print(f"{control.name} is installed." if installed_version in control.name else f"{control.name} ({installed_version}) is installed.")
audit_status = "OK"
return audit_status
def uninstall():
# "C:\Program Files\Seafile\bin\seafile-applet.exe" --remove-user-data
# Killing impacted processes
killalltasks(ensure_list(control.impacted_process))
bin_name = glob.glob(f"{persistent_dir}\seafile-*.msi")[0]
run(rf'MsiExec.exe /x "{bin_name}" UPGRADINGPRODUCTCODE=0 REMOVE=ALL /qn', timeout=240)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://www.seafile.com/en/download/"
# Getting latest version from official sources
print("URL used is: %s" % url)
bs_search = bs_find(url, "a", "class", "download-op")
version = bs_search.text
download_url = bs_search["href"]
latest_bin = download_url.split("/")[-1]
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) == Version(version, 4):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a8c28d7d141c91f2eff2402b667c7b513a98fd7cb6203b43f2382a2bcca3b3b1 : WAPT/control
2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741 : WAPT/icon.png
6e960074200bff93e8c59d7105d606bf6e755444ee15ea59db2354b7e3bfb936 : luti.json
3edaad6533354ba00023f1babf4536b009b2c697ed4aa79bd3cd43776536b7cd : seafile-9.0.15-en.msi
1a615e64e781ce4bde816b97a56fa90a553bc3a2507ca7a9047113eb89de9b3a : setup.py
4d4246574914a3b9f7b6da1197a49c1a1ded9a5694307b0cfbb4402b93757510 : update_package.py