tis-xnview-classic icon

XnView Classic

Silent install package for XnView Classic

2.52.1-10

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

package           : tis-xnview-classic
version           : 2.52.1-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      : 972cf460-dedd-429e-a8dc-9088a96af7f9
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-03-27T12:06:09.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         : TaoSijfrXt2uP+Rq+66PlEmnR3ovVZ9NCYRE2qgoV8KVDDxpdAzo7iTfX9FxS0I/DWbZXrttk+3mhqEDPN6NbJmopeCA+yOvqqgQKrroOHZV9acfMjyQYo5ug+FRMXsJcICPkOQCflkLFylctRuE5S/ghLlx77siQVwqO93B7SPwc9vvGihgfcKGV+8iiLElo5zqwfentd2Wkg6b0z906uKpBjUoJbsdzsL8lOBMjBZSGU6GARmT0XvPLwi0IGQ4XGpdlOE/6U31+Sa3lAmoQTtp37KrbvqAuTMzT8iwP8fdAOUtSxueK06FDpWy32SrqnbiMMlBnaCk6Pm3YK+0TA==

# -*- 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
32778258b28502233734bf6bbcd14698e44bea37daca55ae786b8c77d46f596c : WAPT/control
c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0 : WAPT/icon.png
ccec21ab757e3fb1228de2c3d0cb4472eb816a74405ae63d2f077bf3088b5ddd : XnView-win-full.exe
81c0c0bace8ae78a531906f6ce9963b8993d568de5332afdbce5c164512190e7 : luti.json
0740fa4110805a2ea5b5ed2d19e20e93869d11d5a1ed09fec2cb4636c8ac06c7 : setup.py
122e043f1b184388934e9a602f616bb4767c7c76d97488b0208d64d79e022fc4 : update_package.py