tis-xmind icon

XMind

Paquet d’installation silencieuse pour XMind

12.0.3-16

  • package: tis-xmind
  • name: XMind
  • version: 12.0.3-16
  • categories: Office,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: XMind Ltd
  • licence: Proprietary
  • locale: all
  • target_os: windows
  • impacted_process: XMind
  • architecture: x64
  • signature_date:
  • size: 98.76 Mo
  • installed_size: 307.74 Mo
  • homepage : https://www.xmind.net/

package           : tis-xmind
version           : 12.0.3-16
architecture      : x64
section           : base
priority          : optional
name              : XMind
categories        : Office,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : XMind is a full-featured mind mapping and brainstorming tool, designed to generate ideas, inspire creativity, brings efficiency both in work and life
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.xmind.net/download/
installed_size    : 307740672
impacted_process  : XMind
description_fr    : XMind est un outil complet de cartographie mentale et de brainstorming, conçu pour générer des idées, inspirer la créativité et apporter de l'efficacité au travail et dans la vie
description_pl    : XMind jest w pełni funkcjonalnym narzędziem do tworzenia map myśli i burzy mózgów, zaprojektowanym do generowania pomysłów, inspirowania kreatywności, przynoszenia efektywności zarówno w pracy jak i w życiu
description_de    : XMind ist ein voll funktionsfähiges Mind Mapping- und Brainstorming-Tool, das Ideen generiert, die Kreativität anregt und sowohl im Beruf als auch im Privatleben Effizienz bringt
description_es    : XMind es una completa herramienta de mapeo mental y lluvia de ideas, diseñada para generar ideas, inspirar la creatividad y aportar eficiencia tanto en el trabajo como en la vida
description_pt    : XMind é uma ferramenta completa de mapeamento mental e brainstorming, concebida para gerar ideias, inspirar criatividade, traz eficiência tanto no trabalho como na vida
description_it    : XMind è uno strumento completo per la mappatura mentale e il brainstorming, progettato per generare idee, ispirare la creatività e portare efficienza sia nel lavoro che nella vita
description_nl    : XMind is een volledig mind mapping en brainstorming tool, ontworpen om ideeën te genereren, creativiteit te inspireren, en efficiëntie te brengen in zowel werk als leven
description_ru    : XMind - это полнофункциональный инструмент для составления карт мыслей и мозгового штурма, предназначенный для генерирования идей, вдохновения творчества, повышения эффективности в работе и жизни
audit_schedule    : 
editor            : XMind Ltd
keywords          : 
licence           : Proprietary
homepage          : https://www.xmind.net/
package_uuid      : 3eb15dcc-a33a-4156-aa62-ee911e81600a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.xmind.net/desktop/release-notes/
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : ce0ea44f70e6152e5b28443932f84c4a74c4daeca3ef96b511d797fc975d986d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : ZxDtziqYtnF/7jrUPAH7Xev+Q1hOVLQRg5Qr0kdc6azGF3NYVKaG+394VplwT1DeHNFkUbFP2yUh1iGdvq1A9YYwM0QzUiK2KALUWicWA0Fo/Gtfhv8hM1a60peUO+RySgaBb9G/bnl8wIMb/K55vU1hZiZ4MZwq638bCW+EP9oVy6tArtkq/n2EQXSg1vwOkNBOfRy2x7YdwefFvthSDCSI6XQqkGCJnD52STMLLaGphVo/QOF9biDJ3dinmMJBDCWGggK3bXPC7BLIrMsZW49JiGZ354E8zbSo5uEvtwtbG605eYkvxJGF34LYTgTzaVSC9dp1PdIgaZJKFndDcw==
signature_date    : 2022-07-26T03:34:10.873803
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 *


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

UninstallKey                           Software                                                              Version             Uninstallstring
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
fbd30ee5-8150-549e-9aed-fd9d444364fb   XMind 11.1.2                                                          11.1.2              "C:\Program Files\XMind\Uninstall XMind.exe" /allusers
XMind_is1                              XMind 8 Update 9 (v3.7.9)                                             3.7.9.201912052356  "C:\Program Files (x86)\XMind\unins000.exe"

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "XMind-for-Windows-"
silentflags = "/allusers /S"
app_uninstallkey = "fbd30ee5-8150-549e-9aed-fd9d444364fb"


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.exe" % bin_contains)[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags=silentflags,
        key=app_uninstallkey,
        min_version=package_version,
    )

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

bin_contains = "XMind-for-Windows-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    if control.architecture == "x64":
        url = "https://www.xmind.net/zen/download/win64/"
        arch = "64bit"
    else:
        url = "https://www.xmind.net/zen/download/win32/"
        arch = "32bit"

    # Getting latest version from official sources
    print("URL used is: %s" % url)

    download_url = requests.head(url, proxies=proxies, allow_redirects=True).url
    version = download_url.split("/")[-1].split("-")[-2]
    latest_bin = download_url.split("/")[-1]
    end_bin_name = download_url.split("-")[-1]

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, bin_contains + arch + "-" + version_from_file + "-" + end_bin_name)
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

66c3c0b3fe456d466bcc3a593fd1095ee561ffa60560ce34ba3eab54c72a8773 : setup.py
3c2a264125e31a22a5b1d1b92e8d93671498b5f3d093bebdad2566362695c183 : XMind-for-Windows-64bit-12.0.3-202206241736.exe
997c55cf89894fdd36ffb1aa78631b18d7e66b8bf2facb0835dae1a851216a9a : update_package.py
ce0ea44f70e6152e5b28443932f84c4a74c4daeca3ef96b511d797fc975d986d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
c107156fbf3f69852e0c01815118f0ff7f0e4f6dd9a6d5f0f5aeee91edfa58d8 : luti.json
3cc859ec61f45c5274f65109df3f0fd17a7ba1cb9a9d78ac4a6ec85e712d4eea : WAPT/control