tis-tightvnc-viewer

2.8.84-0
TightVNC (GlavSoft LLC.)
3933 downloads
Download
See build result See VirusTotal scan
tis-tightvnc-viewer icon
  • package : tis-tightvnc-viewer
  • name : TightVNC Viewer
  • version : 2.8.84-0
  • categories : Utilities
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor :
  • licence :
  • locale : all
  • target_os : windows
  • impacted_process : tvnviewer
  • architecture : x64
  • signature_date : 2024-06-02 08:01
  • size : 1.98 Mo
  • installed_size : 1.09 Mo
  • conflicts :
package           : tis-tightvnc-viewer
version           : 2.8.84-0
architecture      : x64
section           : base
priority          : optional
name              : TightVNC Viewer
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : TightVNC (GlavSoft LLC.)
depends           : 
conflicts         : tis-vnc
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 1085440
impacted_process  : tvnviewer
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 0472105e-e4b2-49b7-b132-8e7593883bfd
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 8c1893f19dbe8e67261e337aca3c59bad9d3136cb47930a1026c42be047c2385
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : sZ/rqcypqStbiiNOKLviRZtMKPnDLKth0Piyq6iLOyAO9/Fmg/h1Uw95aezgaSVJn38eWczpJZ4vOtcDQ3VwTPRksonzdYLhAR8FP72oJcOlGU9bbGrh1BmiA6zeOLuH4OHLzyQ+w9Nmk78K862LiNHwJSrrI/kdQHPrYiyvAnv0F1zmLI3H5PPZRJ7jZHl2wcc+HhZt4tBwb+WIE2Pk3+hBIqrGs3iQSr4FTCpMPrZQRg+N05YNwHSsLtng9EoJoJh1qedDD53cYJuCosA696IiUHdka7hTNzFhGTKSn3WKeUFHjQxnRekgvgPVe7D8JYgaxZjp0gZV8UlLY8oYYQ==
signature_date    : 2024-06-02T08:01:37.938068
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 *

"""
Installation procedure: 
https://www.tightvnc.com/doc/win/TightVNC_2.7_for_Windows_Installing_from_MSI_Packages.pdf

"""
# 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("*tightvnc-*.msi")[0]
    # Installing the software
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name,
        properties={"ADDLOCAL": "Viewer"},
    )
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import bs4 as BeautifulSoup

bin_contains = "tightvnc-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.tightvnc.com/download.php"
    if control.architecture == "x64":
        arch = "64bit"
    else:
        arch = "32bit"
    end_bin_name = "-gpl-setup-%s.msi" % arch

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "href", proxies=proxies):
        if bs_search["href"].endswith(end_bin_name):
            version = bs_search["href"].split("/")[-2]
            latest_bin = bs_search["href"].split("/")[-1]
            download_url = bs_search["href"]
            break

    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 = ".".join(get_version_from_binary(latest_bin).split(".")[:3])
        if Version(version) != Version(version_from_file) 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 + version_from_file + end_bin_name)
            version = version_from_file
        else:
            print("Binary file version correspond 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
    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
49a2b1c3c672d52dbd7b74df1b9e6f0d50afd73685abb9e3a90e7fd500c9145f : setup.py
 : __pycache__
1f6f3811e97ea920486a0aaa35410c06253c3659022f5b29e80227e3ceeab3e3 : tightvnc-2.8.84-gpl-setup-64bit.msi
636638edb3d0f9019ae21d619ac701aac8ba9d573ad11fee58c717d6b003e241 : update_package.py
8c1893f19dbe8e67261e337aca3c59bad9d3136cb47930a1026c42be047c2385 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
87236ad0a3178c40eb0d1954409447c1115983dee042c958652c5585a0ccbca8 : luti.json
8f53548115da6c6512c755219095d553317b0a531a9b4902636ec0d87a9c987d : WAPT/control