tis-is-designer-portable

5.1.0-1
Un outil open-source complet pour décrire visuellement les applications de votre système d'information
274 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-is-designer-portable icon
  • package : tis-is-designer-portable
  • name : is-designer
  • version : 5.1.0-1
  • categories :
  • maintainer : Amel FRADJ
  • editor :
  • licence : Eclipse Public License - v 2.0
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x64
  • signature_date : 2025-08-05 07:06
  • size : 669.06 Mo
  • homepage : https://www.isdesigner.org/
  • depends :
package           : tis-is-designer-portable
version           : 5.1.0-1
architecture      : x64
section           : base
priority          : optional
name              : is-designer
categories        : 
maintainer        : Amel FRADJ
description       : A complete open-source tool for visually describing the applications in your information system
depends           : tis-adoptium-openjdk20-jre
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://github.com/ObeoNetwork/InformationSystem
installed_size    : 
impacted_process  : 
description_fr    : Un outil open-source complet pour décrire visuellement les applications de votre système d'information
description_pl    : Kompletne narzędzie open-source do wizualnego opisywania aplikacji w systemie informatycznym
description_de    : Ein umfassendes Open-Source-Tool zur visuellen Beschreibung der Anwendungen in Ihrem Informationssystem
description_es    : Una completa herramienta de código abierto para describir visualmente las aplicaciones de su sistema de información
description_pt    : Uma ferramenta completa de código aberto para descrever visualmente as aplicações do seu sistema de informação
description_it    : Uno strumento open-source completo per descrivere visivamente le applicazioni del sistema informativo
description_nl    : Een compleet open-source hulpmiddel voor het visueel beschrijven van de toepassingen in je informatiesysteem
description_ru    : Полноценный инструмент с открытым исходным кодом для визуального описания приложений в вашей информационной системе
audit_schedule    : 
editor            : 
keywords          : 
licence           : Eclipse Public License - v 2.0
homepage          : https://www.isdesigner.org/
package_uuid      : 5f45af60-2c97-4409-8cb9-46a670c2bed8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : b7178dfcf5677397df26776488e5361170407f5509da488bf6ebbea698aa7c9e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-05T07:06:48.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         : cUi8tzztk3qxntcwvEQbJw+lf0jFk8yldXIJlcQSj0abAPpJyrV15Xpc9FAYhlGEKMyTHLXE8MXL6Bdxi0ehrez0nwDjLrShMc/UlGrt85ISFwFS4mcg6ClaGy83MyGoQiZsoeBh3RPiFzCLlfGY6n6pmcRN7tTdDWNlzPdh/sQelA6fXU89K002MH8d7+AJn+xjlBXM7nsZECG53OnkqIOvFxarspYJSm/iFI2jBR0BvaL2uqBsnOyGXZJKVuIJqxVPz71+N+ZUc0wqKCSxkL7SoNy91qhRZvNB7nh88QLxWcdkpmW7mw/ix6BU64xn1D54q71AZeHFQiI+LPdK+w==
# -*- coding: utf-8 -*-
from setuphelpers import *


app_name = "ISDesigner"
app_dir = makepath(programfiles32, app_name)
app_path = makepath(app_dir,"ISDesigner" ,"is-designer.exe")
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"{app_name}*.zip")[0]
    unzip_dest = "."
    unzip_dest = app_name
    unzipped_dir = zip_name.rsplit(".", 1)[0]
    unzipped_dir = app_name

    

    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, app_dir))
    unzip(zip_name, unzip_dest)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)

    # Creating custom shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
# -*- 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":"win32.win32.x86_64",}    
        
    git_repo = "ObeoNetwork/InformationSystem"
    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('.zip') and dict_arch[control.architecture] in download["browser_download_url"]:
            url_dl = download["browser_download_url"]
            version = json_load["name"][28:]
            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)
   
    control.set_software_version(version)
    control.save_control_to_wapt()
6fb86bd4993df38dc5903e173fa879cd7e60bc890ae1fb633f1472090ead82e6 : ISDesigner-5.1.0-WithAcceleo3-20250730-0740-win32.win32.x86_64.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b90fc61d7312e3ea12f2b86b2c2bdd552f5b2a5f8619fc9f3436cf1917c67192 : WAPT/control
b7178dfcf5677397df26776488e5361170407f5509da488bf6ebbea698aa7c9e : WAPT/icon.png
ed4cd4a80f9953c9fea5b444c554a4ab7774df4a4078ce36f8c71b7f3c31aa26 : luti.json
77a4f33f15acfb4a7a7ccc06636ee0826ab9be5e90b49b7017abdc317e965490 : setup.py
32d49d8617eb7a7b2a8a826ea26b7fa757458f485a1edec22f7cdac0a828a3c9 : update_package.py