tis-bitvise-ssh-client icon

Bitvise SSH Client

Paquet d’installation silencieuse pour Bitvise SSH Client

9.39-1

  • package: tis-bitvise-ssh-client
  • name: Bitvise SSH Client
  • version: 9.39-1
  • categories: Network,
  • maintainer: Gaëtan SEGAT,Jordan ARNAUD
  • editor: Bitvise
  • licence: Proprietary
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 25.88 Mo
  • homepage : https://www.bitvise.com/ssh-client

package           : tis-bitvise-ssh-client
version           : 9.39-1
architecture      : all
section           : base
priority          : optional
name              : Bitvise SSH Client
categories        : Network,
maintainer        : Gaëtan SEGAT,Jordan ARNAUD
description       : friendly and flexible SSH Client for Windows includes state of the art terminal emulation, graphical and command-line SFTP support, SFTP drive mapping, an FTP-to-SFTP bridge, powerful tunneling features including dynamic port forwarding through integrated proxy, and remote administration for our SSH Server.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://www.bitvise.com/ssh-client-download
installed_size    : 
impacted_process  : 
description_fr    : Client SSH convivial et flexible pour Windows comprend une émulation de terminal de pointe, une prise en charge SFTP graphique et en ligne de commande, un mappage de lecteur SFTP, un pont FTP vers SFTP, de puissantes fonctionnalités de tunneling, notamment la redirection de port dynamique via un proxy intégré et une administration à distance. pour notre serveur SSH.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Bitvise
keywords          : 
licence           : Proprietary
homepage          : https://www.bitvise.com/ssh-client
package_uuid      : b46139f3-07e4-43c0-84ba-4879ce6e892f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : faae1201fb64267c630168059a61e84315a0c24b3e11c478a5f5cb528ee746bb
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-12T10:02:51.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         : nOTj/e51YIs2O0OM+c7Xhcorke7C6f4RcFmqnvI0oeKs1dxMLkkwLk8xqwG+uxe18pOE5LlK5rsoLu+QjkSpmINoHC2Cz5PDWmCncm+6iLfeIoGuSZlrPv53s6hA4gmYO8MlcdyT+URjhDq1rap8GOvteZroVYAPYBQGNPKKo87lyIcLjGQnyJZB2qLutEeYh84CBcH7Gt5ItYGdghPnNVo56Rt3r2JyPoIg6LwJ/fbWmmdhrIBjdDbB84J08wS+4gNTHYkmJ63t8YiyePWTqYbU7JRimDGEZv6ePEeFFloj4v7viXTW4yqbk38+dZKY8egvn8ChaUTf9vQDYxqC/A==

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


def install():
    # Declaring local variables
    app_uninstallstring = makepath(programfiles32, "Bitvise SSH Client", "uninst.exe")
    app_uninstallkey = "BvSshClient"

    # Installing the software
    print("Installing: BvSshClient-Inst.exe")
    install_exe_if_needed('BvSshClient-Inst.exe',
        silentflags='/acceptEULA',
        key='BvSshClient',
        min_version=control.get_software_version(),
    )
    #Adding QuietUninstallString
    quiet_uninstall_string = rf'"{app_uninstallstring}" -unat BvSshClient'
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)

    uninstallkey.clear()


def uninstall():
    # Force uninstalling the software
    for to_uninstall in installed_softwares(name="Bitvise SSH Client"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(ensure_list(control.impacted_process))

        try:
            # Adding silent flags to the uninstall command
            uninstall_command = uninstall_cmd(to_uninstall["key"])
            print(uninstall_command)
            run(uninstall_command)
            wait_uninstallkey_absent(to_uninstall["key"], max_loop=60)
        except Exception as e:
            print(f"Error during uninstallation: {e}")
            # Handling the case where Bitvise SSH Clien Director might already be partially uninstalled
            print("Bitvise SSH Clien Director might have already been uninstalled.")
            print("Removing Bitvise SSH Clien Director from the list of installed programs.")

        if uninstall_key_exists(to_uninstall["key"]):
            unregister_uninstall(to_uninstall["key"], win64app=to_uninstall["win64"])

        # Clean up any remaining files
        if isdir(to_uninstall["install_location"]):
            print(f"Removing remaining files in {to_uninstall['install_location']}")
            remove_tree(to_uninstall["install_location"])

# -*- 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 = control.sources
    app_name = control.name
    download_url = "https://dl.bitvise.com/BvSshClient-Inst.exe"
    latest_bin = download_url.split("/")[-1]

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(
        url,
        "p",
        user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0",
        proxies=proxies,
    ):
        if "Current version:" in bs_search.text:
            version = bs_search.text.split(": ")[1].split(",")[0]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if Version(version) > Version(get_version_from_binary(latest_bin)):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # 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()

    # Validating or not update-package-sources
    return package_updated

3fbcef464f9dd42b29d0ba546f98a59b593b0c3858bac88184c3d75a1c2ecd73 : BvSshClient-Inst.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
5a893910d0cfc8b2b29760bf76e3e7484b7bb9d1818a76f6854f3490cb25f7c4 : WAPT/control
faae1201fb64267c630168059a61e84315a0c24b3e11c478a5f5cb528ee746bb : WAPT/icon.png
7aaaa61431fc21041c2b6ec82a0deb284c34c876d9512fbcd9ba8dc3fabae1c8 : luti.json
362493f9a9087eb1914adb681784fcbab786362fec88f3eeec9f757abe693c62 : setup.py
431bf49fae7093088c50780c734e0b149095c6baa7c4e8100ef576539709dbae : update_package.py