tis-xmind icon

XMind

Silent install package for XMind

11.1.2-16

  • package: tis-xmind
  • name: XMind
  • version: 11.1.2-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: x86
  • signature_date:
  • size: 89.43 Mo
  • installed_size: 307.74 Mo
  • homepage : https://www.xmind.net/

package           : tis-xmind
version           : 11.1.2-16
architecture      : x86
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      : 57f7892f-e698-47ad-a94c-0d8d3d77f3bc
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         : d/IE+cjzZBJBGhtrNrE1KVzKrEVlxWTsWc81ykto3A3AztY9iZIbav/mnoFWbN4XX8W29kGJnJ1XxynCEFkq+BX5pVInWexdHAPYQ8aMAa9mIJuUk2rREsk02zmuVpwz38VD/RAFGMj6qqQHwmm0QmrzwYpZ9btPIfaFZi9TBT8zee1Z+x3mVzgYhsnaDiWUzdtSSnLSD8o1RbUz0KY/Pd5Ylj6ki31aN6lQ8JCwyLih5/MfBUuqjiuWwxdikO4rM1DhxxHcoc3Ev51jPP18LgcwY3pHRkbVR67XfTOXDndQaMT61OoQrzgtDI+GLniLYaC22UyjpKd24/wMkabn/A==
signature_date    : 2022-07-24T13:13:15.330577
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

bde1650a8a5e845281ff47fc1054234007e840dd396f021c6a74619e5ec2232a : setup.py
6d0eab6c0ac63d2b887ea614d4a2a564be311b31803730b11b5b40212bc1a207 : update_package.py
ce0ea44f70e6152e5b28443932f84c4a74c4daeca3ef96b511d797fc975d986d : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
699681e8948956427755abcbebbbd51eae7c2d93a565c8877276dbab99508bc2 : luti.json
7099f476850e2a3a3d1a71dac1635af914412556dc3b1b3048fc68cec239d2cd : XMind-for-Windows-32bit-11.1.2-202111072106.exe
a10c2983702f533d64fec40e16cb71df062e59138dbcd37152dc44c8200c25d8 : WAPT/control