tis-xnview-classic icon

XnView Classic

Silent install package for XnView Classic

2.52.2-10

  • package: tis-xnview-classic
  • name: XnView Classic
  • version: 2.52.2-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.62 Mo
  • installed_size: 60.29 Mo
  • conflicts :

package           : tis-xnview-classic
version           : 2.52.2-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      : 8b5d268b-696d-4564-87f9-248b8515e975
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-24T15:17:06.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         : cnYO89OW+1CAE6gTkZ9IOb8NXhgwKVL377+tEy4ej2MvY2jpDB9TCwliDRAxMOLvL05fuqtZQu8FYYakHffW3XwduUqytQtfWxLTPSim9arnQa6VnDLA0Mjl4qyIzSC9vKEyriI9t7hwNsjoUs02HkJ/EiF+V4EwkQPGcYguXAHr56LdDMlFiN/63rpAskVPthK2OxRo1mjlYOzGYYkjPdtv+S4s2FvDmv21WTMi+bOktNFHVpwaqrGWjjPPn3wvTSS1h5fXTlufYEoyrOkgGbPxx/NZJ8y2uwNGjyhn1LLg4RwLD2cBxoCeX1/qZreOOZs8nSjJ+MsPmHsGNGbuTg==

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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1c3aa6e7b7b52930afa66f34bb18bec6d114a634f36e4fa681a1c6db4a9e32cb : WAPT/control
c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0 : WAPT/icon.png
3a744748934779221d0ab47368d6d5b1aa0572fbe8c1f51225d43e1c60911b30 : XnView-win-full.exe
70e2c01183ed1093cdbec1fec3ac0587bb76caf6388bfed6209f6330ebcdd626 : luti.json
0740fa4110805a2ea5b5ed2d19e20e93869d11d5a1ed09fec2cb4636c8ac06c7 : setup.py
122e043f1b184388934e9a602f616bb4767c7c76d97488b0208d64d79e022fc4 : update_package.py