tis-netron icon

netron

Paquet d’installation silencieuse pour netron

8.8.7-1

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-netron
  • name: netron
  • version: 8.8.7-1
  • maintainer: Amel FRADJ
  • licence: MIT License Copyright (c) Lutz Roeder
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 183.46 Mo
  • homepage : https://netron.app/

package           : tis-netron
version           : 8.8.7-1
architecture      : x64
section           : base
priority          : optional
name              : netron
categories        : 
maintainer        : Amel FRADJ
description       : Netron is a neural network model visualization tool developed based on the Electron platform
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/lutzroeder/netron/releases
installed_size    : 
impacted_process  : 
description_fr    : Netron est un outil de visualisation de modèles de réseaux neuronaux développé sur la base de la plateforme Electron
description_pl    : Netron to narzędzie do wizualizacji modeli sieci neuronowych opracowane w oparciu o platformę Electron
description_de    : Netron ist ein Visualisierungstool für neuronale Netze, das auf der Electron-Plattform basiert
description_es    : Netron es una herramienta de visualización de modelos de redes neuronales desarrollada a partir de la plataforma Electron
description_pt    : Netron é uma ferramenta de visualização de modelos de redes neurais desenvolvida com base na plataforma Electron
description_it    : Netron è uno strumento di visualizzazione di modelli di reti neurali sviluppato sulla base della piattaforma Electron
description_nl    : Netron is een visualisatietool voor neurale netwerkmodellen ontwikkeld op basis van het Electron-platform
description_ru    : Netron - инструмент для визуализации моделей нейронных сетей, разработанный на базе платформы Electron
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT License Copyright (c) Lutz Roeder
homepage          : https://netron.app/
package_uuid      : a08c5bcf-a4c7-46b1-96ab-f5907fcf22a2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 00b5953456fdfece64972e9492a2eaecbddd0b207d38cf028661934d2ea94081
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-30T18:32:15.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         : BZ119V97wHYTih7ushmzlB8SvqLHFauDEaK5GnvcQ+0jRtySNvZu1J5MiyDWj7U+ln9fvyfohZICFt2LmhW6GADmOS2BJ4eXnapPqnUs6VUmtGGePZmA1J46tv9DFijFcGh2Q0EAr26J2T6VwENirfNaFYLAYia87m459OB4ui5Ib0c+XsLjK61gOK4BVKQgkQDnBUr2OBQ51ac46+LwPl4zBvHiJS3bPdgVryn7e4wUvdedgXZixQOvPg5uXyEAOxaVNsdm2/NdOmH96aAi+kkQCHRgu5M6jxmMJ2U95oqPPTf1nXIBwwSMQ8m4A6T3s5TwC2P0QfWm6Ac2l6aszw==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
    # Déclarer les variables locales
    bin_name = glob.glob('Netron-Setup-*.exe')[0]
          
        
    while True:
        try:
            install_exe_if_needed(
                bin_name,
                silentflags='/S /D="c:\\Program Files\\Netron"',
                min_version=control.get_software_version(),
            )
            break
        except: 
            if not params.get("install_with_luti", False):
                raise
            else:
                time.sleep(10)
    
    uninstallkey.clear()

def uninstall():
    # Chemin vers le programme de désinstallation
    uninstall_path = r'c:\Program Files\Netron\uninstall Netron.exe'
    # Répertoire d'installation
    app_dir = r'c:\\Program Files\\Netron'
    
    try:
        # Tuer toutes les tâches liées au logiciel
        killalltasks(control.impacted_process)
        
        # Désinstaller le logiciel
        if os.path.isfile(uninstall_path):
            print(f"Désinstallation de Netron : {uninstall_path}")
            run(f'"{uninstall_path}" /S')
        else:
            print("Programme de désinstallation introuvable.")
        
        # Supprimer le répertoire d'installation s'il existe    
        if os.path.isdir(app_dir):
            print(f"Suppression du répertoire : {app_dir}")
            remove_tree(app_dir)
            if not os.path.isdir(app_dir):
                print(f"Répertoire {app_dir} supprimé avec succès.")
            else:
                print(f"Échec de la suppression du répertoire {app_dir}.")
        else:
            print(f"Le répertoire {app_dir} n'existe pas.")
    except Exception as e:
        print(f"Une erreur s'est produite lors de la désinstallation : {e}")

# -*- 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()

    git_repo = "lutzroeder/netron"
    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'):
            url_dl = download["browser_download_url"]
            version = json_load["name"].replace("v" ,"").split("-")[0]
            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()

65cd688cd4ea9fbb4dd49185cfc80e5dca540fe73728d781fb1cfb3c0a77e267 : Netron-Setup-8.8.7.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
08b5068386fdabb0c37ae32d2fc6af5ce3f77361376a8a6f2d2b3bf8674c8c19 : WAPT/control
00b5953456fdfece64972e9492a2eaecbddd0b207d38cf028661934d2ea94081 : WAPT/icon.png
67c56b9f402233d6a07e3c36fe72ab7e1274f0d331bada8221883157c43b02f0 : luti.json
a1f8a8cc1e6e83a34e49a128b246a5d67d2cc77bee232839714917289dce883c : setup.py
cd9e60671bbae3c70f2775be848f601b689e59fe03d9c2b7288829e1327a3694 : update_package.py