tis-onlyoffice-desktop icon

ONLYOFFICE Desktop Editors

Paquet d'installation silencieuse pour ONLYOFFICE Desktop Editors

9.4.0-13
Office
Office

  • package: tis-onlyoffice-desktop
  • name: ONLYOFFICE Desktop Editors
  • version: 9.4.0-13
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre Cosson
  • editor: Ascensio System SIA
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • impacted_process: DesktopEditors,editors,editors_helper
  • architecture: arm64
  • signature_date:
  • size: 339.99 Mo
  • homepage : https://www.onlyoffice.com/

package           : tis-onlyoffice-desktop
version           : 9.4.0-13
architecture      : arm64
section           : base
priority          : optional
name              : ONLYOFFICE Desktop Editors
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre Cosson
description       : ONLYOFFICE (formerly TeamLab) is an open source office suite
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.onlyoffice.com/download-desktop.aspx
installed_size    : 
impacted_process  : DesktopEditors,editors,editors_helper
description_fr    : ONLYOFFICE (anciennement Teamlab Office) est une suite bureautique libre
description_pl    : ONLYOFFICE (dawniej TeamLab) to pakiet biurowy typu open source
description_de    : ONLYOFFICE (ehemals TeamLab) ist eine Open-Source-Office-Suite
description_es    : ONLYOFFICE (antes TeamLab) es una suite ofimática de código abierto
description_pt    : ONLYOFFICE (antigo TeamLab) é uma suite de escritório de código aberto
description_it    : ONLYOFFICE (ex TeamLab) è una suite per ufficio open source
description_nl    : ONLYOFFICE (voorheen TeamLab) is een open source kantoorpakket
description_ru    : ONLYOFFICE (ранее TeamLab) - офисный пакет с открытым исходным кодом
audit_schedule    : 
editor            : Ascensio System SIA
keywords          : only,onlyoffice,office,suite,word,spreadsheet,sheet,excel,presentation,doc,docx,xls,xlsx,ppt,pptx
licence           : GPLv3
homepage          : https://www.onlyoffice.com/
package_uuid      : c7ce01af-e6b7-4fb1-bed6-3b3606981f38
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpcenter.onlyoffice.com/server/document/changelog.aspx
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-06-06T14:22:16.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         : WDqgzcunYFxskt0ZGlRvqHw2QP7QuM4OkbiRmzEyor2LplH9mcDJIXLEuluQvRHSH26yZHFHaLIEHCXTUN6KOkjq/xzIXy4tbrph7uWtjr2ag+v2oPAP8AQnPjUxTKsYcpF61nBi8AHgoKqoCT5UUal98swSg9uJ00LJltBLHfN/sBxN88QmLyihYL0e10tUqRk77GBPZzBAjURly1+LCG7FVWmypAR0aZrNF2JlgDFNMDjEih/j9nYMf5UeF0ydCNioyIPWALIJTTI1wJsch3/Dv4JAlovzdsf9+WiR2574ihfXNKPn9y5ttvFCEdloPq/t0jGEBIDGDFx+W+FRAg==

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

app_uninstallkey = "ONLYOFFICE Desktop Editors_is1"


def install():
    # Specific app values
    package_version = control.get_software_version()
    bin_name = glob.glob("DesktopEditors*.exe")[0]

    for onlyoffice in installed_softwares(app_uninstallkey):
        if programfiles32 in onlyoffice["uninstall_string"]:
            run(uninstall_cmd(onlyoffice["key"]), timeout=1200)

    # Installing the package
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /NORESTART /SUPPRESSMSGBOXES",
        key=app_uninstallkey,
        min_version=package_version,
        timeout=1600,
    )

    remove_desktop_shortcut("ONLYOFFICE Editors")
    run(r'sc stop "ONLYOFFICE Update Service"')
    run(r'sc config "ONLYOFFICE Update Service" start= disabled')


def session_setup():
    print("Disabling: check for update")
    registry_setstring(HKEY_CURRENT_USER, r"Software\ONLYOFFICE\DesktopEditors", "CheckForUpdates", "0")

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


def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    api_url = "https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases/latest"
    os_dict = {
        "x64": "x64",
        "x86": "x86",
        "arm64": "arm64",
    }

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and os_dict[control.architecture] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"].replace("v", "")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

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

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

52c5650d516901265585a960aca5326599defdaa947092e8181779da570e9d34 : DesktopEditors_arm64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
8f766b66953af471ca3e71c51dd14785505dccda443743278b665046ec9f5c38 : WAPT/control
fcaa0478b4159a05634ae213c29643b6138b39e067c19210b2553a9746c4dad3 : WAPT/icon.png
21f3b217652cd311d5192bb9a6539bc36a27fe4604e4e569339722ac11432583 : luti.json
43650be206d64fbe473880c75f80be282e181bfce2aaefab679689cf82b189e0 : setup.py
14ab19b4a956ea4823d461d78c7220b6b7dc159f16401cf4010c4be1a824c206 : update_package.py