tis-openwebstart icon

openwebstart

Silent install package for openwebstart

1.12.0-2

  • package: tis-openwebstart
  • name: openwebstart
  • version: 1.12.0-2
  • maintainer: WAPT Team,Tranquil IT,Flavien Schelfaut,Amel FRADJ
  • licence: GNU General Public License, version 2, with the Classpath Exception
  • target_os: windows
  • impacted_process: itw-settings,javaws
  • architecture: x86
  • signature_date:
  • size: 59.15 Mo
  • homepage : https://openwebstart.com/

package           : tis-openwebstart
version           : 1.12.0-2
architecture      : x86
section           : base
priority          : optional
name              : openwebstart
categories        : 
maintainer        : WAPT Team,Tranquil IT,Flavien Schelfaut,Amel FRADJ
description       : OpenWebStart is an open source reimplementation of the Java Web Start technology that provides the most commonly used features of Java Web Start and the JNLP standard, so that you can continue using applications based on Java Web Start and JNLP without any change.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : itw-settings,javaws
description_fr    : OpenWebStart est une réimplémentation open source de la technologie Java Web Start qui fournit les fonctionnalités les plus couramment utilisées de Java Web Start et du standard JNLP, afin que vous puissiez continuer à utiliser des applications basées sur Java Web Start et JNLP sans aucun changement.
description_pl    : OpenWebStart to otwarta implementacja technologii Java Web Start, która zapewnia najczęściej używane funkcje Java Web Start i standard JNLP, dzięki czemu można nadal korzystać z aplikacji opartych na Java Web Start i JNLP bez zmian.
description_de    : OpenWebStart ist eine Open-Source-Neuimplementierung der Java Web Start-Technologie, die die am häufigsten verwendeten Funktionen von Java Web Start und dem JNLP-Standard bereitstellt, sodass Sie Anwendungen, die auf Java Web Start und JNLP basieren, weiterhin ohne Änderungen verwenden können.
description_es    : OpenWebStart es una reimplementación de código abierto de la tecnología Java Web Start que proporciona las funciones más utilizadas de Java Web Start y el estándar JNLP, para que pueda seguir utilizando aplicaciones basadas en Java Web Start y JNLP sin ningún cambio.
description_pt    : OpenWebStart é uma reimplementação de código aberto da tecnologia Java Web Start que fornece os recursos mais comumente usados ​​do Java Web Start e do padrão JNLP, para que você possa continuar a usar aplicativos baseados em Java Web Start e JNLP sem quaisquer alterações.
description_it    : OpenWebStart è una reimplementazione open source della tecnologia Java Web Start che fornisce le funzionalità più comunemente utilizzate di Java Web Start e dello standard JNLP, in modo da poter continuare a utilizzare le applicazioni basate su Java Web Start e JNLP senza modifiche.
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU General Public License, version 2, with the Classpath Exception
homepage          : https://openwebstart.com/
package_uuid      : 70515c8b-8ea8-4018-abfd-a68ea1f9901a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e75ac6dcd8a99a4a984d2b1ecc4045d0297a5367fb5fa2fce3480d02ddd8f1c3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-02T09:01:25.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         : JM3O7YLnw9JWscS9rS1pcOOvW9VWC8bNtL1p8BhZc0G18Eo1tuUKgVTs8AdcQWILoqsTQhr2giet/Q15zQxbc0fPR/kmNFU9PELDz/F73X8Es93IwpFf+ut6Vv/L8w2KbEaLv8DOFKOxGneBAR6ix7bfycFBQGyRcfBwT2SKOb+//MIHhhY9pj1Tmou5rvSU+g1YzR8R6rQlcAF4pHyYVXR4bqBIJ87mpO3GKbeE3hkM6x9iJMqa5KjYZXvEj1sFHxutT+8NV1XJZSDIlst/3DBD8rH4xfvOcaQL5YJUU0liC6UoYLUPoB908Y6I25ne8LePplze2tW8msOnvq1CYw==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"9615-4721-3936-4657",
   "name":"OpenWebStart 1.9.1",
   "version":"1.9.1",
   "install_date":"",
   "install_location":"C:\\Program Files\\OpenWebStart",
   "uninstall_string":"\"C:\\Program Files\\OpenWebStart\\uninstall.exe\"",
   "publisher":"Karakun AG",
   "system_component":0,
   "win64":true
  }
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('OpenWebStart_windows-x32_*.exe')[0]
    app_uninstallkey = '9615-4721-3936-4657'

    # Installing the software
    install_exe_if_needed(bin_name,
        silentflags='-q',
        key=app_uninstallkey,
        min_version = control.get_software_version(),
    )

    quiet_uninstall_string = installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"] + " -q"
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)



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


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

    dict_arch = {"x64":"OpenWebStart_windows-x64","x86":"OpenWebStart_windows-x32"}
    api_url = "https://api.github.com/repos/karakun/OpenWebStart/releases/latest"

    releases_dict = wgets(api_url, proxies=proxies, as_json=True)

    for asset in releases_dict["assets"]:
        if asset["name"].startswith(dict_arch[control.architecture]):
            download_url = asset["browser_download_url"]
            latest_bin = asset["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = releases_dict["tag_name"].replace('v', '')
            break

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    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}")

    expected_issuer = "Karakun AG"
    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

467d7707e41869cd68f87d5e83d2357f3bd8242c4f78f47409f40378ff90cf58 : OpenWebStart_windows-x32_1_12_0.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
db98faffc000966b44a647d39c2b682393b93480618d4114928df4219cb92fef : WAPT/control
e75ac6dcd8a99a4a984d2b1ecc4045d0297a5367fb5fa2fce3480d02ddd8f1c3 : WAPT/icon.png
e81209db11c8c6cab0653c66992a0a496477147a71c1c7591b62baf46a49a2d1 : luti.json
e57fa5e7d285a248b110974778d7e2552cf5a5d02f345d02706d64318f5f8bcc : setup.py
6cdeda211ff134d554e3bd2d39d845a374a1e21f6f003248854b3b311caab58d : update_package.py