tis-conan icon

Conan

Silent install package for Conan

2.25.1-2

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-conan
  • name: Conan
  • version: 2.25.1-2
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 14.78 Mo
  • homepage : https://conan.io/

package           : tis-conan
version           : 2.25.1-2
architecture      : x64
section           : base
priority          : optional
name              : Conan
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Open source, decentralized C/C++ package manager (MIT)
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Gestionnaire de paquets C/C++ décentralisé et open source (MIT)
description_pl    : Zdecentralizowany menedżer pakietów C/C++ typu open source (MIT)
description_de    : Dezentralisierter Open Source C/C++ Paketmanager (MIT)
description_es    : Gestor de paquetes C/C++ descentralizado y de código abierto (MIT)
description_pt    : Gerenciador de pacotes C/C++ descentralizado e de código aberto (MIT)
description_it    : Gestore di pacchetti C/C++ decentralizzato open source (MIT)
description_nl    : Open bron gedecentraliseerde C/C++ pakketbeheerder (MIT)
description_ru    : Децентрализованный менеджер пакетов C/C++ с открытым исходным кодом (MIT)
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : https://conan.io/
package_uuid      : c2f47774-d277-4186-883b-fd4c65f58423
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-29T15:58:02.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         : qOlw/5rn2k1NWzwGVG690IR82DI0wHr65kOO4Qo3jsgBOn0JdKUTKrMryZpJ9MPIaoEPZOyTRyN9ACikvLg6RzAa7YZWYxPGUEU3tpjcrpx9i7BwNYm/c/IDQ9sy9s3BqbToGTwTzZsl8Gk3Kn2mX2+AGaOEamx9QbMQmfzVGN6wmcYNDn6sSo53O7NuiI1e8VcY3IIufnVE6zWQcrAV+jDoCZs1PiybXWtyce0lTjSwhsjLaCjS2cbqh4aAea4megXpTZTw88EJmaBzvqnyZfhu79bKKrhkYeBt0vDvh/j+uoNzsmAoXAFGrFdD0Fuh/IkX0cZ4+17u4W7SdEi7/A==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"Conan Package Manager_is1",
   "name":"Conan Package Manager version 1.65.0",
   "version":"1.65.0",
   "install_date":"2024-08-14 00:00:00",
   "install_location":"C:\\Program Files\\Conan\\",
   "uninstall_string":"\"C:\\Program Files\\Conan\\unins000.exe\"",
   "publisher":"",
   "system_component":0,
   "win64":true
  }

"""
# 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
    bin_name = glob.glob('conan-*.exe')[0]
    # Installing the software

    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key='',
        min_version=control.get_software_version(),
    )

def uninstall():
    killalltasks(ensure_list(control.impacted_process))
    run(r'"C:\Program Files\Conan\unins000.exe" /SILENT')


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

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


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64" :"-windows-x86_64-installer.exe",
        "x86" :"-windows-i686-installer.exe"
    }
    git_repo = "conan-io/conan"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in download["browser_download_url"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

   

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)
    version = get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

    

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
eb374b9d0a0b5368be1f8760a2f00e0a1d732dca92c7f53ebd9bf92f961dee00 : WAPT/control
b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33 : WAPT/icon.png
79372877e595aa866afe51e7ad5d3a52fadd376a42df2bf1908dd9c5cb548d40 : conan-2.25.1-windows-x86_64-installer.exe
9ca8cdc571ede380d4b51e12af94056bae2642400c2e82c4132c00a81d44ffb1 : luti.json
c4701b8f67965b993deb7ce8c7f75eaf7401888a0c920dba81d0f0163486db09 : setup.py
d2fdd26fdfac059c6b75e757034c0ae7481e9a4a60ec79f6d8de260886c9bee2 : update_package.py