tis-nextcloud icon

Nextcloud

Paquet d'installation silencieuse pour Nextcloud

33.0.6.20260622-13
Storage
Storage

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-nextcloud
  • name: Nextcloud
  • version: 33.0.6.20260622-13
  • categories: Storage
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Nextcloud GmbH
  • licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: nextcloud,nextcloudcmd
  • architecture: x64,arm64
  • signature_date:
  • size: 237.96 Mo
  • installed_size: 238.19 Mo
  • homepage : https://nextcloud.com

package           : tis-nextcloud
version           : 33.0.6.20260622-13
architecture      : x64,arm64
section           : base
priority          : optional
name              : Nextcloud
categories        : Storage
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Nextcloud is a suite of client-server software for creating and using file hosting services
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://nextcloud.com/install/#install-clients
installed_size    : 238194476
impacted_process  : nextcloud,nextcloudcmd
description_fr    : Nextcloud est une suite de logiciels client-serveur permettant de créer et d'utiliser des services d'hébergement de fichiers
description_pl    : Nextcloud to pakiet oprogramowania klient-serwer do tworzenia i korzystania z usług hostingu plików
description_de    : Nextcloud ist eine Suite von Client-Server-Software für die Erstellung und Nutzung von Filehosting-Diensten
description_es    : Nextcloud es un paquete de software cliente-servidor para crear y utilizar servicios de alojamiento de archivos
description_pt    : Nextcloud é um conjunto de software cliente-servidor para a criação e utilização de serviços de alojamento de ficheiros
description_it    : Nextcloud è una suite di software client-server per la creazione e l'utilizzo di servizi di file hosting
description_nl    : Nextcloud is een suite van client-server software voor het creëren en gebruiken van file hosting diensten
description_ru    : Nextcloud - это набор клиент-серверного программного обеспечения для создания и использования услуг хостинга файлов
audit_schedule    : 
editor            : Nextcloud GmbH
keywords          : cloud
licence           : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage          : https://nextcloud.com
package_uuid      : 909a96d9-666d-4cd5-9bdc-b3bef0f39511
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/nextcloud/desktop/releases
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 1151ba48674e21f0e26c7bebad851fcc669cd869201ae559fa6e253d64b9401d
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-06-22T16:31: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         : WnY4wk07v19jywq7b+TPSzbRVdOxOG98R5eGVvfxFgOvr4AbVApKTHN0BOljm/QQoct+d2nMiJxIoHfa6/SDahGlfAOcjSBSTHZJHINdHzI5bv7338J5BGSeC7mjP7w/YjXUmTuXoZFIetcsSE1pv9J+WgZfYF6SjboxmCC525o+ukIvLG0Yw0oDvB53pi2iKO7WTcRXB7Idve2+nsnm4pXwg73T7FHLPz/8YXWFrzRCWDpoKc4YdgSpwpWLC9mn0GJ4Mgk4/90XoxN0IKoXT2LC/KPlQUzVbYICa1N9+EQ65fTzfwUN31dxLy3uWMSoBdW3IAICEgu4xC9GBNfvgg==

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


def install():
    # Define local variables
    config_dir = makepath(application_data, "Nextcloud")
    config_file = makepath(application_data, "Nextcloud", "nextcloud.cfg")

    # Install msi
    bin_name = glob.glob("Nextcloud-*.msi")[0]
    install_msi_if_needed(
        bin_name,
        min_version=control.get_software_version(),
        name='Nextcloud'
    )

    # Disable the auto update check and auto update
    registry_setstring(HKEY_LOCAL_MACHINE, r"SOFTWARE\Wow6432Node\Nextcloud\Nextcloud", "skipUpdateCheck", 1, type=REG_DWORD)
    registry_setstring(HKEY_LOCAL_MACHINE, r"SOFTWARE\Wow6432Node\Nextcloud GmbH\Nextcloud", "skipUpdateCheck", 1, type=REG_DWORD)

    if not isdir(config_dir):
        mkdirs(config_dir)
        makepath(application_data, "Nextcloud", "nextcloud.cfg")
        inifile_writestring(config_file,"Nextcloud","autoUpdateCheck","false")
        inifile_writestring(config_file,"General","skipUpdateCheck","true")
    else:
        if isfile(config_file):
            inifile_deleteoption(config_file,"Nextcloud","autoUpdateCheck")
            inifile_writestring(config_file,"Nextcloud","autoUpdateCheck","false")
            inifile_writestring(config_file,"General","skipUpdateCheck","true")
        else:
            makepath(application_data, "Nextcloud", "nextcloud.cfg")
            inifile_writestring(config_file,"Nextcloud","autoUpdateCheck","false")
            inifile_writestring(config_file,"General","skipUpdateCheck","true")

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


##def update_package():
##    # Declaring local variables
##    package_updated = False
##    proxies = get_proxies()
##    if not proxies:
##        proxies = get_proxies_from_wapt_console()
##    api_url = "https://api.github.com/repos/nextcloud-releases/desktop/releases/latest"
##    download_dict = {
##        "windows": "x64.msi",
##        "linux": "x86_64.AppImage",
##        "darwin": ".pkg",
##    }
##
##    # Getting latest version information from official sources
##    print("API used is: %s" % api_url)
##    json_load = json.loads(wgets(api_url, proxies=proxies))
##    version = json_load["tag_name"].split("-")[-1].replace("v", "")
##    download_url = download_dict[control.target_os].replace("version", version)
##    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)
##
##    # Checking version from file
##    version_from_file = get_version_from_binary(latest_bin)
##    print("version from file :" + version_from_file )
##    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
##        print("Changing version to the version number of the binary")
##        version = version_from_file
##    else:
##        print("Binary file version corresponds to online 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()
##
##    # Deleting outdated binaries
##    remove_outdated_binaries(version)
##
##    # Validating update-package-sources
##    return package_updated

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

    api_url = "https://api.github.com/repos/nextcloud-releases/desktop/releases/latest"
    download_dict = {
        "windows": "x64.msi",
        "linux": "x86_64.AppImage",
        "darwin": ".pkg",
    }
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)

    for asset in releases_dict["assets"]:
        if asset["browser_download_url"].endswith(download_dict[control.target_os]):
            download_url = asset["browser_download_url"]
            latest_bin = download_url.rsplit('/')[-1]
            version = releases_dict["tag_name"][1:]
            break

    # 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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    print("version from file :" + version_from_file )
    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
        print("Changing version to the version number of the binary")
        version = version_from_file
    else:
        print("Binary file version corresponds to online 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()


    return package_updated

74aad01a110f3277f39a2e87ed18cb3126ee0beaee7b56205ad953da83e614c3 : Nextcloud-33.0.6-x64.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
38b73362981888ec5cf33d2cefe6985b1be7b5061a71fe41db9ab7a5aa051706 : WAPT/control
1151ba48674e21f0e26c7bebad851fcc669cd869201ae559fa6e253d64b9401d : WAPT/icon.png
d5ce36ddf6e7f4e6ddb10b9f1e11b200656ad5e4b55af00cbd1db5634b95daa6 : luti.json
70cfe46ed3b02e7b521dc1f5a1c61e88b426ca550d206a33203217ac8dcca394 : setup.py
42b7551e53f286e12cd0a559b06c990cb53657844a259d2f3610299b88301a71 : update_package.py