tis-xnconvert icon

XnConvert

Silent install package for XnConvert

1.104.0.0-2

  • package: tis-xnconvert
  • name: XnConvert
  • version: 1.104.0.0-2
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • editor: Pierre-e Gougelet
  • licence: opensource_free,wapt_public
  • target_os: windows
  • impacted_process: xnconvert
  • architecture: x64
  • signature_date:
  • size: 25.84 Mo

package           : tis-xnconvert
version           : 1.104.0.0-2
architecture      : x64
section           : base
priority          : optional
name              : XnConvert
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : XnConvert is a powerful, free, cross-platform batch processor that lets you combine more than 80 actions
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : xnconvert
description_fr    : XnConvert est un puissant processeur d'images par lots multiplateforme gratuit, vous permettant de combiner plus de 80 actions
description_pl    : XnConvert to potężny, darmowy, wieloplatformowy procesor obrazu, który pozwala łączyć ponad 80 działań
description_de    : XnConvert ist ein leistungsstarker, plattformübergreifender, kostenloser Stapelbildprozessor, mit dem Sie über 80 Aktionen kombinieren können
description_es    : XnConvert es un potente procesador de imágenes por lotes gratuito y multiplataforma que te permite combinar más de 80 acciones
description_pt    : O XnConvert é um poderoso processador de imagens em lote gratuito e multiplataforma que permite combinar mais de 80 acções
description_it    : XnConvert è un potente elaboratore di immagini in batch multipiattaforma gratuito che consente di combinare più di 80 azioni
description_nl    : XnConvert is een krachtige gratis cross-platform batch-afbeeldingsprocessor waarmee je meer dan 80 acties kunt combineren
description_ru    : XnConvert - мощный бесплатный кроссплатформенный пакетный процессор изображений, позволяющий объединять более 80 действий
audit_schedule    : 
editor            : Pierre-e Gougelet
keywords          : 
licence           : opensource_free,wapt_public
homepage          : 
package_uuid      : 5c09688e-c9b6-481d-9f19-5c648d3e1b18
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 07e300b1dc5d89665f43190c4e69a2b652eb55ef69f4107b1fb8ae8b34d3c2a1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-16T08:05:31.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         : yifV7iOQVrfchozypJ6C9sKnkwRxen5ycG855cMpasLXgJvImiSLVZt0u3+0hbHUfjp9nsf+Dc9ZAcQw4ckzKj0auxHnDnbTHRBEIDqZXJ4ax2Bhu3Xx0hhvH9lEoruKIkHVEyUGjRpecFYpculZ8tM3wWQ5zUfi29MJfcM91mySM0bci4BVSwUcZbLkGmjAijeeYr/nGWTfBQeD1RgVApFidpffQcVW6WjR3v7ylQHMr/+ZJgd6HtVt4YfWlAWUMLE+0mMifriXWG2Q6K8dR//He04Ct+MkXmg5J1K3HuB+uYU5hPM25o6u+Kxbr5xfP0ib8Cn7bRigwM/VokN5Lw==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables

    # Installing the software
    install_exe_if_needed('XnConvert-win-x64.exe',
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
        key='XnConvert (x64)_is1',
        min_version=control.get_software_version(),
    )



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


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

    download_url = "https://download.xnview.com/XnConvert-win-x64.exe" 
    latest_bin = download_url.split("/")[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]

    # Downloading latest binaries
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")
    
    version = get_version_from_binary(latest_bin)

    expected_issuer = "Pierre GOUGELET"
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bcbaf2628268ebc396efbfabe4ec917b76c7697d2d2cc1f48063c104f7b9b068 : WAPT/control
07e300b1dc5d89665f43190c4e69a2b652eb55ef69f4107b1fb8ae8b34d3c2a1 : WAPT/icon.png
c83cb675814b907fdb3621f9e855c3ad8efe707882f270704e9fef424b8ada6b : XnConvert-win-x64.exe
d0d383e8a876c6b240aff44b57f60f6cd7bc440fc2903562c0dbfaa032393a47 : luti.json
38477da36a3bc5a0469a7591ad53de6ce5385166be24ad97c1e69884af874b6f : setup.py
71fa3e1371a0aca4672a56d01de6df5d053dcb65faa00bfa0207c9c052b14d50 : update_package.py