tis-opera icon

Opera

Paquet d’installation silencieuse pour Opera

119.0.5497.131-6

  • package: tis-opera
  • name: Opera
  • version: 119.0.5497.131-6
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Kevin Guerineau,Simon Fonteneau,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Opera Software
  • licence: Freeware
  • locale: all
  • target_os: windows
  • impacted_process: opera,opera_crashreporter,opera_autoupdate
  • architecture: x86
  • signature_date:
  • size: 115.29 Mo
  • installed_size: 202.10 Mo
  • homepage : https://www.opera.com

package           : tis-opera
version           : 119.0.5497.131-6
architecture      : x86
section           : base
priority          : optional
name              : Opera
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Kevin Guerineau,Simon Fonteneau,Jimmy PELÉ,Gaëtan SEGAT
description       : Opera is a free, cross-platform web browser developed by the Norwegian company Opera Software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://get.geo.opera.com/pub/opera/desktop/
installed_size    : 202104832
impacted_process  : opera,opera_crashreporter,opera_autoupdate
description_fr    : Opera est un navigateur Web gratuit et multiplate-forme développé par la société norvégienne Opera Software
description_pl    : Opera to darmowa, cross-platformowa przeglądarka internetowa stworzona przez norweską firmę Opera Software
description_de    : Opera ist ein kostenloser, plattformübergreifender Webbrowser, der von dem norwegischen Unternehmen Opera Software
description_es    : Opera es un navegador web gratuito y multiplataforma desarrollado por la empresa noruega Opera Software
description_pt    : Opera é um navegador web gratuito e multiplataforma desenvolvido pela empresa norueguesa Opera Software
description_it    : Opera è un browser web gratuito e multipiattaforma sviluppato dalla società norvegese Opera Software
description_nl    : Opera is een gratis, platformonafhankelijke webbrowser, ontwikkeld door het Noorse bedrijf Opera Software
description_ru    : Opera - это бесплатный кроссплатформенный веб-браузер, разработанный норвежской компанией Opera Software
audit_schedule    : 
editor            : Opera Software
keywords          : web,browser,opera
licence           : Freeware
homepage          : https://www.opera.com
package_uuid      : 1546b04a-c51b-41a5-bb88-c112c548690f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://blogs.opera.com/desktop/changelog-for-80/
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 5a1abf75c0f18834556bbdf1142d11b8bf3528e0b0342a4f6dfcbcc672ac0c9f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-24T15:07:03.000000
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
signature         : MIotQjuScYHA1l+DmR9N9cQnNoZexJ/t2znGVkLRYNF8yLo4yb+1RaWA3LJA61IrNSkhtaZWzwYT9xBNTLWBd1iGMKSkMBW71ZTITIwHZRKVDDbyQNNamVEen6Zw/rOPXLJQaCv8Avpt/7M1UmBpQMmB7KnsWJ5sC0WMuRlcB6kE1Yu3OumdIvHWFZMAKq9Fa0+UEWeDW+gqfPhCIOT+YqECE9ruFLs0rXgb96TrlcIMEX+WImkjbBFk3SahxAYmr8reHuopNx7c2CsL+kK/L9cnbr4bV5wGO+u5sa3sZRmEAvvy1GDW/4gODKa9tdF/jnABfs5+nQkqEqTHoazKsw==

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


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*Opera_*.exe")[0]
    app_uninstallkey = "Opera %s" % package_version

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/install /silent /launchopera=0 /setdefaultbrowser=0 /allusers=1 /pintotaskbar=0 /desktopshortcut=0",
        key=app_uninstallkey,
        min_version=package_version,
    )

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


def uninstall():
    # Declaring local variables
    package_version = control.get_software_version()
    app_uninstallkey = "Opera %s" % package_version

    # Uninstalling the software
    for uninstall in installed_softwares(uninstallkey=app_uninstallkey):
        print("Removing: %s (%s)" % (uninstall["name"], uninstall["version"]))
        killalltasks(control.get_impacted_process_list())
        app_uninstall_cmd = uninstall_cmd(uninstall["key"])
        app_uninstall_cmd[2] = "/silent"
        run(app_uninstall_cmd)

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

bin_contains = "Opera_"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    download_url = "https://get.geo.opera.com/pub/opera/desktop/%s/win/"

    # Getting latest version from official sources
    re_versions = re.compile('<a href="([\d\.]*)/">')
    index = wgets("https://get.geo.opera.com/pub/opera/desktop/", proxies=proxies)

    for versionopera in sorted(re_versions.findall(index),key=lambda p:(Version(p)),reverse=True):

        if control.architecture == "x64":
            latest_bin = bin_contains + "%s_Setup_x64.exe" % versionopera
        else:
            latest_bin = bin_contains + "%s_Setup.exe" % versionopera

        if not requests.head((download_url % versionopera) + latest_bin, proxies=proxies).status_code == 404:
            version = versionopera
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % (download_url % version))

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

        # Checking version from file
        version_from_file = get_product_props(latest_bin)["ProductVersion"]
        if Version(version) != Version(version_from_file) and version_from_file != "":
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

53b78f9319e0beb3bccdbe43528e34872b385290ba6dddcdcf66ea536bd00104 : Opera_119.0.5497.131_Setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0ca8536d63d5ebd645d737caa8fcc880f8f0210d4d025feab5486f87ece650e4 : WAPT/control
5a1abf75c0f18834556bbdf1142d11b8bf3528e0b0342a4f6dfcbcc672ac0c9f : WAPT/icon.png
ebe1ec793171938a82510c544dcef51adc62acb6d749cdf9d2103ae4abe11e89 : luti.json
f6434c6a2269463872b02158b929d50dfbfd833c6d651f2947bccd23c2c949a9 : setup.py
1e56858ab27099155e11be423788b2ab099cef771deafc43cfd5f519bcc30650 : update_package.py