tis-blender icon

Blender

Silent install package for Blender

4.4.1-5

  • package: tis-blender
  • name: Blender
  • version: 4.4.1-5
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Blender Foundation
  • licence: opensource_free,cpe:/a:gnu:gpl_v3
  • locale: all
  • target_os: windows
  • impacted_process: blender-launcher,blender
  • architecture: x64
  • signature_date:
  • size: 348.64 Mo
  • installed_size: 1.03 Go
  • homepage : https://www.blender.org/

package           : tis-blender
version           : 4.4.1-5
architecture      : x64
section           : base
priority          : optional
name              : Blender
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Blender is a free and open-source 3D computer graphics software toolset used for creating animated films, visual effects, art, 3D printed models, motion graphics, interactive 3D applications, and computer games
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.blender.org/download/
installed_size    : 1025700346
impacted_process  : blender-launcher,blender
description_fr    : Blender est un logiciel libre et gratuit de modélisation, d’animation par ordinateur et de rendu en 3D
description_pl    : Blender to darmowy i open-source'owy zestaw narzędzi do tworzenia grafiki komputerowej 3D, używany do tworzenia filmów animowanych, efektów wizualnych, sztuki, modeli drukowanych w 3D, motion graphics, interaktywnych aplikacji 3D i gier komputerowych
description_de    : Blender ist eine freie und quelloffene 3D-Computergrafik-Software, die für die Erstellung von Animationsfilmen, visuellen Effekten, Kunst, 3D-Druckmodellen, Grafikanimationen, interaktiven 3D-Anwendungen und Computerspielen verwendet wird
description_es    : Blender es un conjunto de herramientas de software de gráficos 3D gratuito y de código abierto que se utiliza para crear películas de animación, efectos visuales, arte, modelos impresos en 3D, gráficos en movimiento, aplicaciones 3D interactivas y juegos de ordenador
description_pt    : Blender é um conjunto de ferramentas de software de computação gráfica 3D gratuito e de código aberto utilizado para a criação de filmes animados, efeitos visuais, arte, modelos impressos 3D, gráficos em movimento, aplicações interactivas 3D, e jogos de computador
description_it    : Blender è un software di grafica computerizzata 3D gratuito e open-source utilizzato per creare film d'animazione, effetti visivi, arte, modelli stampati in 3D, motion graphics, applicazioni 3D interattive e giochi per computer
description_nl    : Blender is een gratis en open-source 3D computer graphics software toolset die gebruikt wordt voor het maken van animatiefilms, visuele effecten, kunst, 3D geprinte modellen, motion graphics, interactieve 3D toepassingen, en computerspelletjes
description_ru    : Blender - это бесплатный и открытый набор инструментов для создания компьютерной 3D-графики, используемый для создания анимационных фильмов, визуальных эффектов, искусства, 3D-печатных моделей, графики движения, интерактивных 3D-приложений и компьютерных игр
audit_schedule    : 
editor            : Blender Foundation
keywords          : 3d,graphic,graphics,toolset,animated,films,visual,effects,print,printed,models,motion,graphics
licence           : opensource_free,cpe:/a:gnu:gpl_v3
homepage          : https://www.blender.org/
package_uuid      : 67ce6c8f-042e-4987-a359-c35e35217198
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.blender.org/download/releases
min_os_version    : 6.3
max_os_version    : 
icon_sha256sum    : 983b4cd087555a52f0023b90ba5c90c7d3acadc78f2e1a2ab5342a2b55ec250b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-20T15:05:05.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         : KBCsGCJbl8AkP00ar6cQLWaBr7mxtFWqOOPT5eet9dPb2Xgd+046Uhk5gBBoLSLxYm7FgAcLyYfklfz0hSiD2KPc2UqzHgcE9zhz+axtjv5BB/gT3HeZNRclunN4KWw5jzC5Uq3B38lRcEUvIk87E06PaPow8HeSH/Lm1SlaiKgf5LeSlvhX6CROdchM0/9jgqD+1hTY57Lc4VPuiqGaSXAsR0HgLA2pFvWWCSD6wiZCKLC8f0KEmTWwJEsSL+1ZuTHra9ScASQ8aEv0XB2/0qEAwNP6Kpy/0NyHAl4hAir+zl8Dio1635iiewVWiaofr/rgCZmJ+fuoyHJ7yNWr4Q==

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


"""
    Les installations de blender sont conflictuelles entre compte system et compte administrateurs locaux
        Ex: installation par admin local avant wapt, wapt voit le logiciel dans le registre mais
        ne pourra pas le désinstaller car ce n'est pas le compte system qui l'a installé.
        Code d'erreur 1605

"""


def install():
    bin_name = glob.glob("blender-*.msi")[0]

    # Uninstalling older versions of the software
    for to_uninstall in installed_softwares(name="Blender"):
        if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(control.get_impacted_process_list())
            try:
                uninstall_string = to_uninstall["uninstall_string"].replace("/I","/X")
                run(uninstall_string + " /quiet",timeout=900)
                wait_uninstallkey_absent(to_uninstall["key"])
            except Exception as e:
                if (e.returncode) == 1605:
                    error("ERROR: Remove all non-wapt blender installations before using the blender package")
                error(e)


    install_msi_if_needed(bin_name, properties={"ALLUSERS": "1"}, timeout=900)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url = "https://www.blender.org/download/"
    os_dict = {
        "windows": "Windows Installer",
        "linux": "Linux",
        "darwin": "macOS Intel"
    }

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "title", f"Download Blender for {os_dict[control.target_os]}", proxies=proxies):
        download_url = bs_search["href"].strip("/")
        latest_bin = download_url.split("/")[-1]
        version = latest_bin.split("-")[1]

    # https://ftp.halifax.rwth-aachen.de/blender/release/Blender3.5/blender-3.5.0-windows-x64.msi
    download_url = download_url.replace("https://www.blender.org/download/release", "https://ftp.halifax.rwth-aachen.de/blender/release")

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        # os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        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()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
41014435585a86faffeabbbd72576040f5af16f1f80aed04fd3d43bb39416b35 : WAPT/changelog.txt
7a4a6b89cf7dcd0402df8f9e288fff3df3deea26ca85a14e076eca2b58492e53 : WAPT/control
983b4cd087555a52f0023b90ba5c90c7d3acadc78f2e1a2ab5342a2b55ec250b : WAPT/icon.png
37a2cfc8c05a9929be35fe337683736df05a9700d053f25373223c281a77659e : blender-4.4.1-windows-x64.msi
1719e5c82c1a3822a093ebe0014c3e2cc7625a1c96897fc4c63fcdf3c1375327 : luti.json
7f2be1a663d6a69940c454b430c0c15818488f7ee99ae55fc52afbad71e2f473 : setup.py
73f281b88c8ff435d9171cb17774def918ecfed043103be6783cea89c388a64f : update_package.py

https://www.blender.org/download/releases
3.5.0-3
===
fix update_package
fix incorrect min_os_version (Windows 8.1, 10, and 11)
ALLUSERS flag where missing