tis-spinfire icon

SpinFire

Paquet d’installation silencieuse pour SpinFire

2025.1.0.29084-0

  • package: tis-spinfire
  • name: SpinFire
  • version: 2025.1.0.29084-0
  • maintainer: administrator
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 493.16 Mo
  • depends:

package           : tis-spinfire
version           : 2025.1.0.29084-0
architecture      : x64
section           : base
priority          : optional
name              : SpinFire
categories        : 
maintainer        : administrator
description       : Visualisation et impression 3D de fichiers CAO natifs
depends           : tis-vcredist
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
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          : CAO,3D
licence           : 
homepage          : 
package_uuid      : 495e2496-398d-40e1-9553-e13054d9cf1b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0491e8e5196ee4860ee77fc52a910d9d30df79ce9fe2f2f920c019b2f828237b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-19T10:41:17.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         : TrYuk4dvWX+1Ge1uxg3IowfcQHvb2zj9RGG/XanDfm2BD2dE0NCxq+4SntAXTlQaR1QiJ5xP/fIutGKKs13l5CmVzEY6aSzmLYHTlm64HVdEBqpLC+G0KrWpLlQTg9q6FbVgKQQ5tAofq7a999rgLul5F7aFxCINCrOiLprTk5mDzxyGfBx/vOaUrBuvs09pb723WJbkg+FroyCmDT/7s9POjYREnMvx8kaS02gS+6ZoeP7atbIuQmvjad+fkD/CC/v3cVuDkEYuDZgtrLWN4nrTvrnLsuHTgmmOsIAGgmAw6edBS/Kx69nsS1cxLfiVnKLpSltcReiQVD3zEevHYA==

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

    #Previous versions must be uninstalled before upgrading with a new .msi file
    for s in installed_softwares('SpinFire'):
        if s['version'] < control.get_software_version():
            run(uninstall_cmd(s['key']))

    # Installing the software
    print("Installing: SpinFire.x64.msi")
    install_msi_if_needed('SpinFire.x64.msi')








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

def update_package():

    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    source_html = wgets('https://spinfire.com/category/spinfire-product-update',proxies=proxies).splitlines()
    for line in source_html:
        if 'SpinFire Version' in line:
            version = line.split(' ')[-2]
            break
    latest_bin = 'SpinFire.x64.msi'
    download_url = 'https://downloads.spinfire.com/SpinFireUltimate/x64/SpinFire.x64.msi'

    # Deleting binaries
    for f in glob.glob("*.exe") + glob.glob("*.msi"):
        print("Removing: %s" % f)
        remove_file(f)

    # 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)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    version = get_version_from_binary(latest_bin, "ProductVersion")
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

55dce1eb0c05e997e5c33aec50c23bca1a566e46eb020ef7b24378f63f5aaaf8 : .gitignore
f937d8e2f4185e1876f9b6970177107be7ca09e962b9e3d135b96df7f08158b5 : SpinFire.x64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
24c2b26a7462d6a034f7903191e2a710d2bbe7fc9dc63a0ca5395e34df0af714 : WAPT/control
0491e8e5196ee4860ee77fc52a910d9d30df79ce9fe2f2f920c019b2f828237b : WAPT/icon.png
2ae3e3a0d416670bfa54690265097cc89f55e5a7caed668cb7f1af38fe1a36bf : luti.json
f268ec9c34733f9b08e8ea56425f24e336ff571ff905e0c6694390e895112c64 : setup.py
37dc67e7a245dfa328aab9324f1c18db734af1dadc06399cb873a70c07d4a676 : update_package.py