tis-royal-server icon

Royal Server

Paquet d’installation silencieuse pour Royal Server

5.2.50708.0-1

  • package: tis-royal-server
  • name: Royal Server
  • version: 5.2.50708.0-1
  • maintainer: Amel FRADJ
  • licence: General License Terms (EULA)
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 152.62 Mo
  • homepage : https://www.royalapps.com/server/main/features

package           : tis-royal-server
version           : 5.2.50708.0-1
architecture      : x64
section           : base
priority          : optional
name              : Royal Server
categories        : 
maintainer        : Amel FRADJ
description       : Royal Server is a Secure Gateway for remote connections and provides common remote management tasks for our Royal TS/X cross-platform clients
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Royal Server est une passerelle sécurisée pour les connexions à distance et fournit des tâches communes de gestion à distance pour nos clients multiplateformes Royal TS/X
description_pl    : Royal Server jest bezpieczną bramą dla połączeń zdalnych i zapewnia wspólne zadania zdalnego zarządzania dla naszych wieloplatformowych klientów Royal TS/X
description_de    : Royal Server ist ein Secure Gateway für Remote-Verbindungen und bietet allgemeine Remote-Management-Aufgaben für unsere plattformübergreifenden Royal TS/X Clients
description_es    : Royal Server es una pasarela segura para conexiones remotas y proporciona tareas comunes de gestión remota para nuestros clientes multiplataforma Royal TS/X
description_pt    : O Royal Server é um Secure Gateway para ligações remotas e fornece tarefas comuns de gestão remota para os nossos clientes multiplataforma Royal TS/X
description_it    : Royal Server è un gateway sicuro per le connessioni remote e fornisce attività comuni di gestione remota per i nostri clienti multipiattaforma Royal TS/X
description_nl    : Royal Server is een beveiligde gateway voor verbindingen op afstand en biedt algemene beheertaken op afstand voor onze Royal TS/X cross-platform clients
description_ru    : Royal Server - это безопасный шлюз для удаленных соединений, который обеспечивает общие задачи удаленного управления для наших кроссплатформенных клиентов Royal TS/X
audit_schedule    : 
editor            : 
keywords          : 
licence           : General License Terms (EULA)
homepage          : https://www.royalapps.com/server/main/features
package_uuid      : 0eef3154-6bdb-478f-ad75-edc53eec31a9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 18814553895f4a7325bdb008c6f79337fbc49af0875f9d0c0379de367ee23453
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : P+Sz8ThLzoaQNpMvp7Q51JpSb6TMMdsgq2Xlrr6gQfzUL21inEBJLoCEnXQLspwJ9SZttt6T/9M9/kltTqXlb0MXZOmuToGhJZLwyJRA6ns5Fn7gQL1Q2ZjJBLnqLoBm8mM7FaqTMKplY+sn7oucturiY6roxfciUmzVg9j/JjRvpGGlX4nztY6PM7ckv8yso9jrJGN6tpD795mhFAn76Ys/eiOdUPtmuYATjjOLKoVdAS2/XCccx+7Q65b5frjLrsAHHzNb4nNQNuN2+VXnwZstJQElZ0guBqrJHXqXEk5DD7nzJR1YN/Gr6dITnTedW3mMtinbkilFZWrsHiQ8pw==
signature_date    : 2024-07-14T17:02:46.156369
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()

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


def install():
    # Declaring local variables
    bin_name = glob.glob('RoyalServerInstaller_*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)




# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    url_base = "https://royalapps.com/server/main/download"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "td","class","buy download-button", proxies=proxies)
    msi_file = None
    for div in divs:
        if msi_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.msi'):
                href = link['href']
                msi_file = href
                download_url = msi_file
                latest_bin = msi_file.split('/')[-1]
                break


    # 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)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.zip'):
        if f != latest_bin:
            remove_file(f)
       
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

94e21e30d64030b2edbdb66628c7685af3304a6814d4e73fd2317d3a5a180691 : setup.py
5ea3f51db3afdcf531afa6b052c48d95ae0aa414398d4481d54a14a1368a4449 : update_package.py
8b305be9f7c3d98ff7a24447a658fd7f361ab84b85137cc8041bf24974ebe06b : RoyalServerInstaller_5.02.50708.0.msi
18814553895f4a7325bdb008c6f79337fbc49af0875f9d0c0379de367ee23453 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
daa8d716ee8afc86f09dbb66534944c57fc288fb6d6e3ff9bed4d24a9ba0848f : luti.json
14071b2b0d6f3443ba74c6734f2d35728a7b5e4a52d94e456945122fc419757a : WAPT/control