tis-memoq icon

memoQ

Silent install package for memoQ

12.1.33-4
Education
Education

  • package: tis-memoq
  • name: memoQ
  • version: 12.1.33-4
  • categories: Education
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT,Clément Baziret
  • editor: Kilgray Translation Technologies
  • licence: proprietary_restricted,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: MemoQ.ACEHelperTool,MemoQ.AutoUpdate,MemoQ.ClientBackup.Cli,MemoQ.ClientBackup,MemoQ,MemoQ.InstallScriptInno,MemoQ.SilentActivationHelper,MemoQ.WebSearch,memoQSearch
  • architecture: x64
  • signature_date:
  • size: 254.11 Mo
  • installed_size: 790.08 Mo
  • homepage : https://www.memoq.com/

package           : tis-memoq
version           : 12.1.33-4
architecture      : x64
section           : base
priority          : optional
name              : memoQ
categories        : Education
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT,Clément Baziret
description       : Computer-aided translation software suite
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://www.memoq.com/downloads
installed_size    : 790082862
impacted_process  : MemoQ.ACEHelperTool,MemoQ.AutoUpdate,MemoQ.ClientBackup.Cli,MemoQ.ClientBackup,MemoQ,MemoQ.InstallScriptInno,MemoQ.SilentActivationHelper,MemoQ.WebSearch,memoQSearch
description_fr    : Logiciels de traduction assistée par ordinateur
description_pl    : Pakiet oprogramowania do tłumaczenia wspomaganego komputerowo
description_de    : Software-Suite des Tools für computergestützte Übersetzung
description_es    : Paquete de programas de traducción asistida
description_pt    : Conjunto de software de tradução assistida por computador
description_it    : Suite di software per la traduzione assistita
description_nl    : Software voor computerondersteund vertalen
description_ru    : Пакет программ для автоматизированного перевода
audit_schedule    : 
editor            : Kilgray Translation Technologies
keywords          : translation,computer-aided
licence           : proprietary_restricted,wapt_public
homepage          : https://www.memoq.com/
package_uuid      : c39980f2-84e0-4c91-8914-61050463ae1d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.memoq.com/fr/memoq-versions/hello-memoq-9-0
min_os_version    : 10.0.18362
max_os_version    : 
icon_sha256sum    : 08bf04fb334d9673e74bf1b731f715445900929fc860951f88fdd6eb17ccc0e4
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-01-12T17:06:20.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         : OdcnUvb7TUwSgkp1et2Vcb/AWhLvNIpTSZSuUUbN/1HH0I9NN9fFFSmTkVLF/QcbfELgRir1P/U+R+eF9z/xJ9gCrSA1uizhvx3HBjQ3CH1n62134+0zBzEO0lvnYbtnLDFhEBh8FG4wU6XT08oCVdA3FPat8BM/345iBX89NbPwqEzUwGMvGufGCRe42OcY/OecLpdyAr6romVrJ3DvU2rrsUg+uOi6ecaeGkYCLtA3FWY5xerm3Ie1WqWXzx8oABUpIR2Ob9hIzIDevY5ccOYYZoHIeAJGZ0McTiiYcnZdDOVyIYaY7YBWnkYDicuybW1UKbcOIfH7WrmxaRTgJQ==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    # Uninstalling older major versions of the software
    for to_uninstall in installed_softwares(name="memoQ"):
        version = get_soft_version(to_uninstall)
        if Version(version, 4) < Version(control.get_software_version(), 4) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], version))
            killalltasks(ensure_list(control.impacted_process))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    bin_name = glob.glob("memoQ-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        name="^memoQ ",
        min_version=control.get_software_version(),
        get_version=get_soft_version,
    )


def get_soft_version(key):
    app_path = makepath(key["install_location"] + "MemoQ.exe")
    return get_file_properties(app_path)["FileVersion"]

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    url = "https://www.memoq.com/downloads/#previous-releases"

    user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    bs_search = bs_find(url, "p","class","js-accordion-title",user_agent=user_agent, proxies=proxies)
    bs_search = bs_search.text
    version = bs_search.split(" ")[-1]
    
    download_url = f"https://dl.memoq.com/memoq/memoQ-{version}.exe"
    latest_bin = download_url.split("/")[-1]
    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    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)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        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
d5affa2e1dde8e403ad07aaf3785c8b1f915ba6f6fd2dfc5e67b0d0cd206bf8b : WAPT/control
08bf04fb334d9673e74bf1b731f715445900929fc860951f88fdd6eb17ccc0e4 : WAPT/icon.png
d6c55b82682f84d3fa19094c82c507d7ce266ea262b64e509bb8a767470e22c6 : luti.json
942b191180ca9d36b77357fe5d254c5d5cb9e809581235aba70fc789cebbfa7d : memoQ-12.1.33.exe
7ff4d7223e2fcf19e5bd73b5a985e4017a50235b32007dcd5554cd1f833f31c1 : setup.py
c90d17cf07c3b8ad6d25760a24a7c6a43e2ebb7c86c91bea842e6dcd99dbb964 : update_package.py