tis-skype 7.39.32.102-12

  • package : tis-skype
  • version : 7.39.32.102-12
  • description : Skype is a telecommunications application software product that specializes in providing video chat and voice calls from computers, tablets, and mobile devices via the Internet to other devices or telephones/smartphones
  • maintainer : Simon Fonteneau
  • date : 2017-08-08 13:21:23
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170808-132117
  • min_os_version :
  • min_wapt_version :

setup.py

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

uninstallkey=[]

def install():
    product_version = control['version'].split('-',1)[0]

    oldskype = installed_softwares('skype')
    for soft in oldskype:
        if Version(soft['version'])<Version(product_version):
            print("remove : %s " % soft['name'])
            run_notfatal(uninstall_cmd(soft['key']))
    print('installing Skype %s' % product_version)
    # hack... several properies with same key TRANSFORMS
    install_msi_if_needed('SkypeSetup.msi',
        properties = dict(STARTSKYPE="FALSE",TRANSFORMS=':RemoveDesktopShortcut.mst TRANSFORMS=:RemoveStartup.mst'))


def update_package():

    wget('http://www.skype.com/go/getskype-msi','SkypeSetup.msi')
    product_version = get_msi_properties('SkypeSetup.msi')['ARPVERSION']

    control = PackageEntry().load_control_from_wapt('.')
    packaging = control.version.rsplit('-',1)[1]
    control.version = product_version+'-'+packaging
    control.save_control_to_wapt('.')

if __name__ == '__main__':
    update_package()

    

manifest

Couldn't retrieve manifest.