tis-winrar icon

Winrar

Silent install package for Winrar

7.23.0-0
Utilities
Utilities

  • package: tis-winrar
  • name: Winrar
  • version: 7.23.0-0
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT, Alexis PAJOT
  • editor: Eugene Roshal
  • licence: Licence propriétaire
  • locale: fr
  • target_os: windows
  • impacted_process: WinRAR
  • architecture: x64
  • signature_date:
  • size: 3.97 Mo
  • homepage : http://rarlab.com

package           : tis-winrar
version           : 7.23.0-0
architecture      : x64
section           : base
priority          : optional
name              : Winrar
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT, Alexis PAJOT
description       : WinRAR is a proprietary data compression software developed by the Russian Eugene Roshal. It is free in trial version but a paid and complete version exists.
depends           : 
conflicts         : 
maturity          : PROD
locale            : fr
target_os         : windows
min_wapt_version  : 1.8.2
sources           : 
installed_size    : 
impacted_process  : WinRAR
description_fr    : WinRAR est un logiciel propriétaire de compression de données développé par le Russe Eugene Roshal. Il est gratuit en version dessai mais une version payante et complète existe.
description_pl    : WinRAR to zastrzeżone oprogramowanie do kompresji danych opracowane przez Russian Eugene Roshal. Jest ona bezpłatna w wersji próbnej, ale istnieje pełna wersja płatna.
description_de    : WinRAR ist eine proprietäre Datenkompressions-Software, die von Eugene Roshal aus Russland entwickelt wurde. Es ist als Probeversion kostenlos, aber es gibt eine kostenpflichtige und vollständige Version.
description_es    : WinRAR es un software propietario de compresión de datos desarrollado por el ruso Eugene Roshal. Es gratis en versión de prueba pero existe una versión de pago y completa.
description_pt    : Winrar é um software proprietário de compressão de dados desenvolvido pelo russo Eugene Roshal. É gratuito em versão experimental, mas existe uma versão paga e completa.
description_it    : Winrar è un software proprietario di compressione di dati sviluppato dal russo Eugene Roshal. È gratuito in versione di prova ma esiste una versione a pagamento e completa.
description_nl    : WinRar is een eigen datacompressiesoftware ontwikkeld door de Russische Eugene Roshal. Het is gratis in een proefversie, maar er bestaat een volledig betaalde versie.
description_ru    : WinRAR - это патентованное программное обеспечение для сжатия данных, разработанное российским Eugene Roshal. Оно бесплатно в пробной версии, но существует полностью оплаченная версия.
audit_schedule    : 
editor            : Eugene Roshal
keywords          : 
licence           : Licence propriétaire
homepage          : http://rarlab.com
package_uuid      : c7ceb497-d187-4c1c-bf85-13aee58a30a3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.win-rar.com/latestnews.html
min_os_version    : 
max_os_version    : 
icon_sha256sum    : fc7deafb7756102d60b861f67537d19adae3a1d548ee32afed03ae19119563f9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-07-25T15:02:18.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         : lzz2s1YI7eeRw/JQieotd3vOHwtgea5t82AscTGFWZzrE2rI1BewOoEpYQYfx0tNxOEviGMqUqBriAiF6BdJSHzROO5TuI5RI6KeiZ5iRGGf3eOV5qYoi6YkN439bwyi4YunUiWAKUTgxd/yzCTsnnL9l++1iM6PfvBsbPF4zjuG+KJuk3uZcywi55Mr+oSjvf86QP27UDHW/ZDMzw0cLcFAiQxlxWH6jrHuPsaynxUSUK0rhHSgRSSUnh+dQpK0pyu/wvzDKh6WI4UkJB5o95shFFDff3fofO+fXaEq193SAyrxiWlT8SMZBqKACs7lDmNlHZ0vJvRFKge2aqViTg==

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


def install():
    try:
        install_exe_if_needed(
            glob.glob("*.exe")[0],
            "/S",
            key="WinRAR archiver",
            min_version=control.version.split("-", 1)[0],
        )
    except:
        time.sleep(10)
        install_exe_if_needed(
            glob.glob("*.exe")[0],
            "/S",
            key="WinRAR archiver",
            min_version=control.version.split("-", 1)[0],
        )

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

dict_loc_file = {"en": "", "de": "d", "all": ""}


def update_package():
    proxies = {}
    if isfile(makepath(application_data(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(
            makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"),
            "global",
            "http_proxy"
        )
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}
    url_version = "https://www.win-rar.com/latestnews.html?&L=0"
    winrarversion = None

    for bs_search in bs_find_all(url_version,"div","class","news-list-item",proxies=proxies):
        a = bs_search.find("a")
        if not a:
            continue
        title = a.text.strip()
        print(title)

        if "released" in title.lower() and "beta" not in title.lower():
            winrarversion = title.split()[1].replace(".", "")
            print("Version trouvée :", winrarversion)
            break

    if not winrarversion:
        raise Exception("Impossible de récupérer la version WinRAR")

    reallang = control.locale
    if reallang in dict_loc_file:
        reallang = dict_loc_file[control.locale]

    if control.architecture == "x64":
        filename = "winrar-x64-%s%s.exe" % (winrarversion, reallang)
    else:
        filename = "wrar%s%s.exe" % (winrarversion, reallang)

    urldl = "https://www.win-rar.com/fileadmin/winrar-versions/winrar/%s" % filename

    if not isfile(filename):
        wget(urldl, filename, proxies=proxies)

    for exe in glob.glob("*.exe"):
        if exe != filename:
            remove_file(exe)

    control.version = "%s-0" % (get_file_properties(filename)["ProductVersion"])
    control.save_control_to_wapt(".")

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
89ebe718329efa036da4e48cc8d886c64b002b17b4fcfe1ddd092d31fb95d6c9 : WAPT/control
fc7deafb7756102d60b861f67537d19adae3a1d548ee32afed03ae19119563f9 : WAPT/icon.png
5ba8b5a3b0142b85c730a060f4b82141a1e0259b98f7acbb83d25f3d09144bd6 : luti.json
d4107476ff4100b2e937f86d1582bfe9110fd75371d9707db6eae21ed8d8bb9c : setup.py
686e6c94bfbd2a2e058207bbb22b1aa13caaf16f02dbcfe2a9b70af97bd4d505 : update_package.py
82219d8fbca7c30de15b82023dcda8f3330022e7c3f2739b40e7503ffb53f4a1 : winrar-x64-723fr.exe