tis-xnview-classic icon

XnView Classic

Paquet d’installation silencieuse pour XnView Classic

2.51.6-10

  • package: tis-xnview-classic
  • name: XnView Classic
  • version: 2.51.6-10
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • impacted_process: nconvert,xnview
  • architecture: all
  • signature_date:
  • size: 21.83 Mo
  • installed_size: 60.29 Mo
  • conflicts :

package           : tis-xnview-classic
version           : 2.51.6-10
architecture      : all
section           : base
priority          : optional
name              : XnView Classic
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : XnView Classic is a Photo Viewer, Image Resizer & Batch Converter for Windows
depends           : 
conflicts         : tis-xnview
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.xnview.com/en/xnview/#downloads
installed_size    : 60289510
impacted_process  : nconvert,xnview
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 47a98c4e-c46e-4e04-a7f0-b6f3a624f8c4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : ZKKP0be1ig31QeJ0Ns31csA0wkAE/FZqCycDMjGBFJCDm8zz9fITrSKYxylEYkqtwguKwLlPNW6XbWSb2MsIpmSbKmewW8YfE9J2uFvPKI7PenlYSsdx8+07ADjmOkZi/JBoxEFEA6FKalvaPt+pP1SlC1neL4IM71SDtq7DNvGP2scIET4ngDQ8hgV68zwGLVsUuWeu5AJj0EKaPdck4BCUassKLHuFQKuwz1g5oc6A/MgA7/udjxTLyMjNHcWcwfJrHzGnul5Nr2S4dENteefpoLYO2IZaNX+J8YflBY7DfPB46rj9P7acfP10O6IZ7+IbOUQA9pakpLsIZQr3Pw==
signature_date    : 2024-05-15T15:03:12.810976
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

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


def install():
    install_exe_if_needed(
        "XnView-win-full.exe",
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="XnView_is1",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    download_url = "https://download.xnview.com/XnView-win-full.exe"
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    for f in glob.glob("*.exe") + glob.glob("*.msi"):
        print("Removing: %s" % f)
        remove_file(f)

    # 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)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    version = get_version_from_binary(latest_bin)
    if Version(version) > Version(control.get_software_version()):
        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

0740fa4110805a2ea5b5ed2d19e20e93869d11d5a1ed09fec2cb4636c8ac06c7 : setup.py
122e043f1b184388934e9a602f616bb4767c7c76d97488b0208d64d79e022fc4 : update_package.py
c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
474781a1f1ca1ff1645da3cc027033c7fe19c65ca42e88effad987624c3a6d44 : luti.json
3489478b023d67c1d9bb8e5fc80bee5e861d1706f1b49b2b9e9151b53aa202c1 : XnView-win-full.exe
29bf5539d6bf094e9b10a1062cacea68fe088ac277b480ce9332119422cb1e8a : WAPT/control