tis-tightvnc-viewer

2.8.85-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.85-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-08-19 14:00
  • size : 1.98 Mo
  • installed_size : 1.09 Mo
  • conflicts :
package           : tis-tightvnc-viewer
version           : 2.8.85-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      : 1fde416e-cbce-4bff-85de-e0d870a9a696
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 8c1893f19dbe8e67261e337aca3c59bad9d3136cb47930a1026c42be047c2385
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : cOWkVD222kRBEXCYsPsgWmEbUF4XSjZuSfqYYMERBTN3JjAtpApdKRe9vrPIWq9TmLgAjh6Do2V7GY8hcRLS8eaDx4Ldk6NsX6TuVk8yIobpKY6uLXM59/ebFj28apSwwhGMhdXhw9HA4s7n1N0EW4wPaW5KET1hT06KEKKjEk+BpWjkADVHGEtwDQNpQlCLWxsyxO+N9w09dKYJM/x5p1eH3WrVUQlLurNX/+1NphESwftnrDrbIjELelMGf7SLAMIzJyye/HXBSK+CxnTYe9t/qniG3Y6+tZgv9FyfUysW8Wae5w1kFult/WGkZ9wNYRnJn2g18YLCaEcL1j5qtA==
signature_date    : 2024-08-19T14:00:54.870196
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__
636638edb3d0f9019ae21d619ac701aac8ba9d573ad11fee58c717d6b003e241 : update_package.py
d8fbed7b27ebab86df6f780f6e86f723668f3715cee521ccaa4568812aef5f3e : tightvnc-2.8.85-gpl-setup-64bit.msi
8c1893f19dbe8e67261e337aca3c59bad9d3136cb47930a1026c42be047c2385 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
5b96b55aa2b35c0cd3f698b5723990d225311e44530c8eeed3003fe149f6d314 : luti.json
923762843cfab639afa015ff7ac214981e0ea217e94c626f4f8613f2a8c7d130 : WAPT/control