tis-mremoteng icon

mRemoteNG

Silent install package for mRemoteNG

1.76.20.24615-24

  • package: tis-mremoteng
  • name: mRemoteNG
  • version: 1.76.20.24615-24
  • categories: Utilities,System and network
  • maintainer: WAPT Team,Tranquil IT,Kevin GUÉRINEAU,Jimmy PELÉ,Gaëtan SEGAT,Alexis PAJOT
  • licence: GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: mRemoteNG
  • architecture: all
  • signature_date:
  • size: 42.20 Mo
  • installed_size: 143.66 Mo
  • homepage : https://mremoteng.org/

package           : tis-mremoteng
version           : 1.76.20.24615-24
architecture      : all
section           : base
priority          : optional
name              : mRemoteNG
categories        : Utilities,System and network
maintainer        : WAPT Team,Tranquil IT,Kevin GUÉRINEAU,Jimmy PELÉ,Gaëtan SEGAT,Alexis PAJOT
description       : Remote administration of machines with VNC, RDP, Putty SSH
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/mRemoteNG/mRemoteNG/releases
installed_size    : 143659008
impacted_process  : mRemoteNG
description_fr    : Administration à distance de machines avec VNC, RDP, Putty SSH
description_pl    : Zdalne zarządzanie maszynami za pomocą VNC, RDP, Putty SSH
description_de    : Fernverwaltung von Maschinen mit VNC, RDP, Putty SSH
description_es    : Administración remota de máquinas con VNC, RDP, Putty SSH
description_pt    : Administração remota de máquinas com VNC, RDP, Putty SSH
description_it    : Amministrazione remota di macchine con VNC, RDP, Putty SSH
description_nl    : Beheer op afstand van machines met VNC, RDP, Putty SSH
description_ru    : Удаленное администрирование машин с помощью VNC, RDP, Putty SSH
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPLv2
homepage          : https://mremoteng.org/
package_uuid      : 42a4f9d4-f805-4704-ab49-03c36a793fe8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/mRemoteNG/mRemoteNG/releases
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : b8135ade574ba0680fbe33427ba8a1794050932e827521831247cd77d5aa9390
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : B8uNKo1AyjVX3dy7Ek3TdgxN6aDfgYWTa+9BQcVUBMZ2RNhh31wUp0o9Rv4y9+kVULcZ9nwdAZsbBg3t0IkfFaLKiusAZEuVaK8a1ISKtp3sE35VqWO6AAAllsfJtwTvjefRx6O27CRRG1pG77AE2hGIYJrVr1ENQ/PLlJ4wMyoPZnBSSUqi0ilecaogY9jdS+pLE9AbABnyNZQNhcqAbMmSbF4GBjnfSOCVo8V89ItZeoCLCGX1mUV2UF000R0UXHQhom+cR9rWxjeUlqhxRX6S5Kh1vpyMJHTJNwHxiSNkmnLx97UxonFGmadEYhK+TxzPKsOctGcB2mwIMpA44Q==
signature_date    : 2023-03-11T12:00:11.569067
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():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*mRemoteNG-Installer*.exe")[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_msi_if_needed(bin_name, min_version=package_version)


def session_setup():
    print("Session setup for %s" % control.asrequirement())
    print("Disabling: update check")

    # Specific app values
    package_version = control.get_software_version()

    app_local_appdata = makepath(user_local_appdata, "mRemoteNG", "*")
    conf_file_loc = None
    for prof_in_dir in glob.iglob(app_local_appdata):
        profile_app_dir = prof_in_dir + "/" + package_version
        conf_file_loc = profile_app_dir + "/" + "user.config"

    if conf_file_loc is not None:
        if isfile(conf_file_loc):
            import xml.etree.ElementTree as ET

            xml_data_conf_tree = ET.parse(conf_file_loc)
            xml_data_conf = xml_data_conf_tree.getroot()

            for conf in xml_data_conf.iter("setting"):
                if conf.get("name") == "CheckForUpdatesOnStartup":
                    for children in conf.getchildren():
                        children.text = "False"
                        xml_data_conf_tree.write(conf_file_loc, encoding="utf-8")
    else:
        error("you need to run the app at least once to create the config file")

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "mRemoteNG-Installer"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    bin_name_sub = bin_contains + "-%s.exe"
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    git_repo = "mRemoteNG/mRemoteNG"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if bin_contains in download["name"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

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

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

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        if version != version_from_file and version_from_file != "":
            print("Changing version to the version number of the binary")
            os.rename(latest_bin, bin_name_sub % version_from_file)
            version = version_from_file

    # 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
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(Version(version))
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

dd8324806f8fdbd9ae0a6b5d15ec334438dbec3072b6b3e80bd7b241b1607c47 : setup.py
8b65a66a4c4eb38c4f0b4f556f384ad3b2458cff0f78331b500aa640755a732b : update_package.py
b8135ade574ba0680fbe33427ba8a1794050932e827521831247cd77d5aa9390 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b24b7fb7166a3c6c2553e5b5b8931c2854a1427a7feec83903ee1c8ba5efe08a : luti.json
2c4d1efb90124f885215f88304c9ecc8bbeecc9cca285f6d17baae43b49f6227 : mRemoteNG-Installer-1.76.20.24615.exe
6a7dc4bf0592cefbfa02a34bf1ad2ff714dd70523200515f0c9a38c84840b67e : README.md
e602b0d3b3be894de51b5d2572e2df4f6fd52bb05b508714d498ddd7274d944e : WAPT/control