tis-installshield-extractor icon

ISx

Paquet d’installation silencieuse pour ISx

0.3.10-15

  • package: tis-installshield-extractor
  • name: ISx
  • version: 0.3.10-15
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet
  • licence: MIT License,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: ISx
  • architecture: all
  • signature_date:
  • size: 24.22 Ko
  • homepage : https://github.com/lifenjoiner/ISx
  • depends:

package           : tis-installshield-extractor
version           : 0.3.10-15
architecture      : all
section           : base
priority          : optional
name              : ISx
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Joffrey Le Piquet
description       : ISx is an InstallShield installer extractor.
depends           : tis-7zip
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://github.com/lifenjoiner/ISx
installed_size    : 
impacted_process  : ISx
description_fr    : ISx est un extracteur d'installateur InstallShield.
description_pl    : ISx to ekstraktor instalatora InstallShield.
description_de    : ISx ist ein InstallShield-Installer-Extraktor.
description_es    : ISx es un extractor del instalador InstallShield.
description_pt    : ISx é um extrator de instaladores InstallShield.
description_it    : ISx è un estrattore del programma di installazione di InstallShield.
description_nl    : ISx is een InstallShield-installer-extractor.
description_ru    : ISx - это экстрактор установщика InstallShield.
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT License,wapt_public
homepage          : https://github.com/lifenjoiner/ISx
package_uuid      : cf7c619e-bc9f-4518-a445-4169ec3fd095
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/lifenjoiner/ISx/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c4f55a6e503cc47001e82ff434e36df368800a908cc94e45671a1eb17c913b7d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-27T09:00:40.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         : SZCuCNkQR4FwvULlasLorSXtw/Y7Tvp178tpyod9jtt3dMfA9I2mnt8lOQCkM7Mz62sXPbOR59lVaCCtLmQ+/XIZ9YforKKXrsuVNlLWjgzZ2tuFt6/lgZa3rgmclWB7t/Jb/S0gFJX0G7RzRpRQrgn123ipU+Os3pchFy9SrLneH8WnSteMdpJqX2Sh4QJcfPD8N9GdE+A37zHlBeVqBM65WXMBEabenx32BtZTmu7iCTwAx6p0ufRSuCom/t7E08LilO3A0Y3WXEsxDdNaaAo/pO3KtNfYQ4qNuQjl3uRXzFYinKZeT/wyjClUi7brLJ3TKuegd0KBwPd9k9ri0g==

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

install_folder = makepath(programfiles,"InstallShield Extractor")

def install():
    # Initializing variables
    bin_name = glob.glob("ISx*.7z")[0]
    unzip_with_7zip(bin_name,install_folder)

def audit():
    if isfile(makepath(install_folder,"ISx.exe")):
        return "OK"
    else:
        return "ERROR"

def uninstall():
    if isdir(install_folder):
        remove_tree(install_folder)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/lifenjoiner/ISx/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if download["name"].endswith(".7z"):
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_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).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        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) > 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()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

4ad0a19b986799c7454efaf7edd12b777800acf066b6ca49c73f961f11faf797 : ISx-v0.3.10.7z
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f8d8e36a7d112ba6bb623b520e442402e429c377e92f76a0797b63ff70b2f1a8 : WAPT/control
c4f55a6e503cc47001e82ff434e36df368800a908cc94e45671a1eb17c913b7d : WAPT/icon.png
e17f3b311159863d51aae0e7da6e2ba0d314f69f857e87d3ece7477cfa1b5d73 : luti.json
4f64651cc97122944f190fc18dc05109d6e3f9b0a88c0d4c85614dd6846a9947 : setup.py
670b477066a090e2b44db7e35bde8cb6df5ef62d994e78481dba49575c6dba43 : update_package.py