tis-xnview-mp icon

XnView MP

Paquet d’installation silencieuse pour XnView MP

1.3.0-0

  • package: tis-xnview-mp
  • name: XnView MP
  • version: 1.3.0-0
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • impacted_process: Associate files with XnViewMP,xnviewmp
  • architecture: x86
  • signature_date:
  • size: 55.71 Mo
  • installed_size: 236.46 Mo

package           : tis-xnview-mp
version           : 1.3.0-0
architecture      : x86
section           : base
priority          : optional
name              : XnView MP
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : XnView MP is a versatile and powerful photo viewer, image management, image resizer
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.xnview.com/en/xnviewmp/#downloads
installed_size    : 236461104
impacted_process  : Associate files with XnViewMP,xnviewmp
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 60dcdf64-1b66-4f4d-aa5e-cec3bf209f3e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : eadc5181f6365179b2c019db57bece8c68e588714cb4c37f371483404df6967f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : qjyIiUTqzm2eGpuUwTUNBrfbg9lT9Tx4bYgBo2CBX2I50/WEU9hbPvNepmlQ9Fc7WFu1TBfGSBOWX1d4QXxTYh3/a45UBmg/0Q94qGxi/DEaCt3AhXbWsVcW9uCkIkb4VYw0623CowwY22Cm1qvKtQjXFegmffbpm2aRUIBY+ibvSIKbs3dnMmAv8rSGGTb+lj1a9Zq7ODttZ7cf3MqbEzBVC3KVIEVqynDIiTKOqHgsuboIXdBLDLfMLSYrovy8vLQUBXJqaOuPZz9AVMmCEkUNhTYtuIXshp3H7zXlMysvgguXcAJwZO/2FnLomdudgHK9+5UcgYZT2y+ocETKRg==
signature_date    : 2022-12-13T19:00:53.603163
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():
    bin_name = glob.glob("XnViewMP-win*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="XnViewMP_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()
    arch_dict = {
        "x64": "https://download.xnview.com/XnViewMP-win-x64.exe",
        "x86": "https://download.xnview.com/XnViewMP-win.exe",
    }
    download_url = arch_dict[control.architecture]
    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

7072b655d9069e63caad15f25b9c33e3cf446f659a1906043745ed441f703d80 : setup.py
bcbe5b403a3a64c54180ee2cec71d555055d68cf3bd618032fe7e61e8389d34a : XnViewMP-win.exe
b8e004df1516db5b2f44237bd6b215f0e3dc70df37caad63acfdab4ca3352c92 : update_package.py
eadc5181f6365179b2c019db57bece8c68e588714cb4c37f371483404df6967f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b8b7559826c1beefb056581df2fe649b36b5aacd1971feae6aff0f0c71c6796f : luti.json
9eec862d76842bc10bd11977c79942913b47493f68dcb0c1216362c9c6c5b511 : WAPT/control