tis-navigateur-sirap

84.4.0.5-15
the web browser SIRAP is a web browser for business applications based on the new Next platform that does away with Flash technology and its shutdown.
200 downloads
Download

  Description 

  • package : tis-navigateur-sirap
  • version : 84.4.0.5-15
  • architecture : x64
  • categories : Internet,Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : the web browser SIRAP is a web browser for business applications based on the new Next platform that does away with Flash technology and its shutdown.
  • locale : all
  • target_os : windows
  • min_os_version : 6.1
  • max_os_version :
  • min_wapt_version : 1.7
  • sources : https://www.sirap.fr/navigateur-sirap.html
  • installed_size : 196571136
  • impacted_process : Navigateur.SIRAP.exe
  • description_fr : le navigateur SIRAP est un navigateur web pour applications métier basée sur la nouvelle plateforme Next qui s'affranchit de la technologie Flash et de son arrêt
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : SIRAP
  • licence : Commercial
  • signature_date : 2021-01-07T12:08:41.114259
  • Homepage : https://www.sirap.fr/

  Setup.py 

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

uninstallkey = []

# Defining variables
bin_name = 'NavigateurSIRAP.setup.exe'
silent_args = '/VERYSILENT /NORESTART'
app_uninstallkey = '{6CA7FECF-438B-4FC2-87B0-C38C5139D48B}_is1'
app_dir = makepath(programfiles,'Navigateur.SIRAP')
conf_file = 'parametres.csv'
processes_to_kill = ['firefox.exe','iexplore.exe','opera.exe','chrome.exe']
app_name = 'Navigateur SIRAP'
force = False


def install():
    # Installing SIRAP
    package_version = control.version.split('-')[0]
    """ if not installed_softwares(name='Adobe Flash Player 32 PPAPI') and not installed_softwares(name='Adobe Flash Player 32 NPAPI'):
        force = True """

    # Installing the package
    if force:
        print('Force installing: %s' % bin_name)
        install_exe_if_needed(bin_name,
            silentflags=silent_args,
            key=app_uninstallkey,
            killbefore=processes_to_kill,
            force=True)
    else:
        print('Installing: %s' % bin_name)
        install_exe_if_needed(bin_name,
            silentflags=silent_args,
            key=app_uninstallkey,
            min_version=package_version,
            killbefore=processes_to_kill,
            force=False)


""" def audit():
    # Seem's no longer required (luckily)
    # Auditing the package
    if not installed_softwares(name='Adobe Flash Player 32 PPAPI') and not installed_softwares(name='Adobe Flash Player 32 NPAPI'):
        print("WARNING: %s may not working as expected since Adobe Flash Player PPAPI and/or NPAPI are no longer installed.\nPlease force install this package to fix the issue" % app_name)
        return "WARNING"
    else:
        return "OK" """


def update_package():
    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    latest_bin = bin_name
    url_dl = 'https://warehouse.sirap.fr/Navigateur.SIRAP/setup/NavigateurSIRAP.setup.exe'

    # Downloading latest binaries
    print('Downloading: %s' % latest_bin)
    wget(url_dl, latest_bin, proxies=proxies)

    # Changing version of the package
    version = get_file_properties(latest_bin)['ProductVersion']
    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)




def get_proxies():
    if platform.python_version_tuple()[0] == '3':
        from urllib.request import getproxies
    else:
        from urllib import getproxies
    return getproxies()


def get_proxies_from_wapt_console():
    proxies = {}
    if platform.system() == 'Windows':
        waptconsole_ini_path = makepath(user_local_appdata(), 'waptconsole', 'waptconsole.ini')
    else:
        waptconsole_ini_path = makepath(user_home_directory(), '.config', 'waptconsole', 'waptconsole.ini')
    if isfile(waptconsole_ini_path):
        proxy_wapt = inifile_readstring(waptconsole_ini_path, 'global', 'http_proxy')
        if proxy_wapt:
            proxies = {'http': proxy_wapt, 'https': proxy_wapt}
    return proxies


										

  Changelog 


No changelog
  manifest.sha256 
[["NavigateurSIRAP.setup.exe","cc37d2256fde1ef94a04e8e8c2decbd7179d1597c8a5a911ffee797fd4b096ff"],["parametres.csv","7a029e7e1db16a829d1b96218d39ba3c86efa8338bc063a83e0607bd0acced1f"],["setup.py","c9f1f5171e87ebdeae1f81aed8b2028b6fea457d4943167a74608efb4770748e"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/icon.png","24ec2c28b590683e9caea513fdc8d109377d30d68839ce0872cf3f2c9d3284ed"],["WAPT/control","ef8ccfb82624010187b38d74b176a342714b483734d9f1526c047f8ef8baca21"]]