tis-siw-portable icon

SIW Trial

Silent install package for SIW Trial

2025.6.24-2

  • package: tis-siw-portable
  • name: SIW Trial
  • version: 2025.6.24-2
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 29.70 Mo
  • homepage : https://www.gtopala.com/

package           : tis-siw-portable
version           : 2025.6.24-2
architecture      : x64
section           : base
priority          : optional
name              : SIW Trial
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : ultimate system information tool for Windows
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : outil d'informations système ultime pour Windows
description_pl    : Najlepsze narzędzie informacji o systemie dla Windows
description_de    : ultimatives Systeminformations-Tool für Windows
description_es    : herramienta definitiva de información del sistema para Windows
description_pt    : a melhor ferramenta de informação do sistema para Windows
description_it    : strumento di informazione di sistema definitivo per Windows
description_nl    : Ultieme systeeminformatie voor Windows
description_ru    : Лучший инструмент для получения системной информации для Windows
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_restricted,wapt_private
homepage          : https://www.gtopala.com/
package_uuid      : 49ee4b28-0f13-487b-a5b4-f2ac7da44099
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : a6407aa6332d95f912e3ff3964778339949f6ca41961952bc78ce1e7c756d41d
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-29T12:05:55.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         : mkJFs4yf4SU8jiIK9JS6/tQMa6il0a3+D8XdbLrzR/ApyAheZP3xB9cS8WDpukDO2JDsvH4rBb0UfsbX882kIyGGwHcUv829deqfUXx7m5K9A/6bHYdBpJZxz6Cy/7cRInhnSZBF0AlU37M8MRfR7uxt50uNJBK/wzTmSYNa2sCqqMsS4/uwAOQoOdYcULQKlcWKQuwMD8BMIVvHlRqBxgJWk0CPS+0o2mB9z/r6jFmdzm6rrEitH0NVHLsnZ+6kvRJqWIV5CV7du3k0vhdjoy9n/G6yRtLBirZTxApSnI+lZs43K4j31n+vZ3knM3+IJS/N7RuXaqpVY0gD5KNIjw==

from setuphelpers import *
import glob
import os

app_name = "siwtrial"
app_dir = makepath(programfiles, app_name)  # Defines the path to Program Files

def install():

    bin_name = glob.glob('*.exe')[0]  # Find the installer .exe file
    mkdirs(app_dir)
    install_exe_if_needed(bin_name, silentflags = rf'/SILENT /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="{app_dir}"',key = "")

def uninstall():
    # Kill relevant processes before uninstallation
    killalltasks(ensure_list(control.impacted_process))

    run(r'"C:\Program Files\siwtrial\unins000.exe" /SILENT')

    # If the application directory still exists, remove it
    if isdir(app_dir):
        remove_tree(app_dir)

    # Remove shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)


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

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

    download_url = "https://siw64.com/download/siwtrial-setup.exe"
    latest_bin = download_url.rsplit("/", 1)[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]

    # Downloading latest binaries
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    version = get_version_from_binary(latest_bin)
    version = re.sub(r'[a-zA-Z]', '', version) # Remove AlphaChar ...

    expected_issuer = "Topala Software Solutions"
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated


38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
08c56d2417b8d44b4dc2be52b6562be74c7e0496e4185419ce3382c46a8d1de8 : WAPT/control
a6407aa6332d95f912e3ff3964778339949f6ca41961952bc78ce1e7c756d41d : WAPT/icon.png
95bd2b9263d7d620206dcda71cc3a2dd3986f06217b282e89e9c8e3e84a6c3dc : luti.json
23c22eecbf567858e2e7c43a50167f3e32ad6a77af047ad728d757cb1df753c4 : setup.py
9858996452b4d2813648a1a915fa2239239956d0650dd4e12a5952008a285600 : siwtrial-setup.exe
51f669247cc24453ceaccb7625026a6587f12929bd5f4f03b7ad8df43973c8cb : update_package.py