tis-navigateur-sirap

84.4.0.4-7
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.
198 downloads
Download

  Description 

  • package : tis-navigateur-sirap
  • version : 84.4.0.4-7
  • architecture : x64
  • categories : Internet,Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Kenan KILICARSLAN
  • 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 : 2020-12-21T15:08:55.172811
  • 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'


def install():
    # Installing SIRAP
    package_version = control.version.split('-')[0]

    # Installing the package
    print('Installing: %s' % bin_name)
    install_exe_if_needed(bin_name,
        silentflags=silent_args,
        key=app_uninstallkey,
        min_version=package_version)


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","6f880ff4d5c0653a2d9ddc63f694c603e830cc3fc0fcf937cc02ca27dd2f0a88"],["parametres.csv","7a029e7e1db16a829d1b96218d39ba3c86efa8338bc063a83e0607bd0acced1f"],["setup.py","fbdc4482bce34dc562847afe94663089ef27a9fb37753376bd345e36e30841c9"],["WAPT/icon.png","24ec2c28b590683e9caea513fdc8d109377d30d68839ce0872cf3f2c9d3284ed"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","878f4a4a623b2fa7804f0aefc99b7d278e2448dbd92858d3805d245059f92cb7"]]