tis-opera icon

Opera

Paquet d’installation silencieuse pour Opera

120.0.5543.161-7

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

package           : tis-opera
version           : 120.0.5543.161-7
architecture      : x64
section           : base
priority          : optional
name              : Opera
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Kevin Guerineau,Simon Fonteneau,Jimmy PELÉ,Gaëtan SEGAT,Jordan ARNAUD
description       : Silent uninstall do not work- 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.3
sources           : https://get.geo.opera.com/pub/opera/desktop/
installed_size    : 202297344
impacted_process  : opera,opera_crashreporter,opera_autoupdate
description_fr    : La désinstallation silencieuse ne fonctionne pas - Opera est un navigateur web gratuit et multiplateforme développé par la société norvégienne Opera Software
description_pl    : Ciche odinstalowanie nie działa - Opera to darmowa, wieloplatformowa przeglądarka internetowa opracowana przez norweską firmę Opera Software
description_de    : Stille Deinstallation funktioniert nicht - Opera ist ein kostenloser, plattformübergreifender Webbrowser, der von dem norwegischen Unternehmen Opera Software entwickelt wurde
description_es    : La desinstalación silenciosa no funciona- Opera es un navegador web gratuito y multiplataforma desarrollado por la empresa noruega Opera Software
description_pt    : A desinstalação silenciosa não funciona - O 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    : Stil verwijderen werkt niet- Opera is een gratis, cross-platform 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      : 34650c6f-16c1-45d6-8996-bc81caf0d7c7
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-08-07T14:01:26.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         : ni8Y6rGL1LQFkmaRSCDk6vNXttAy1d3zmiioUKKcQ+TtZdzZ4FQEii8z95OCgPjxKk1s6tzFbGZzUAlMrsZdHgnZYyIV8mIuF7j7oGQL/yOmRWqbHlMGuD30g5+BQqrRZt9IZsJLN4UILq7GosiuuI2siJCJmbnZCD1BAdjmaE18mfEFyjVwzWfap4CHLWVwhIqBSXvAvtAxXVwbddvBVmQ8cw1jPHlQUqrpkql+QEGhVL26djxEqvt8bbLq9EV02mUaId/huI+3gUupGUWoHpxT5I9YA38uO6FT/HIjF1Pve08P25OirPY+rDNzaogjsUdRfnSl7R1AsDCsyABWMg==

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


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

f342148612b3292e461508b30291d0efcd051d37dca1780ef22f696203eac870 : Opera_120.0.5543.161_Setup_x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0b45f570376fc13cdddd632976b91252ae28e70a7d2a5cb9bcaac950bd2ffa10 : WAPT/control
5a1abf75c0f18834556bbdf1142d11b8bf3528e0b0342a4f6dfcbcc672ac0c9f : WAPT/icon.png
5490da93d3a7846be838cb53b7f5d0eab11a8193acc252448d5114b9f701e48f : luti.json
235ab31df761422e37e8acf694a189e75224a61a33b0915476883c19615fc672 : setup.py
00f157809d822d771f35566a1574674213e6b2d07e8445b7d67ac74d4ee8cc07 : update_package.py