tis-ultraviewer icon

UltraViewer

Paquet d’installation silencieuse pour UltraViewer

6.6.87-1

  • package: tis-ultraviewer
  • name: UltraViewer
  • version: 6.6.87-1
  • maintainer: AdministratorWAPT Team,Tranquil IT,Amel FRADJ
  • licence: Copyright UltraViewer 2020 | Tous droits réservésTM
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 3.25 Mo
  • homepage : https://www.ultraviewer.net/en/

package           : tis-ultraviewer
version           : 6.6.87-1
architecture      : all
section           : base
priority          : optional
name              : UltraViewer
categories        : 
maintainer        : AdministratorWAPT Team,Tranquil IT,Amel FRADJ
description       : Remote control to support your customers/partners from anywhere
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Contrôle à distance pour assister vos clients / partenaires de partout
description_pl    : Zdalne sterowanie w celu obsługi klientów/partnerów z dowolnego miejsca
description_de    : Fernsteuerung, um Ihre Kunden/Partner von überall aus zu unterstützen
description_es    : Control remoto para ayudar a sus clientes/socios desde cualquier lugar
description_pt    : Controlo remoto para apoiar os seus clientes/parceiros a partir de qualquer lugar
description_it    : Controllo remoto per supportare i vostri clienti/partner da qualsiasi luogo
description_nl    : Bediening op afstand om uw klanten/partners overal te ondersteunen
description_ru    : Дистанционное управление для поддержки клиентов/партнеров из любой точки мира
audit_schedule    : 
editor            : 
keywords          : 
licence           : Copyright UltraViewer 2020 | Tous droits réservésTM
homepage          : https://www.ultraviewer.net/en/
package_uuid      : ac041f0a-b0d3-4633-9c02-02d34dad2b34
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : cc1ccea88b63b5c7830f7ae82c6421a5f47df1a1c81734700a8ab7ab567b86bc
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : LFWZo16wYRWOMYnLso2XJxMnO7FjuBllXSxPlCX48HitRQpNn7dfCiVdoP1v0G3AkEVCcsckiSUUNuabnqkYTUCp4NA1iNpD7Y3WuhyvMfwIVGyMA2hBFTBgrJuROaYVVoBn54dHCRJEMIVEV/rhPfRWU0Q37/woQ0el5bR4OfdkKcQTc9gavw1czEc520eIYerIY1gGF+MU4qiHzsXGzdrxLx8Gl2CIEUZTdPITllT+56Anfle6vZElW95NDsfbS3XQiaBu5qBmFxY/BK8iQCZQ5SShdvxulVfKkpDwcOIa7pbwyPg0JxL2vZGAfc0ej4fPHmvsJPxtZQM1MnULaw==
signature_date    : 2024-08-19T13:00:11.505636
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()
{
   "key":"{E0FABD74-083B-47F4-AC5B-CA4237BF8913}_is1",
   "name":"UltraViewer version 6.6.87",
   "version":"6.6.87",
   "install_date":"2024-08-14 00:00:00",
   "install_location":"C:\\Program Files (x86)\\UltraViewer\\",
   "uninstall_string":"\"C:\\Program Files (x86)\\UltraViewer\\unins000.exe\"",
   "publisher":"DucFabulous",
   "system_component":0,
   "win64":false
  }

"""
# 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('UltraViewer_setup_*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key='{E0FABD74-083B-47F4-AC5B-CA4237BF8913}_is1',
        min_version=control.get_software_version(),
    )




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



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

  
    url_base = "https://www.ultraviewer.net/en/download.html"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "p", proxies=proxies)
    exe_file = None
    for div in divs:
        if exe_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.exe'):
                href = link['href']
                exe_file = href
                download_url = "https://dl2.ultraviewer.net/" + exe_file
                latest_bin = exe_file.split('/')[-1]
                version = latest_bin.split('_')[-2]
                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('*.exe'):
        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()    
        

111ec21a210c0f4ad3fb81c8f3a7179373163957b4930f6b8c07b47134197161 : setup.py
7e43c34855b75938ac289a575ffc4c793ec8451d700449b74ce47ef20bf28ec8 : update_package.py
cc1ccea88b63b5c7830f7ae82c6421a5f47df1a1c81734700a8ab7ab567b86bc : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
81fa4510e2409ed4c9b93abd5369e6e88721bab3563aff56f63c447f00780de2 : luti.json
0fa31dd2affdad98dbca7d8b7a9dc02c56093ff2ca06e6b03db7aa4cd4bf5260 : UltraViewer_setup_6.6_en.exe
9651c356df2a6db4e26d87b299a4f89ccb7d73dad956d8bf889e75311a7a91c5 : WAPT/control