tis-freevideoeditor 5.8.5.802-1

  • package : tis-freevideoeditor
  • version : 5.8.5.802-1
  • description : VSDC Free Video Editor est un logiciel d'édition vidéo qui vous permettra de réaliser le montage d'un film.C)
  • maintainer : Tranquil IT Systems
  • date : 2018-01-03 13:22:32
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20180103-132159
  • min_os_version :
  • min_wapt_version :

setup.py

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

uninstallkey = []

def install():

    versionpaquet = control['version'].split('-',1)[0]

    check_installed = installed_softwares('VSDC Free Video Editor_is1')
    for uninstall in check_installed:
        if Version(uninstall['version']) < Version(versionpaquet) :
            killalltasks('video_editor.exe')
            cmd = WAPT.uninstall_cmd(uninstall['key'])
            run(cmd)
            time.sleep(5)

    install_exe_if_needed("video_editor.exe","/VERYSILENT  /SUPPRESSMSGBOXES /NORESTART",key='VSDC Free Video Editor_is1',min_version=versionpaquet,killbefore='videoeditor')
    remove_desktop_shortcut('VSDC Free Video Editor')


def session_setup():
    registry_setstring(HKEY_CURRENT_USER, r"Software\FlashIntegro\VideoEditor",'UpdatePeriod',6, type=REG_DWORD)

def update_sources():
    wget('http://downloads.videosoftdev.com/video_tools/video_editor.exe','video_editor.exe')

    vers = get_file_properties('video_editor.exe')['ProductVersion']

    os.chdir(os.path.dirname(__file__))

    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = vers + '-0'
    pe.save_control_to_wapt(os.getcwd())

# CTRL F9 pour me mettre à jour

if __name__ == '__main__':
    update_sources()
    

manifest

[["WAPT/icon.png", "fa347e2308b283821776dfd9876f3c04e5fac915"], ["WAPT/certificate.crt", "71e974e585d0a29bdfa7de8e471201abcc040ee6"], ["WAPT/wapt.psproj", "df3135be74d80f3b9a2f9db84911475925304c64"], ["video_editor.exe", "7a8088d16de4b1b0c9e44a2ee4fb136ad1b424e2"], ["setup.py", "b78cfe104ce96b99859d01645411146291f86333"], ["WAPT/control", "b176fd4de3d231df3853ad7e0ce9d48fa02a2494"]]