tis-ezcast icon

EZCast

Paquet d’installation silencieuse pour EZCast

3.0.0.22-5

  • package: tis-ezcast
  • name: EZCast
  • version: 3.0.0.22-5
  • categories: Media,Drivers
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Actions Microelectronics
  • licence: Freeware
  • locale: all
  • target_os: windows
  • impacted_process: EZCast,EZCastService
  • architecture: all
  • signature_date:
  • size: 70.41 Mo
  • installed_size: 151.81 Mo
  • homepage : https://www.ezcast.com/

package           : tis-ezcast
version           : 3.0.0.22-5
architecture      : all
section           : base
priority          : optional
name              : EZCast
categories        : Media,Drivers
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : Forced reboot on install and uninstall - Displays your Windows embedded PC and Notebook wirelessly via EZCast devices or platforms.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.ezcast.com/app/ezcast/windows
installed_size    : 151805952
impacted_process  : EZCast,EZCastService
description_fr    : Redémarrage forcé à l'installation et à la désinstallation - EZCast permet d’envoyer vers l’écran interactif tactile ou le vidéoprojecteur interactif le contenu de votre tablette (iOS ou Android) ou de votre PC (Windows).
description_pl    : Wymuszony restart przy instalacji i odinstalowaniu - Wyświetla wbudowany w system Windows komputer i notebook bezprzewodowo za pośrednictwem urządzeń lub platform EZCast
description_de    : Erzwungener Neustart bei Installation und Deinstallation - Zeigt Ihren Windows Embedded PC und Ihr Notebook drahtlos über EZCast-Geräte oder Plattformen an
description_es    : Reinicio forzado en la instalación y desinstalación - Muestra su PC y portátil con Windows de forma inalámbrica a través de dispositivos o plataformas EZCast
description_pt    : Reinicialização forçada na instalação e desinstalação - Apresenta o seu PC com Windows e Notebook sem fios através de dispositivos ou plataformas EZCast
description_it    : Riavvio forzato all'installazione e alla disinstallazione - Visualizza il PC e il notebook Windows embedded in modalità wireless tramite dispositivi o piattaforme EZCast
description_nl    : Geforceerde reboot bij installeren en verwijderen - Geeft uw Windows embedded PC en notebook draadloos weer via EZCast-apparaten of platforms
description_ru    : Принудительная перезагрузка при установке и удалении - Отображение встроенного ПК и ноутбука с Windows по беспроводной связи через устройства или платформы EZCast
audit_schedule    : 
editor            : Actions Microelectronics
keywords          : cast,ez,ezcast,display,wireless,wirelessly
licence           : Freeware
homepage          : https://www.ezcast.com/
package_uuid      : d2823ad4-2893-4d04-8a52-1237837eb392
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.ezcast.com/release
min_os_version    : 6.1
max_os_version    : 10.0.21999
icon_sha256sum    : cabb90e38d838b6375f25df0b41d3c7023a8fa526eaac32d7c10f0d62ae54c0b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : N08kvTqR1ExK4O1PNN6Tfu/JjcToSKXdcMVpTiI85pwhqQIWn1abJ2mTDRRrTvX2PfpbIgrLTinWl3gMdOt/5PjCY1Xyapcbr/AEK/mfxt6w6cajiNFZQBy5KS/zFX2Gv4QGy+SHQWSr1H0UF2OMpRqkCs2ymdmwHZSFbBC8WXBE+kGy12cRf53xfMk15ixUQ3lHeNspuNc1Ypm4DV0wgzHDsFx5lxKizYZcPw6DUu7qjlmWysNykPYWi30n7vGoWT7axHDlp4+K+Pe+6dlSIlA29xNqwu/ElkTHmF8i9CTG5jUQZnm05LLyzNo7Kw6tT7nVT3y/jgp415G0xDBA4g==
signature_date    : 2022-08-03T13:03:01.154913
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 *
    
app_uninstallkey = "{74CECDD9-4B8E-4AE3-9571-8070A17F3C34}"

def install():
    bin_name_string = "EZCast_Win%s.exe"
    silent_args = "/S -var:Reboot=No"
    # Specific app values
    package_version = control.version.split("-")[0]

    # Getting the used storage on programfiles before installation (place it on the top)
    get_disk_free_space_before = get_disk_free_space(programfiles)

    # Installing the package
    install_exe_if_needed(bin_name_string % package_version, silentflags=silent_args, key=app_uninstallkey, min_version=package_version, timeout=600)

    # Avoiding the usage by WAPT of the app built-in Uninstallstring
    uninstallkey.remove(app_uninstallkey)

    # Return used storage of the program. (place it on the bottom)
    get_disk_free_space_after = get_disk_free_space(programfiles)
    free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
    print("Storage used: " + str(free_space_after_diff))


def uninstall():
    # Uninstalling the package
    app_exe = ["EZCast.exe", "EZCastService.exe"]
    killalltasks(app_exe)

    run(r'"%s" /S /norestart' % makepath(install_location(app_uninstallkey), "Uninstall.exe"))

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


def update_package():
    # Initializing variables
    bin_name_string = "EZCast_Win%s.exe"
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.ezcast.com/app/ezcast/windows"
    bin_end = bin_name_string.split("%s")[-1]
    bin_start = bin_name_string.split("%s")[0]

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "href", "javascript:void(0);", proxies=proxies):
        url_dl = bs_search["onclick"].split("'")[1]
        if url_dl.endswith(bin_end):
            latest_bin = url_dl.split("/")[-1]
            version = latest_bin.split(bin_start)[-1].split(bin_end)[0]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        if version != version_from_file:
            os.rename(latest_bin, bin_name_string % version_from_file)
            version = version_from_file

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)

    # Deleting outdated binaries
    remove_outdated_binaries(version)

9edc708a1e54591d3e8f24c4622e1079ae90850dce322677e1a3098a03629430 : setup.py
884280675a2645aeee73f9faac5c943d7e75f4ec8bf94959ead10aaee5ce5756 : EZCast_Win3.0.0.22.exe
2fdedcd26512a2fb9520113bd179b640f993222d343185ead9b4521ab59df6a0 : update_package.py
cabb90e38d838b6375f25df0b41d3c7023a8fa526eaac32d7c10f0d62ae54c0b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f64ab41fc8cda71c14a76f456fb9ae892cda655778744e876e499e586e89a192 : luti.json
38ecd7c15538b72f79cda0eaa5b91fc99c183a556827b774d2bf8a64f8ecb76b : WAPT/control