tis-vnc 2.8.11.0-6

  • package : tis-vnc
  • version : 2.8.11.0-6
  • architecture : all
  • locale : all
  • description : TightVNC Viewer and server for x86 and x64
  • maintainer : Kevin Guerineau
  • date : 2018-09-24 09:59:17
  • min_os_version : 5.0
  • max_os_version :

setup.py

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

uninstallkey = []

def find_msis():
    """Returns msi filename and properties"""
    allmsi = glob.glob('*.msi')

    result = []
    for msi in allmsi:
        # uninstallkey is in msi db
        props = get_msi_properties(msi)
        if iswin64() and '64bit' in msi:
            result.append((msi,props))
        elif not iswin64() and '32bit' in msi:
            result.append((msi,props))

    return result


def update_control(entry):
    """Magic Callback to update control version data at build step"""
    (version,packaging) = entry.version.split('-',1)
    msis = find_msis()
    # use first msi's version for the package version
    for (msi,props) in msis:
        if not 'helppack' in msi:
            entry.version = "%s-%s"%(props['ProductVersion'],packaging)
            break


def install():
    msis = find_msis()
    for (msi,props) in msis:
        # uninstallkey is in msi db
        msikey = props['ProductCode']
        print('Adding uninstall key : %s'%msikey)
        uninstallkey.append(msikey)

        # check if product is already installed
        if WAPT.options.force or not installed_softwares(msikey):
            killalltasks('tvnserver.exe')
            print("Installing %s..."%(props['ProductName']))
            args = ["msiexec /norestart /quiet /i %s"%msi]

            cmd = ' '.join(args)
            run(cmd)
            print("Done install %s..."%(props['ProductName']))
        else:
            print("%s already installed, skipping..."%props['ProductName'])

    if params.get('dfmirage',0):
        print('Installing dfmirage display driver')
        install_exe_if_needed('dfmirage-setup-2.0.301.exe','/verysilent /norestart',key='DemoForge Mirage Driver for TightVNC_is1',min_version='2.0')

    

Changelog

No changelog
    

manifest.sha256

WAPT/certificate.crt 13fb474c5c23c135a77aba592eb8821b9ecbcc463f5b7312312b87b20eac6779
WAPT/wapt.psproj df3e2fa87fea9c7bdfcc22039b9ef7303f092898882d9f3f4233f5d92f90b3c7
wapt.psproj 93644cc18ef33e7f11b5fbc5f2f4177ee7757939de0038a4d6ebc0720ecb5906
tightvnc-2.8.11-gpl-setup-64bit.msi ec42c674b06b37b5d6be32875356df29bb11e1d4e63bbf6049a91f01f0053e9a
setup.py 3a6d872ce25fb273ff3ec06b8e74a19daaf75765f70935326840bc4118df4170
tightvnc-2.8.11-gpl-setup-32bit.msi eefda3f6dbf599a3679aa4cced15dd2e766e37ed1536ad2868d7748e3f44e68f
dfmirage-setup-2.0.301.exe 339123923706da4ba837cd14e256a1069c2af5c34ec6f012956f7f2d3689740b
WAPT/control 8f409bedfae3187c0186b56ed545966a146d87ed2fdc172df633ea1e39b38925