
SPAD.neXt
Silent install package for SPAD.neXt
0.9.23.29-1
- package: tis-spad
- name: SPAD.neXt
- version: 0.9.23.29-1
- maintainer: Amel FRADJ
- licence: https://www.spadnext.com/discover/discover/complete-edition.html
- target_os: windows
- architecture: x64
- signature_date:
- size: 102.61 Mo
- homepage : https://www.spadnext.com/home.html
package : tis-spad
version : 0.9.23.29-1
architecture : x64
section : base
priority : optional
name : SPAD.neXt
categories :
maintainer : Amel FRADJ
description : Simulation panel Advanced drivers: new generation
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Panneau de simulation Pilotes avancés : nouvelle génération
description_pl : Panel symulacyjny Zaawansowane sterowniki: nowa generacja
description_de : Simulationspanel Fortgeschrittene Treiber: Neue Generation
description_es : Panel de simulación Conductores avanzados: nueva generación
description_pt : Painel de simulação Condutores avançados: nova geração
description_it : Pannello di simulazione Driver avanzati: nuova generazione
description_nl : Simulatiepaneel Geavanceerde bestuurders: nieuwe generatie
description_ru : Панель моделирования Передовые водители: новое поколение
audit_schedule :
editor :
keywords :
licence : https://www.spadnext.com/discover/discover/complete-edition.html
homepage : https://www.spadnext.com/home.html
package_uuid : d2bd3eae-fb59-48ae-b07e-d1f5a5cebe2a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 8c5aec6b7f166297c41632f68d0f0dddfe232f6072f4769f1923504b7b66e1d7
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-09-19T19:00:19.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 : a+cr6UAIDlgbZhDgx1e7XtRqAlsc6YPqxwhuiQkicGBcPSj91kPd0FTUCoHBwl2dFGpsz9rGjU/Md5+nbZbtfTBOAUSLkXKu1vf3VpYOLCpJvTW7GuRMhrN3GYUJKpqR5wZRCsviuI79CWVhsLX8adhGuxBEh7ae9o+q4AHzBMHB3jczus17XLrbf90h6H+znXPLo60CLAU+6R0mZfxM5pCAaLuekl1LqUhwiubs/nf6Upl7Pey06MBsbUzWw0GTszZp9l2nOBbp5unBPUgjdF57KixdEC5+npectjiUjR0Vlf98ptnbGOKzn+aXwiZZNiJtHDmilhB6hWItLjKK5g==
from setuphelpers import *
def install():
bin_name = glob.glob("SPAD.neXt.*.Setup.exe")[0]
install_exe_if_needed(
bin_name,
silentflags="/allusers /S /VERYSILENT",
key="{CE21AD13-50E6-474A-89B9-81E262E620A0}_is1",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
from zipfile import ZipFile
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://www.spadnext.com/download/download-spad-next.html"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "div","class","ce_hyperlink block", proxies=proxies)
zip_file = None
for div in divs:
if zip_file:
break
links = div.find_all('a', href=True)
for link in links:
href = link['href']
zip_file = href
latest_bin = zip_file.split('/')[-1]
download_url = f"https://www.spadnext.com/files/download/{latest_bin}"
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.zip'):
if f != latest_bin:
remove_file(f)
# Dézipper le fichier téléchargé
if latest_bin.endswith('.zip'):
with ZipFile(latest_bin, 'r') as zip_ref:
zip_ref.extractall('.')
# Trouver le fichier .exe extrait
extracted_exe = None
for file in glob.glob('*.exe'):
if file != latest_bin:
extracted_exe = file
break
# Supprimer le fichier .zip
if os.path.isfile(latest_bin):
os.remove(latest_bin)
# Obtenir la version à partir du binaire
version = get_version_from_binary(extracted_exe)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
f982c3750a23c36ba6e1b0cdc8900ab4f41fbda28dbe2ff38828ff3ca9b79d56 : SPAD.neXt.0.9.23.29.Setup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d1990d36f067c6efad4c1766a4ecee018896f0545773c2ac1e99b492b6e71713 : WAPT/control
8c5aec6b7f166297c41632f68d0f0dddfe232f6072f4769f1923504b7b66e1d7 : WAPT/icon.png
168c7f29408c4233b72bf0a29fb508c02f4c8a055f35cd520267cbb55933d71e : luti.json
f79a724397108064d37b1d8707629b59981123fd3a0785d7318c308ce3eba8c8 : setup.py
5541b58d8cfa16a8f03d1040a2645de5c555815ea50974ce4befecfc019e34dd : update_package.py